Skip to content

CI: run the test suite on push and pull request - #1

Merged
Solarthis merged 1 commit into
mainfrom
ci/run-test-suite
Aug 31, 2026
Merged

CI: run the test suite on push and pull request#1
Solarthis merged 1 commit into
mainfrom
ci/run-test-suite

Conversation

@Solarthis

Copy link
Copy Markdown
Owner

Problem

The repo ships a real test suite — 13 tests covering the start_project_loop → get_loop_status → stop_loop lifecycle, the forbidden-prompt guard, and safety limits — but nothing ran it automatically. .github/workflows/ did not exist, so a regression in a safety guard could land on main unnoticed.

This is the same gap just closed in opencode-massa.

Change

Runs npm test (npm run build && node --test dist/test/*.test.js) on push to main and on every pull request. Node 20 matches the declared engines.node: ">=20"; npm ci uses the committed lockfile.

Verification

Suite run locally against this branch:

ℹ tests 13
ℹ pass 13
ℹ fail 0

The repository ships a 13-test suite covering the loop lifecycle, the
forbidden-prompt guard and safety limits, but nothing ran it
automatically. A regression in a guard could reach main unnoticed.

Adds a workflow that runs `npm test` (build + node --test) on Node 20,
matching the `engines.node >=20` constraint in package.json.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@Solarthis
Solarthis merged commit fa7a126 into main Aug 31, 2026
1 check passed
@Solarthis
Solarthis deleted the ci/run-test-suite branch August 31, 2026 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant