Skip to content

Require passing checks before publishing - #139

Open
rcosta358 wants to merge 3 commits into
codex/issue-125-test-workflowfrom
codex/issue-126-required-checks
Open

rcosta358 wants to merge 3 commits into
codex/issue-125-test-workflowfrom
codex/issue-126-required-checks

Conversation

@rcosta358

Copy link
Copy Markdown
Collaborator

Part of #126. Depends on #138.

Publishing runs the reusable checks workflow first and proceeds only after it passes. A repository administrator still needs to require the Checks status on main.

Validated workflow syntax and dependencies; extension installation passed.

Generated by Codex.

@rcosta358 rcosta358 added the testing Testing related label Oct 2, 2026

@CatarinaGamboa CatarinaGamboa left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Publishing now waits for the checks. One gap between what's checked and what ships:

Reviewed with Claude Code (reviewer + adversarial agents per PR, findings checked against the code before posting).

uses: ./.github/workflows/test.yml

publish:
needs: checks

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The published VSIX is rebuilt differently from the one the checks tested. After needs: checks, the publish job builds again with JDK 20 (checks use 21), npm install instead of npm ci, and vsce package --no-dependencies instead of vsce package. So the shipped artifact isn't the one that passed: a lockfile drift, a JDK difference or a dependency-bundling difference would only show up in the release.

Suggest either aligning the steps (same JDK, npm ci, same vsce flags), or uploading the VSIX from the checks job as an artifact and publishing exactly that file.

(As the PR description says, requiring Checks on main is still a repo-settings step. See also the skipped-job note on #138, which affects that required check.)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Fixed in 00fd1f4: checks upload the validated VSIX, and both marketplaces publish that exact downloaded file without rebuilding. Workflow/artifact checks, packaged runtime checks, and extension installation passed.

rcosta358 and others added 2 commits October 4, 2026 15:32
Co-authored-by: Codex <noreply@openai.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing Testing related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants