Repository navigation
Conversation
neriousy
added this pull request to stack #56077
October 16, 2026 13:20
neriousy
force-pushed
the
desktop-package-retry
branch
from
October 16, 2026 16:08
64763e6 to
0d6b71f
Compare
neriousy
force-pushed
the
desktop-package-retry
branch
from
October 16, 2026 16:21
0d6b71f to
177b3e5
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #56072 (
desktop-early-start) ("chore(ci): build the desktop app while the CLI builds"). Below that are #56071 (desktop-release-files), #56070 (cli-target-jobs) and #55987 (release-runner-moves). Only the last commit belongs to this PR. It does not depend on the PRs below it: the commit also cherry-picks cleanly ontoorigin/dev.Summary
One failed desktop leg (of six) fails a dev release until someone re-runs it. Most leg failures since mid-August were short network or signing errors in Package that a second try would have fixed.
publish.yml,build-electron).Packagegetsid: packageandcontinue-on-error: true.steps.package.outcome == 'failure',shell: bash): warns with the target name, deletes onlypackages/desktop/dist, detaches leftover/Volumes/OpenCode*DMGs on macOS, sleeps 90 s.ifand same command, env, shell and 60-minute timeout, withoutcontinue-on-error, so a second failure fails the leg as today.Package (no publish)is unchanged.script/sign-windows.ps1retries the TrustedSigning module install up to 3 times (30 s, then 60 s apart), re-registeringPSGalleryif missing. It only helps if the gallery is back within about 90 s.Invoke-TrustedSigningis not retried.Expected effect
Release dispatches since 2026-08-15 (67 runs) had 9 failed
build-electronlegs. Estimates come from step timestamps, not measured runs.Evidence
steps.package.outcomeisfailure(also on timeout) while the job stayssuccess. Later steps use only the retry's output; a double or cleanup failure fails the job with nothing stale shipped.Package (retry)matchesPackage(compared viaBun.YAML). electron-builder copies intodist, so wiping it is safe.GH_TOKENexpiry cannot fail the retry.sign-windows.ps1has never been executed; it was reviewed by hand.prettier --checkandbun run lint:changedare clean.origin/beta2fbdff9):origin/devalone: 0 conflicts.publish.yml, all from lower PRs. The new steps andsign-windows.ps1merge cleanly.Package(a lower PR removesBuild); it does not occur in either real merge.Things to know
afterPackchecks, broken config, notarization rejection).<target>; retrying once in 90 seconds".aztoken cached at Azure login, which cannot refresh. After a normal failure the retry signs 7 to 10 min after login, which already works (job 116597252325). After a 60-minute timeout it most likely fails about 2 h in, same outcome as today but later. Re-running Azure login is left out.Invoke-TrustedSigning's nuget.org downloads),build-cliandsign-cli-*.dist, and the glob matches "OpenCode Beta" volumes.Verification
publish.ymlcannot run on a PR. On the first dev release dispatch after merge:.app.tar.gz(macOS) or signature verification (Windows) passes;publishruns.Rollback: revert this commit.