ci: allow isolated manual preview publication - #822
Conversation
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7ab944de69
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| on: | ||
| pull_request: | ||
| workflow_call: | ||
| workflow_dispatch: |
There was a problem hiding this comment.
Isolate manual runs from the release preview group
When this recovery dispatch targets main while release.yml's reusable preview job is queued or running, both executions use package-preview-refs/heads/main; with cancel-in-progress: true, the manual run cancels the preview job embedded in the release workflow. Because the release job has needs: preview, the independent dispatch cannot satisfy that dependency, so Version Packages maintenance and qualification are skipped and the release run completes red. Give manual dispatches a distinct concurrency key, or otherwise avoid canceling the workflow_call invocation.
AGENTS.md reference: AGENTS.md:L155-L160
Useful? React with 👍 / 👎.
Add an opt-in manual dispatch to the existing preview publisher so a one-job Linux runner can publish genuine commit-addressed artifacts during the hosted runner queue stall. Pull requests, main releases and normal reusable calls retain the Windows runner; only an explicit manual boolean selects the isolated runner labels. Checkout, build, publication and four-package verification are unchanged.
Validation: actionlint, diff checks, and independent different-model review PASS+NOTES. Current main package source was already qualified with build, typecheck, lint, 4,465 unit tests and affected packed installer tests before #821; this diff changes only workflow selection. The recovery runner uses an official digest-pinned nonroot disposable container with no host mounts, inherited credentials or daemon sockets, dropped capabilities, and one-job registration. Dispatch will target main and its exact SHA will be checked before accepting the job. Gbot's npm trusted publisher remains GitHub hosted.