Skip to content

ci: bind native seeds to producer profiles and transfer them earlier - #1782

Merged
zackees merged 2 commits into
masterfrom
infra/1269-native-publisher-boundary
Oct 22, 2026
Merged

zackees merged 2 commits into
masterfrom
infra/1269-native-publisher-boundary

Conversation

@zackees

@zackees zackees commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

Builds on merged #1781. Rebased onto origin/master at 40d906c9c; new commits are f71b8773e (RED) and b27ed48a6 (GREEN).

Scope

Refs #1269 and #1667. The first hosted trial lost same-SHA seeds before its publishers started and found different Windows images in producer/copier jobs.

  • Move the existing publisher matrix into build-project.yaml, after the native app matrices rather than unrelated Tier 2 work. Full tests still run and their workflow result still gates merge. Earlier scheduling reduces exposure; it does not guarantee retention.
  • Bind probe seeds to architecture/configuration/full SHA/compiler/SDK/cache format with one shared validated helper. Normal save is replaced by one qualified save only for the probe, after local archive qualification. Existing family prefixes and allocations stay intact. Ordinary production keys/restores remain unchanged.
  • Restore the exact profile-qualified seed, with no fallback, and label release archives from the completed build identity. The copier captures its own identity as diagnostics; it performs no compilation and need not have the same compiler. Actual native consumers must still reject incompatible profiles.
  • All caller permission ceilings allow the guarded publisher. Explicit reusable-workflow defaults keep every existing build/utility job read-only; only the hard manual-master/repository/default-off publisher has contents write. The separate transport consumer from ci: isolate authenticated native cache restoration with a read-only token #1781 retains its read-only token and exact-source guard.

Validation

RED: seed_key stub fails three methods (seven errors); workflow regressions report two failures/one error with the old routing/unbound keys. Separate RED and GREEN commits retained.

GREEN: 81 focused tests pass, including identity changes, source identity, output injection, bounded CLI input, transport/release fixtures, all reusable caller permissions, writer scope, exact restoration, Flatpak gate, YAML and queue policy. Sole primary review clean. ./lint passed (44.6 s).

No new workflow files, native build lanes, C test binaries, production transport adoption, paid storage change or broad cache deletion. Qualification seeds stay subject to existing family quotas; capacity/retention and actual native reuse remain unqualified. #1723 stays held; #1269/#1667 remain open. No unchanged full-workflow retry has been started.

Post-rebase: all 81 focused checks pass (0.9 s); whitespace check clean. No source changes or conflict resolutions were needed. The original full lint passed (44.6 s).

@zackees
zackees changed the base branch from infra/1269-native-readonly-consumer to master October 22, 2026 11:38
@zackees
zackees force-pushed the infra/1269-native-publisher-boundary branch from 6f3972b to b27ed48 Compare October 22, 2026 11:38
@zackees
zackees marked this pull request as ready for review October 22, 2026 11:47
@zackees
zackees added this pull request to the merge queue Oct 22, 2026
Merged via the queue into master with commit 24a96a1 Oct 22, 2026
28 checks passed
zackees added a commit that referenced this pull request Oct 22, 2026
…ecks (#1269)

Master (#1782) keys native seeds by a computed suffix whose first component
is the job architecture; resolve it from the job matrix so the split
per-architecture families still cover every key.
zackees added a commit that referenced this pull request Oct 22, 2026
…ecks (#1269)

Master (#1782) keys native seeds by a computed suffix whose first component
is the job architecture; resolve it from the job matrix so the split
per-architecture families still cover every key.
zackees added a commit that referenced this pull request Oct 25, 2026
…ecks (#1269)

Master (#1782) keys native seeds by a computed suffix whose first component
is the job architecture; resolve it from the job matrix so the split
per-architecture families still cover every key.
rdoupe pushed a commit to rdoupe/obs-studio that referenced this pull request Oct 25, 2026
…#1723)

* test: RED require separate native architecture retention

* ci: prepare independent native architecture retention allowances

* test(ci): resolve native seed suffix architectures in cache family checks (obs-rust#1269)

Master (obs-rust#1782) keys native seeds by a computed suffix whose first component
is the job architecture; resolve it from the job matrix so the split
per-architecture families still cover every key.

* test(ci): let runtime-bound cache keys bind to their family dynamically (obs-rust#1269)

Replaces the static native-seed suffix resolver: a key whose suffix is a
runtime expression is covered when any family sits under its literal part;
the janitor assigns the actual key at runtime.

* test(ci): split cache_keys under the C901 ceiling (obs-rust#1269)
@zackees
zackees deleted the infra/1269-native-publisher-boundary branch October 26, 2026 15:45
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