Skip to content

CI: run the 64-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 64-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 — 64 tests covering role permissions, the destructive-operation guard, secret redaction, and parallel-write scope serialization — but nothing ran it automatically. A regression in any of those safety guards could land on main unnoticed.

No workflow existed in .github/workflows/ (the directory was absent entirely).

Change

Adds a single CI workflow that runs npm test (which is npm run build && node --test dist/test/*.test.js) on push to main and on every pull request.

Node 20 is pinned to match the engines.node: ">=20" constraint already declared in package.json, and npm ci is used against the committed package-lock.json.

Verification

Suite run locally against this branch:

ℹ tests 64
ℹ pass 64
ℹ fail 0

The repository ships a 64-test suite covering role permissions, the
destructive-operation guard, secret redaction and parallel-write scope
serialization, but nothing ran it automatically. A regression in any of
those safety guards 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 59ceacb into main Aug 31, 2026
1 check passed
@Solarthis
Solarthis deleted the ci/run-test-suite branch August 31, 2026 21:35
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