Skip to content

ci: allow isolated manual preview publication - #822

Merged
ScriptedAlchemy merged 1 commit into
mainfrom
ci/manual-ephemeral-preview
Sep 17, 2026
Merged

ScriptedAlchemy merged 1 commit into
mainfrom
ci/manual-ephemeral-preview

Conversation

@ScriptedAlchemy

Copy link
Copy Markdown
Owner

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.

@changeset-bot

changeset-bot Bot commented Sep 17, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 7ab944d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@ScriptedAlchemy ScriptedAlchemy added the skip-changeset PR changes a publishable package but ships no observable change; changeset not required label Sep 17, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 17, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-17T02:44:57.168518Z 7ab944d PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@ScriptedAlchemy
ScriptedAlchemy merged commit 57a9196 into main Sep 17, 2026
0 of 6 checks passed

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 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:

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge 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 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changeset PR changes a publishable package but ships no observable change; changeset not required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant