Skip to content

frontend: opt-in nightly update channel (Sparkle channel / Windows branch) fed from the continuous release #1759

Open

Description

@zackees

Follow-up to #1742 (certified releases) and #1757, approved by the maintainer.

Task: an opt-in nightly update channel.

  • The daily release-rust run also writes a nightly update feed onto the rolling continuous pre-release, signed with the same secrets (OBS_RUST_SPARKLE_PRIVATE_KEY, OBS_RUST_UPDATE_RSA_PRIVATE_KEY). Without the secrets it skips with a warning, so a daily never fails on it.
  • macOS (Sparkle): the nightly appcast items carry <sparkle:channel>nightly</sparkle:channel> and live at releases/download/continuous/updates_<arch>_v2.xml. When the user picks nightly, the delegate reads that feed and allows the nightly channel.
  • Windows: the existing branch mechanism (General/UpdateBranch). On nightly the updater reads releases/download/continuous/manifest.json (+ .sig); on stable it reads the certified releases/latest/download/ feed.
  • Frontend setting: the existing General > Updates > Update Channel box (global config General/UpdateBranch, default stable) gets a built-in "Nightly" entry. Branches that are not stable or nightly fall back to stable.

Decisions:

  • Separate URL plus channel tag for Sparkle. Stable appcasts stay on releases/latest, and certified releases never carry nightly items.
  • The nightly entry is built into the app rather than read from branches.json. Today's certified branches.json is [], and the option has to show before the next certification.
  • Moving from nightly back to stable never downgrades; the app waits for a newer certified release.

Plan (one PR, stacked on #1758 / #1742):

  1. RED: unit tests for ci/update_feed.py build --channel nightly, the nightly feed URL mapping (C++ header test), the workflow job, and an extended ci/test_no_upstream_updater.py check that no feed or download URL points outside github.com/obs-rust/obs-studio.
  2. GREEN: the generator, the nightly_feed job, the frontend changes, docs (docs/rust-port/release-criteria.md, docs/features.md).

Tiers: Tier 1 is the Python/C++ unit tests. Tiers 2/3 do not apply (frontend and CI). The Windows and macOS frontend compile only in CI on those platforms.

Activity

  1. zackees commented on Oct 22, 2026

    @zackees
    MemberAuthor

    Claiming: #1759

    1. RED: generator/URL-mapping/workflow/no-outside-URL tests.
    2. GREEN: nightly feed job, updater changes (Windows branch, Sparkle channel + feed), built-in Nightly branch, docs.
      Decisions are in the issue body. One PR stacked on ci: release-rust: certify only a fully green release at least N days old #1758 (which stacks on frontend: Update from certified obs-rust releases #1742); first PR within a couple of hours.
  2. added
    claimed
    on Oct 22, 2026
  3. removed
    claimed
    on Oct 24, 2026
  4. added
    P3
    size:S
    on Oct 25, 2026
  5. zackees commented on Oct 25, 2026

    @zackees
    MemberAuthor

    /ready

    Triage: implemented in #1761 (merged 2026-10-22), which used Refs on purpose because no real app had run the updater on either channel yet. What's left: an end-to-end run on a real Windows and macOS install that switches to the Nightly branch/channel, sees a newer continuous build, verifies its signature and updates. Also check that a stable install never sees nightly items. Close with that evidence. P3, size:S.

  6. added
    ready
    on Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3readysize:S

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions