Repository navigation
🤖 ci: create nightly tags without the v prefix - #8181
Conversation
Codex Review Summary: ✅ CompletedThis 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. |
🟢 e2e stories (Haiku): 14 passed22 agent steps · 7 replayed from cache · 15 model calls · 47.3k tokens (23% cached) All 14 tests in 9 files
e2e 0.20.0 · 1m 21s · web · run artifacts 🟢 e2e Electron stories (Haiku): 3 passed3 agent steps · 3 model calls · 7.9k tokens (22% cached) All 3 tests in 3 files
e2e 0.20.0 · 25.7s · electron · run artifacts 🟢 e2e agent repros (Haiku): no tests selectedSpend: $0.00 of the $1.00 cap (proxy ledger) e2e 0.20.0 · 7.9s · 2 targets (web, phone) · run artifacts |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f1405a92ab
ℹ️ 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".
electron-builder publishes to the tag v<version>. Nightly tags lose the v prefix in this PR, and the Release tags ruleset stops GITHUB_TOKEN from creating v* tags, so --publish always on Linux and Windows would fail every nightly. The gh release upload steps already attach every asset, so the jobs now build with --publish never, as macOS and Linux arm64 do. generate-version.sh adds the v prefix only to a version: Nix builds pass the flake's commit hash as RELEASE_TAG. --- _Generated with [`xum`](https://github.com/coder/xum) • Model: `anthropic:claude-opus-5-5` • Thinking: `high`_
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4af1dbc32a
ℹ️ 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".
🛡️ Codex Security Review · Automatically triggeredSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
|
FAIL — independent verification of head Blocker:
Every other check passed. Once the test is updated, I expect PASS+NOTES. Checks and evidence1. Nightly version step. I extracted the step's
2. electron-builder with
3. Updater. I ran electron-updater 6.8.10's real
4. generate-version.sh.
5. Other tag parsers.
Notes (none blocks):
Generated with |
scripts/ci/wiring.test.ts pins the electron-builder command lines of the release jobs. The macOS upload comment and the arm64 job comment still described electron-builder publishing. --- _Generated with [`xum`](https://github.com/coder/xum) • Model: `anthropic:claude-opus-5-5` • Thinking: `high`_
|
@codex review |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
🛡️ Codex Security Review · Automatically triggeredSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
|
PASS+NOTES — independent re-verification of head This head clears the blocker from my FAIL at What changed since
Run at this head (local, detached worktree):
CI at this head (run 44312606063): all six Notes (unchanged, none blocks):
Generated with |
Part of MUX-419.
Summary
Nightly tags lose their
vprefix (0.32.3-nightly.44, notv0.32.3-nightly.44), so the nightly workflow runs again under theRelease tagsruleset. The Linux and Windows release jobs package with--publish never, so electron-builder no longer tries to publish to avtag.Background
Since 2026-11-18 01:12 UTC, the
Release tagsruleset stops everyone but admins, maintainers andmux-corefrom creating, moving or deletingrefs/tags/v*.nightly.ymlcreatedv*-nightly.*tags withGITHUB_TOKEN, so the 2026-11-18 nightly failed with "Cannot create ref due to creations being restricted".Implementation
nightly.ymlcreates the bare tag. The cleanup job matches old (v) and new nightly tags. It deletes an old nightly's release but keeps its tag, because the token may not deletev*tags._desktop-release.yml: electron-publish builds its tag asv${version}unlessvPrefixedTagName: false(gitHubPublisher.jsin 24.13.1). The Linux and Windows jobs ran--publish always, which would hit the ruleset. They now use--publish never, as macOS and Linux arm64 already did. Theirgh release upload --clobbersteps already attached every asset. Stable releases change only in that electron-builder no longer uploads the same files first.generate-version.shstampsv+ the version, so nightly builds keep thev0.x.y-nightly.nform. It adds the prefix only to a version: Nix builds pass the flake's commit hash asRELEASE_TAG.nightlyas the first prerelease part.Validation
scripts/generateVersion.test.tscovers a nightly tag, a stable tag and a Nix revision.scripts/ci/wiring.test.tspins the new command lines.0.32.3-nightly.44, based onv0.32.2), ranelectron-builder --linux --publish never(it still writesnightly-linux.yml), checked that every asset ofv0.32.2andv0.32.3-nightly.43matches an upload glob, and ran electron-updater 6.8.10'sGitHubProvideragainst a bare-tag nightly: it picks the release and fetches its manifest.Risks
The nightly and every stable release run through
_desktop-release.yml. If an asset that only electron-builder's upload attached exists, it would go missing from releases. The upload globs cover the AppImage,*-linux.yml, the.exeand its blockmap, and every.ymlof the Windows job.A manual
release.ymlrun for a tag that has no GitHub release now fails atgh release upload. Before, electron-builder created the missing release. Normal releases start from a published release.A manual
release.ymlrun for a tag that has no GitHub release now fails atgh release upload. Before, electron-builder created the missing release. Normal releases start from a published release.Generated with
xum• Model:anthropic:claude-opus-5-5• Thinking:high• Cost:$4.01