Repository navigation
Run the nightly desktop publish job on the nightly paths - #2247
Merged
SawyerHood merged 1 commit intoAug 21, 2026
Merged
Conversation
…regression) `nightly-desktop-publish` had no `if:`, so it defaulted to `success()`. GitHub propagates a skip transitively through `needs`, and get-bb#1651 added `publish-nightly`, which is skipped on the scheduled and manual nightly paths. The build jobs already override this with `!cancelled()`; the publish job did not, so it inherited the skip. The nightly desktop builds have succeeded every night since get-bb#1651 landed and discarded their artifacts. Only a stable release run, where `publish-nightly` actually succeeds, still moved the `desktop-nightly` release. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
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.
Human comments
Scheduled runs of the publish-bb-app.yml workflow are supposed to publish nightly but it is instead building the BB app and skipping the publish step, see run on april 20: https://github.com/get-bb/bb/actions/runs/32358956903
What was wrong
The
desktop-nightlyrelease has not been updated by a nightly run since #1651 landed on 2026-08-15. The nightly desktop builds themselves have been fine — they succeed every night and then discard their artifacts.nightly-desktop-publishis declared with noif:, so it defaults tosuccess(). #1651 added thepublish-nightlyjob and put it in theneedsgraph of both desktop build jobs, where it is skipped by design on the scheduled and manual-nightly paths. GitHub propagates a skip transitively throughneeds, so that skip reachesnightly-desktop-publisheven though both of its direct needs run and succeed. The build jobs already anticipate this and override it with!cancelled()— see the comment atpublish-bb-app.yml:493-495— but the publish job never got the same guard.The net effect is that the job is skipped on exactly the two paths whose purpose is to produce a nightly, and runs only on a stable release run — the one path where
publish-nightlyactually succeeds, leaving no skip in the graph. That is why the release still moves occasionally and looks merely stale rather than broken.Publish bb Nightly desktop8e6fc8358npm_tag=nightlyCorroborating evidence: every asset currently on the release is
0.39.1-nightly.32204811379.1, uploaded 2026-08-19 01:52Z by run 32204811379 — annpm_tag=latestdispatch, i.e. the stable-release path.What changed
.github/workflows/publish-bb-app.yml— added anif:guard tonightly-desktop-publishmirroring the one on the two build jobs, so a transitively-skippedpublish-nightlyno longer skips it, while a genuine build failure still does:The explicit
.result == 'success'checks are required rather than relying on the default, because!cancelled()alone would let the job publish a partial release after a build job failed. No wire-format, CLI, or documented-surface changes, so noHOST_DAEMON_PROTOCOL_VERSIONbump.How you verified
skippedwith both build jobssuccess(gh api .../actions/runs/<id>/jobs).desktop-nightlysince Aug 15 was the Aug 19latestdispatch, matching the predicted "stable-release-only" path.needsresolve as intended (yaml.safe_loadon the file, inspectingjobs.nightly-desktop-publish).Full verification requires a live nightly run, since GitHub's transitive skip propagation cannot be exercised locally. Recommend confirming on the first cron after merge, or via a
workflow_dispatchwithnpm_tag=nightly,dry_run=false.Ruled out as causes: the two cron failures on Aug 18 and Aug 21 are unrelated — both are
Build bb Nightly desktop (Linux)failing outright, a separate issue that is not addressed here.Regression from #1651. No tracking issue was open at the time of filing.