Skip to content

plan: Ship the Flatpak — release bundle, update repo, sandbox trim, verification #2395

Open
0 of 1 issue completed

Description

@zackees

Plan for #2319 (Flatpak support). Research: #2317 (identity), #2318 (delivery and sandbox).

Where we are (master, 2026-10-25)

Plug-in compatibility (the decision this meta asked for)

The manifest's extension point is now io.github.obs_rust.OBSStudioRust.Plugin, not com.obsproject.Studio.Plugin. Flatpak plug-ins published for upstream (com.obsproject.Studio.Plugin.* on Flathub) will not load in our Flatpak. A Flatpak extension is bound to its app id, so sharing the extension point would mean sharing upstream's app id, which #2317 rejected.

  • Native plug-in binaries stay ABI compatible: the libobs C API is preserved.
  • Users can still drop them into ~/.var/app/io.github.obs_rust.OBSStudioRust/config/obs-studio/plugins.
  • Re-packaging a plug-in as an extension is per plug-in work. We list that in the README and do not promise it.

Ordered checklist

  1. Unblock the release gate. Fix ci: Flatpak Saved Profile fails on master: GDB can't resolve CEF source lines from the Debug extension #2363. Acceptance: the Flatpak Saved Profile 🧪 job is green on a workflow_dispatch of ci.yml.

  2. Release artifact. In release-rust.yaml, run flatpak build-bundle on the gate-built repo and upload obs-studio-rust-<ver>-x86_64.flatpak. Acceptance: a test that installs the bundle into a clean container with flatpak install --bundle, then starts it with a saved profile (PipeWire screen capture, camera, microphone), per the AGENTS.md packaging rule (bug: AppImage: releases crash on launch when a scene has a PipeWire screen capture #426). A release that has a .deb but no .flatpak fails ci/test_release_platforms.py.

  3. Updates without Flathub. Publish an OSTree repo plus a .flatpakref to GitHub Pages, signed with a GPG key held in repo secrets. Acceptance: on a clean container, flatpak install <url>.flatpakref followed by flatpak update picks up a second test release.

  4. Trim the sandbox before any Flathub submission (research: Flatpak delivery and sandbox — how users get it, and does it behave on a clean desktop #2318). Candidates:

    • Drop --filesystem=host in favour of xdg-videos, xdg-pictures and the portals.
    • Narrow --device=all to dri where the encoder lanes allow it.
    • Drop --talk-name=org.freedesktop.Flatpak, which is only needed for host process spawning.

    Acceptance: flatpak-builder-lint has no new exceptions, and the step 2 saved-profile test still passes.

  5. Flathub submission (optional, needs the maintainer's call). Open a PR to flathub/flathub with the trimmed manifest. Acceptance: Flathub's build bot is green.

  6. Verification on real desktops (packaging: Flatpak and .deb installs misbehave on a plain Linux desktop #2227). Record evidence on GNOME Wayland, KDE Wayland and X11: screen capture, VA-API, NVENC, VST, a third-party plug-in. Acceptance: a comment with screenshots and logs for each.

  7. README and features ledger. Once step 2 ships, change the README's install table and docs/features.md.

No code for steps 2 to 6 should land before step 1 is green.

Sub-issues

Sub-issues

0 of 1 Issues completed
Loading 1 sub-issues

Activity

  1. zackees commented on Oct 25, 2026

    @zackees
    MemberAuthor

    A note on step 3, from the #2318 delivery research (comment): it recommended not running our own repo. Each build adds hundreds of MB to an OSTree repo, so it outgrows GitHub Pages' 1 GB site limit after a few releases. It also needs a long-lived GPG signing key in CI. The plan it proposed was the release-asset bundle now (step 2), then Flathub (with flathub-beta for pre-releases) as the update path.

    If step 3 stays, size the storage first: an OCI index on GHCR, or a repo pruned to the last N commits. Otherwise the Pages limit will be the first failure.

  2. added
    P2
    size:XL
    human-review-needed
    on Oct 25, 2026
  3. zackees commented on Oct 25, 2026

    @zackees
    MemberAuthor

    Coordinator triage: this is a plan (meta), not one Ready task. It's labelled P2 and size:XL. Work starts from child issues, and the first one is #2363 (step 1), which everything else waits on.

    Decision needed (step 3): run our own OSTree repo on Pages, or follow #2318's recommendation, which the comment above summarizes: a release-asset bundle now, then Flathub (flathub-beta for pre-releases) as the update path. Step 5 (whether to submit to Flathub) is the same call, so one Decided: covers both.

    Once you've decided, I'll split steps 2, 4, 6 and 7 (and 3 if it stays) into sized child issues with the acceptance criteria above. Step 2 can be filed now, because it doesn't depend on that decision. Its acceptance test runs the bundle with a saved profile, per #426.

  4. zackees commented on Oct 25, 2026

    @zackees
    MemberAuthor

    Decided (steps 3 and 5): no OSTree repo of our own. As #2318 recommended, the release-asset bundle ships first (#2400), then Flathub becomes the update path, with flathub-beta for pre-releases. Pages' 1 GB limit and a long-lived signing key in CI are the reasons. Step 3 is dropped.

    Child issues: step 2 #2400, step 4 2415, step 5 2416. Step 6 is #2227, and step 7 is folded into #2400 and 2416. Step 1 is #2363.

    (Decided by the coordinator under the maintainer's go-ahead of 2026-10-25. The maintainer can reverse it.)

  5. removed
    human-review-needed
    on Oct 25, 2026
  6. moved this from Needs decision to Triage in obs-rust Multiviewon Oct 25, 2026
  7. zackees commented on Oct 26, 2026

    @zackees
    MemberAuthor

    Triage: this is a plan/meta issue, not a task. Its work is in the step issues. Step 1 (#2363) and step 2 (#2400) are closed, step 4 (#2415) is now /ready, and step 5 (#2416) waits on it. Leaving it open as the tracker.

  8. zackees commented on Oct 27, 2026

    @zackees
    MemberAuthor

    Step 4 (sandbox trim) is closed as not planned, with the per-permission reasoning recorded on #2415: --filesystem=host (saved absolute paths for recordings, replays, media and scripts), --device=all (V4L2 cameras, capture cards, DeckLink/AJA — dri alone loses them), and --talk-name=org.freedesktop.Flatpak (the virtual camera loads v4l2loopback via flatpak-spawn --host, plugins/linux-v4l2/v4l2-output.c.h:48). Upstream OBS on Flathub ships the same three, so this is the minimal set that supports what we ship rather than an unexamined default.

  9. added
    tracker
    on Oct 27, 2026
  10. zackees commented on Oct 27, 2026

    @zackees
    MemberAuthor

    Coordinator triage (2026-10-27). This is a tracker, not a claimable task: labelled tracker, and its first sub-issue is #2416 (step 5, Flathub). Steps 1-7 belong here as sub-issues rather than as one XL claim; #2416 is the only one that already has its own body.

    Checklist status, from the linked issues rather than from memory:

    I did not check the Flatpak Saved Profile job myself this tick; if it is green, both stale checkboxes are a one-line edit here.

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

    P2size:XLtracker

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions