Repository navigation
frontend: opt-in nightly update channel from the continuous release - #1761
Merged
Merged
Conversation
zackees
force-pushed
the
infra/1757-certify-gate
branch
from
October 22, 2026 09:20
45ce1f7 to
e4f38ae
Compare
zackees
force-pushed
the
infra/1759-nightly-channel
branch
from
October 22, 2026 09:20
2f6d3fc to
d02b4dc
Compare
zackees
force-pushed
the
infra/1757-certify-gate
branch
from
October 22, 2026 11:10
e4f38ae to
65f7c0e
Compare
zackees
force-pushed
the
infra/1759-nightly-channel
branch
from
October 22, 2026 11:41
d02b4dc to
71382af
Compare
zackees
enabled auto-merge
October 22, 2026 11:41
update_feed.py build --channel nightly, the nightly_feed job, the ObsRustFeedUrl/ObsRustUpdateBranchIsKnown mapping and the frontend wiring are stubs or missing: 4 tests in ci/test_update_feed.py and 1 in ci/test_no_upstream_updater.py fail.
…GREEN, #1759) - ci/update_feed.py build --channel nightly: appcast items tagged <sparkle:channel>nightly</sparkle:channel>, manifest.json with "channel": "nightly", no branches.json. - release-rust.yaml nightly_feed: after a published daily, writes that feed onto the continuous pre-release; skips with a warning without the signing secrets. ci/sparkle_mac_info.sh is shared with certify. - obs-rust-update.hpp: ObsRustFeedUrl/ObsRustUpdateBranchIsKnown. Windows reads the branch's manifest; the Sparkle delegate reads the branch's appcast and allows only its channel; OBSApp lists a built-in Nightly branch (Settings > General > Updates, default stable). - Docs: release-criteria.md stable/nightly/certify, features ledger. Refs #1759
Member
Author
This was referenced Oct 22, 2026
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.
Refs #1759. It uses
Refs, notFixes, because no real app has run the updater on either channel yet (see below).What
ci/update_feed.py build --channel nightlywrites the same signed files as a certified feed, minusbranches.json. The appcast items carry<sparkle:channel>nightly</sparkle:channel>, andmanifest.jsonsays"channel": "nightly"and names the daily's own assets.nightly_feedjob (macOS,needs: [check, release]) runs only after a published daily: release succeeded, not verify-only, in obs-rust/obs-studio. It writes that feed and uploads it onto the rollingcontinuouspre-release (--clobber). It never edits the daily's release or Latest. IfOBS_RUST_SPARKLE_PRIVATE_KEYorOBS_RUST_UPDATE_RSA_PRIVATE_KEYis missing, it logs::warning::and skips the rest, so the daily succeeds. The DMG read-and-sign loop moved from certify intoci/sparkle_mac_info.sh, which both jobs now share.[General] UpdateBranch, defaultstable). It gets a built-in Nightly entry (OBSApp::GetBranches, with en-US strings), so the option shows before any certifiedbranches.jsonlists it. Branches frombranches.jsonare deduplicated against the built-in ones.obs-rust-update.hpp:ObsRustFeedUrl(stableUrl, branch)maps…/releases/latest/download/<f>to…/releases/download/continuous/<f>fornightlyand leaves every other URL unchanged.ObsRustUpdateBranchIsKnownaccepts onlystableandnightly.AutoUpdateThread): readsmanifest.jsonfrom the branch's feed, with a separate cache file per branch. Any unknown branch, such as upstream'sbeta, resets to stable. ZIP URL checks are unchanged (releases/download/<tag>/).OBSUpdateDelegate): onnightly,feedURLStringForUpdaterreturns the continuous appcast, derived fromSUFeedURLor the Rosetta feed. On stable it returns nil as before.allowedChannelsForUpdaterallows only a known branch, so a stable app never takes a nightly item.nightly_feedjob's shape (including that missing secrets skip without failing), and the C++ URL mapping (compiled).ci/test_no_upstream_updater.pynow checks that every URL in the updater sources,obs-rust-update.hppandupdate_feed.pyis underhttps://github.com/obs-rust/obs-studio/, that the delegate holds no literal URL, and that the nightly wiring and locale strings are present.docs/rust-port/release-criteria.md("Stable, nightly and certify") and adocs/features.mdline.RED → GREEN
uv run python -m unittest ci/test_update_feed.py: 4 fail (nightly feed, stablechannelfield,nightly_feedjob, URL mapping).ci/test_no_upstream_updater.py: 1 fails (nightly wiring).OK(34 tests). Also OK:ci/test_release_*.py,ci/test_workflow_*.py,ci/test_build_groups.py,ci/test_tool_guard.py,ci/test_uv_run.py../lintok.actionlinton release-rust.yaml is clean apart from the custom runner labels.Not verified locally
AutoUpdateThread.cpp.hpp) and macOS (OBSUpdateDelegate.mm.hpp,OBSApp.cpp.hppunderOBS_PLATFORM_HAS_UPDATE_BRANCHES) changes don't compile on Linux; they compile only in CI or the release builds.nightly_feedhas not run (we did not run any release workflow). A failednightly_feedmakes ci: release-rust: certify only a fully green release at least N days old #1758's certify gate refuse that daily, because it is a top-level job of the run.