Skip to content

test(ci): cover inlined workflows - #87

Merged
John-David Dalton (jdalton) merged 1 commit into
mainfrom
test/inlined-workflows
Dec 2, 2026
Merged

John-David Dalton (jdalton) merged 1 commit into
mainfrom
test/inlined-workflows

Conversation

@jdalton

Copy link
Copy Markdown
Collaborator

The extension test suite now exercises the inlined CI checkout and Node setup. The checkout test runs the workflow step against local Git history to verify the event revision, parent history, tags, and credential cleanup.

Follows the Wheelhouse removal.

@cursor

cursor Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

PR Summary

Low Risk
Test-only changes to Vitest configuration and new integration tests for CI scripts; no production or runtime behavior changes.

Overview
Expands the repo Vitest config so CI-adjacent tests run alongside unit tests: test/scripts/**/*.test.mts and test/.github/workflows/ci-gates.test.mts.

Adds an integration test for the inlined checkout step in ci-gates.yml (check job). It builds a local bare-repo fixture, executes the real workflow shell snippet, and asserts checkout lands on GITHUB_SHA with expected history/tags and no token leakage in .git/config.

Adds tests for scripts/ci/setup-node.mjs that verify it wires the current Node binary into GITHUB_PATH when .node-version is an exact X.Y.Z pin, and fails fast on loose pins like v26 before any download.

Reviewed by Cursor Bugbot for commit c06ff76. Configure here.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit c06ff76. Configure here.

@jdalton
John-David Dalton (jdalton) merged commit f16bdee into main Dec 2, 2026
14 checks passed
@jdalton
John-David Dalton (jdalton) deleted the test/inlined-workflows branch December 2, 2026 16:01
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.

2 participants