Skip to content

feat(release): stable OBS-Studio-Rust 1.0.0 release path - #3445

Merged
zackees merged 3 commits into
masterfrom
feat/1.0.0-stable
Nov 1, 2026
Merged

zackees merged 3 commits into
masterfrom
feat/1.0.0-stable

Conversation

@zackees

@zackees zackees commented Nov 1, 2026

Copy link
Copy Markdown
Member

Refs the maintainer's request to release OBS-Studio-Rust 1.0.

Plan

  1. Merge this PR (crate is now 1.0.0).
  2. Coordinator: gh workflow run release-rust.yaml -R obs-rust/obs-studio --ref master -f stable=true, which tags obs-studio-rust-v1.0.0 and runs the same gate, builds, Tier 2, packaged-app smoke tests and AppImage as a nightly, then publishes a pre-release.
  3. Then gh workflow run release-rust.yaml -R obs-rust/obs-studio -f certify=obs-studio-rust-v1.0.0 (add -f min_age_days=0 to skip the two-day wait).
  4. Follow-up: bump the crate to 1.0.1 so later nightlies (1.0.1-beta.<date>) sort after 1.0.0. Until then nightlies are 1.0.0-beta.<date>. Those sort before 1.0.0 in semver, which is harmless because nightlies are never certified.

Changes

  • rust/libobs-rust/Cargo.toml, Cargo.lock: 0.1.0 to 1.0.0.
  • release-rust.yaml: new stable boolean input. With it, the check job sets version=<crate> with no tag date. Release notes say "Stable release" for a stable build. The stale sentence "ships the C libobs" now says the hybrid libobs ships, which matches release-criteria.md and the packaging step that fails without /rustc/ in libobs. The macOS smoke test accepts a date-based CFBundleVersion for a stable version.
  • ci/release_decision.py: check --stable true needs no --tag-date. It accepts only a dispatch from master, refuses verify_only, and refuses an existing tag unless repair is set. required_assets('1.0.0') is tested.
  • cmake/macos/bundle-version.cmake: a version with no beta date gets the UTC build date as CFBundleVersion (YYYY.M.D), so Sparkle offers it over the certified 2026.10.23 beta. Before this, it fell back to OBS_BUILD_NUMBER, which sorts lower.
  • Docs: release-criteria.md (how to cut a stable release) and the features ledger.
  • Windows updater: the existing test_update_feed cases already cover 0.1.0 > 0.1.0-beta.X and an upgrade across a minor version. No change needed.
  • Other -beta assumptions I checked and left alone: the --version checks match on <VERSION> (based on OBS, so they stay exact. TAG_RE, the cmake version regex and the deb epoch versioning accept 1.0.0.

RED to GREEN

RED commit: new tests in test_release_decision (stable check, assets, CLI, workflow wiring, notes wording), test_release_notarization (dateless bundle version) and test_release_identity (crate is 1.0.0). They fail with 2 failures and 2 errors, 1 failure and 1 failure. GREEN: every ci/test_release_*.py, test_update_feed, test_deb_version and test_appdata_release_date pass. ./lint passes.

Tiers 1-4 do not apply (CI/release configuration only). The macOS and Windows packaging paths only run in release-rust.yaml, so the stable path on those platforms is untested until the dispatch.

Replaces #3443 (same commits; moved off release/**, which push.yaml builds in full outside the PR gate). Also fixes MSVC C4701/C4703 in obs-video-gpu-encode.c.h found by that build.

A stable dispatch tags the crate version with no beta date, the crate is
1.0.0, and the macOS bundle version of a dateless release is its UTC build
date so Sparkle offers it over the certified 2026.10.23 beta.
libobs-rust is 1.0.0. release-rust.yaml gains a master-only stable
dispatch that tags obs-studio-rust-v<crate> with no beta date and runs the
unchanged gate, builds, smoke tests and AppImage. release_decision.py has a
stable check (no date; refuses an existing tag without repair). A dateless
macOS release uses its UTC build date as CFBundleVersion so Sparkle offers
it over the certified 2026.10.23 beta. Release notes say the hybrid libobs
ships (the stale 'ships the C libobs' sentence was wrong).
…VC C4701/C4703)

RED: PR #3443's Windows x64 build (run 41344540565, job 124961550932) stops
with C2220 on obs-video-gpu-encode.c.h(267): 'tex_uv' potentially
uninitialized (C4701, C4703) under /W4 /WX. gs_texture_create_p010/nv12 may
fail without writing tex_uv; the frame then stores an indeterminate pointer
that the teardown passes to gs_texture_destroy. Start both at NULL.

Refs #3443

Moved from release/1.0.0-stable (#3443): push.yaml runs the full app builds
on release/** pushes, outside the PR gate.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant