Repository navigation
feat: persistent-root input for self-hosted runners - #674
Merged
Merged
Conversation
Keep cache-dir, soldr's zccache, RUSTUP_HOME and CARGO_HOME under one runner-local root and skip every GitHub Actions cache restore and save (setup, solo-toolchain, soldr-mini, cargo-registry, build, target, cook, dylint, blessed prepare), the S3 tier, the ancestor lookup and repo-level eviction. Verdicts still publish. - Auto-detects a host descriptor (JSON schema 1 or obs-runner's .persistent-cache marker) and uses the runner's own slot, per uid. - Crash safe: the .clean marker is removed durably when a job opens the root and rewritten atomically after the post step stops the daemons and syncs. An unclean root is quarantined and rebuilt cold; a root another runner holds open is left alone. - New outputs persistent-root and cache-ledger (per-layer hit/miss, bytes, duration, time saved). - Self-hosted only; SETUP_SOLDR_PROFILE=hosted is the kill switch. Refs obs-rust/obs-studio#4954
zackees
added a commit
to obs-rust/obs-studio
that referenced
this pull request
Nov 17, 2026
ci/test_ci_toml.py now expects setup-soldr 735b5e6cc889fd53bfcc74595345a1799b4f68c0 (forge-ci/setup-soldr#674, the persistent-root input), whose cook layer prefix is cook-base-v4-. The workflows still pin d01d9bae and ci.toml still declares cook-base-v3-, so test_deps_family_matches_the_pinned_setup_soldr_cook_prefix and test_disabled_store_has_no_retention_protection fail. Refs #4954
zackees
added a commit
to obs-rust/obs-studio
that referenced
this pull request
Nov 17, 2026
forge-ci/setup-soldr#674 adds persistent-root. On a self-hosted runner it auto-detects /var/cache/obs-runner/.persistent-cache and keeps cache-dir, RUSTUP_HOME, CARGO_HOME and soldr's zccache in slots/<runner>/setup-soldr/<os>-<arch>-u<uid>. It then skips every Actions cache restore and save (setup, solo-toolchain, soldr-mini, cargo-registry, build, target, cook), the S3 tier and the ancestor lookup. A .clean marker makes it crash safe, and a cache-ledger output reports per-layer hits, bytes and time saved. GitHub-hosted runners ignore it. The repository variable SETUP_SOLDR_PROFILE=hosted (wired in the previous commit) turns it off without a commit. The new pin's cook layers are cook-base-v4- (forge-ci/setup-soldr#513), so ci.toml's deps family moves with it. Refs #4954 Ci-Attestation: {"at":1794901572,"gate":"data/all/compatibility","host":"linux-x86_64","key":"","lane":"client-checks","parents":["bb9a55283ea254e376cfe0667e94d2caf4ca5dfa"],"secs":122,"stamp":"8f8b3b4525b9c7ce63353210504c82f7","tree":"709e8ea395c8f0de8cf37b3f16f87d6f6e46fb45","v":1,"via":"run"} Ci-Attestation: {"at":1794901572,"gate":"data/all/flatpak-manifest","host":"linux-x86_64","key":"","lane":"client-checks","parents":["bb9a55283ea254e376cfe0667e94d2caf4ca5dfa"],"secs":122,"stamp":"5e08a91eb0b875faec579d8d876a33f0","tree":"709e8ea395c8f0de8cf37b3f16f87d6f6e46fb45","v":1,"via":"run"} Ci-Attestation: {"at":1794901572,"gate":"data/all/qt-xml","host":"linux-x86_64","key":"","lane":"client-checks","parents":["bb9a55283ea254e376cfe0667e94d2caf4ca5dfa"],"secs":122,"stamp":"fdac8e7fa21d9bab2cc16200a865516e","tree":"709e8ea395c8f0de8cf37b3f16f87d6f6e46fb45","v":1,"via":"run"} Ci-Attestation: {"at":1794901572,"gate":"data/all/services-schema","host":"linux-x86_64","key":"","lane":"client-checks","parents":["bb9a55283ea254e376cfe0667e94d2caf4ca5dfa"],"secs":122,"stamp":"5552ba3e3ee3cd113f6963c30a77b523","tree":"709e8ea395c8f0de8cf37b3f16f87d6f6e46fb45","v":1,"via":"run"} Ci-Attestation: {"at":1794901448,"gate":"general/all/client-lint","host":"linux-x86_64","key":"8c218a1694e80fac245c0ea37270072b4b310c09e3957ad15e4fda4f64c50d80","lane":"client-lint","parents":["bb9a55283ea254e376cfe0667e94d2caf4ca5dfa"],"secs":18,"stamp":"ed3d5cba14265ffc137d087746ebcf1e","tree":"709e8ea395c8f0de8cf37b3f16f87d6f6e46fb45","v":1,"via":"run"} Ci-Attestation: {"at":1794901572,"gate":"python/all/self-test","host":"linux-x86_64","key":"","lane":"client-checks","parents":["bb9a55283ea254e376cfe0667e94d2caf4ca5dfa"],"secs":122,"stamp":"442d1abf90c4f1a2cce17b219ccbcf16","tree":"709e8ea395c8f0de8cf37b3f16f87d6f6e46fb45","v":1,"via":"run"} Ci-Attestation: {"at":1794901449,"gate":"rust/aarch64-apple-darwin/client-clippy","host":"linux-x86_64","key":"8c218a1694e80fac245c0ea37270072b4b310c09e3957ad15e4fda4f64c50d80","lane":"client-lint","parents":["bb9a55283ea254e376cfe0667e94d2caf4ca5dfa"],"secs":18,"stamp":"517e75b15402fd3f1c3244c15bee35cc","tree":"709e8ea395c8f0de8cf37b3f16f87d6f6e46fb45","v":1,"via":"run"} Ci-Attestation: {"at":1794901449,"gate":"rust/aarch64-apple-darwin/client-dylint","host":"linux-x86_64","key":"8c218a1694e80fac245c0ea37270072b4b310c09e3957ad15e4fda4f64c50d80","lane":"client-lint","parents":["bb9a55283ea254e376cfe0667e94d2caf4ca5dfa"],"secs":18,"stamp":"bc65df2a16d6d60e29ec2ab618c6feae","tree":"709e8ea395c8f0de8cf37b3f16f87d6f6e46fb45","v":1,"via":"run"} Ci-Attestation: {"at":1794901448,"gate":"rust/aarch64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"8c218a1694e80fac245c0ea37270072b4b310c09e3957ad15e4fda4f64c50d80","lane":"client-lint","parents":["bb9a55283ea254e376cfe0667e94d2caf4ca5dfa"],"secs":18,"stamp":"7a649250fea6046eb9bbbc608907d1aa","tree":"709e8ea395c8f0de8cf37b3f16f87d6f6e46fb45","v":1,"via":"run"} Ci-Attestation: {"at":1794901448,"gate":"rust/aarch64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"8c218a1694e80fac245c0ea37270072b4b310c09e3957ad15e4fda4f64c50d80","lane":"client-lint","parents":["bb9a55283ea254e376cfe0667e94d2caf4ca5dfa"],"secs":18,"stamp":"23a3a801977aa6d9eab544eb4c3716d8","tree":"709e8ea395c8f0de8cf37b3f16f87d6f6e46fb45","v":1,"via":"run"} Ci-Attestation: {"at":1794901448,"gate":"rust/aarch64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"8c218a1694e80fac245c0ea37270072b4b310c09e3957ad15e4fda4f64c50d80","lane":"client-lint","parents":["bb9a55283ea254e376cfe0667e94d2caf4ca5dfa"],"secs":18,"stamp":"03e5fe5cda5118c9e31bdaf5d610f9f2","tree":"709e8ea395c8f0de8cf37b3f16f87d6f6e46fb45","v":1,"via":"run"} Ci-Attestation: {"at":1794901448,"gate":"rust/aarch64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"8c218a1694e80fac245c0ea37270072b4b310c09e3957ad15e4fda4f64c50d80","lane":"client-lint","parents":["bb9a55283ea254e376cfe0667e94d2caf4ca5dfa"],"secs":18,"stamp":"835924a0331e9f60cf0d9d5f484b4848","tree":"709e8ea395c8f0de8cf37b3f16f87d6f6e46fb45","v":1,"via":"run"} Ci-Attestation: {"at":1794901448,"gate":"rust/x86_64-apple-darwin/client-clippy","host":"linux-x86_64","key":"8c218a1694e80fac245c0ea37270072b4b310c09e3957ad15e4fda4f64c50d80","lane":"client-lint","parents":["bb9a55283ea254e376cfe0667e94d2caf4ca5dfa"],"secs":18,"stamp":"60c2b95e5724830a2785c2d16137eb24","tree":"709e8ea395c8f0de8cf37b3f16f87d6f6e46fb45","v":1,"via":"run"} Ci-Attestation: {"at":1794901448,"gate":"rust/x86_64-apple-darwin/client-dylint","host":"linux-x86_64","key":"8c218a1694e80fac245c0ea37270072b4b310c09e3957ad15e4fda4f64c50d80","lane":"client-lint","parents":["bb9a55283ea254e376cfe0667e94d2caf4ca5dfa"],"secs":18,"stamp":"2a857f5218dede5a424645f3f7129e93","tree":"709e8ea395c8f0de8cf37b3f16f87d6f6e46fb45","v":1,"via":"run"} Ci-Attestation: {"at":1794901448,"gate":"rust/x86_64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"8c218a1694e80fac245c0ea37270072b4b310c09e3957ad15e4fda4f64c50d80","lane":"client-lint","parents":["bb9a55283ea254e376cfe0667e94d2caf4ca5dfa"],"secs":18,"stamp":"3a8c4e7e52e115ada75f45aa05d4abbd","tree":"709e8ea395c8f0de8cf37b3f16f87d6f6e46fb45","v":1,"via":"run"} Ci-Attestation: {"at":1794901448,"gate":"rust/x86_64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"8c218a1694e80fac245c0ea37270072b4b310c09e3957ad15e4fda4f64c50d80","lane":"client-lint","parents":["bb9a55283ea254e376cfe0667e94d2caf4ca5dfa"],"secs":18,"stamp":"e1bdc31ba5e7ca987f1e90ab4ab20492","tree":"709e8ea395c8f0de8cf37b3f16f87d6f6e46fb45","v":1,"via":"run"} Ci-Attestation: {"at":1794901448,"gate":"rust/x86_64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"8c218a1694e80fac245c0ea37270072b4b310c09e3957ad15e4fda4f64c50d80","lane":"client-lint","parents":["bb9a55283ea254e376cfe0667e94d2caf4ca5dfa"],"secs":18,"stamp":"220ae22cd805814c97d3ac62ed8f88a1","tree":"709e8ea395c8f0de8cf37b3f16f87d6f6e46fb45","v":1,"via":"run"} Ci-Attestation: {"at":1794901448,"gate":"rust/x86_64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"8c218a1694e80fac245c0ea37270072b4b310c09e3957ad15e4fda4f64c50d80","lane":"client-lint","parents":["bb9a55283ea254e376cfe0667e94d2caf4ca5dfa"],"secs":18,"stamp":"a7d55a2f0acfcc2bafc4e0aec64df386","tree":"709e8ea395c8f0de8cf37b3f16f87d6f6e46fb45","v":1,"via":"run"} Ci-Attestation: {"at":1794902066,"gate":"rust/x86_64-unknown-linux-gnu/client-test","host":"linux-x86_64","key":"befabe2329213342637b8b6a40d235477d471d609298a78655f3009a95c77119","lane":"client-test-x86_64-unknown-linux-gnu","parents":["bb9a55283ea254e376cfe0667e94d2caf4ca5dfa"],"secs":493,"stamp":"055a3e1af0eabdbd20802c02ed7acbde","tree":"709e8ea395c8f0de8cf37b3f16f87d6f6e46fb45","v":1,"via":"run"} Client-Checks: {"checks":{"base":"3ea35fc19440a41d82a83791e325baaf8b36ed7f","coverage":"all-tracked-applicable-files","diff":[".github/workflows/ai-rebase.yaml",".github/workflows/build-project.yaml",".github/workflows/release-rust.yaml","ci.toml","ci/test_ci_toml.py","ci/test_tier2_build_setup.py","ci/test_tier2_kept_tree.py","ci/tier2_kept_tree.py"],"head":"4384c20e3642feac717a57c88ecdd4848af09c2f","tools":{"orchestrator-python":"3.13.15 (main, Aug 14 2026, 15:34:59) [Clang 22.1.3 ]","schema-dependencies":"3.13.15 (main, Aug 14 2026, 15:34:59) [Clang 22.1.3 ]\n{'jsonschema': '4.26.0', 'json_source_map': '1.0.5'}","uv":"uv 0.13.5 (x86_64-unknown-linux-gnu)","xmllint":"xmllint: using libxml version 21504\n compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 DTDValid HTML C14N Catalog XPath XPointer XInclude Iconv ISO8859X Regexps Automata RelaxNG Schemas Modules Debug"},"tracked-digest":"828fbed5acd73f6d49daa8d47d266e3198cdd70b075e4b31ef02fc2e7c940a46","tree":"709e8ea395c8f0de8cf37b3f16f87d6f6e46fb45"}}
amsterdamboomer
pushed a commit
to amsterdamboomer/obs-studio
that referenced
this pull request
Nov 21, 2026
…Dell (obs-rust#4957) * test(ci): RED for the Dell kept Tier 2 tree and local tree handoff ci/test_tier2_kept_tree.py drives ci/tier2_kept_tree.py, which does not exist yet (ModuleNotFoundError), and six new cases in ci/test_tier2_build_setup.py fail on the current workflow: there is no kept tree, no handoff and no SETUP_SOLDR_PROFILE kill switch. Refs obs-rust#4954 * ci: keep the Tier 2 tree and hand the packed tree off locally on the Dell P5: trusted merge_group runs on a host that provides /var/cache/obs-runner/trees/ move the last tree back to the same path, zccache replay restores the source mtimes of unchanged files, and only the changed units rebuild. The tree is trusted only behind a .clean marker written after a successful build (zccache snapshot, sync, atomic rename). P7: the build job publishes the pack to /var/cache/obs-runner/handoff/<run> with SHA256SUMS. The test jobs use it when it verifies. The ~193 s artifact upload is skipped only when the test jobs' labels name this host. P3 groundwork: SETUP_SOLDR_PROFILE from a repository variable is the no-commit kill switch for setup-soldr's persistent-root. Hosted runners are unchanged: every new step is gated on the host marker or on host directories that only exist on the Dell. Refs obs-rust#4954 Ci-Attestation: {"at":1794900459,"gate":"data/all/compatibility","host":"linux-x86_64","key":"","lane":"client-checks","parents":["3e0ecc9bde29ed1d5c82c732a83ae6a3e1834e35"],"secs":98,"stamp":"8dc78e67b909af13a550bda3178fcea0","tree":"661d91771787233138a49877a2685e3f0fb4e438","v":1,"via":"run"} Ci-Attestation: {"at":1794900459,"gate":"data/all/flatpak-manifest","host":"linux-x86_64","key":"","lane":"client-checks","parents":["3e0ecc9bde29ed1d5c82c732a83ae6a3e1834e35"],"secs":98,"stamp":"bea3d41c184d7f6fa12b93881a9f5e64","tree":"661d91771787233138a49877a2685e3f0fb4e438","v":1,"via":"run"} Ci-Attestation: {"at":1794900459,"gate":"data/all/qt-xml","host":"linux-x86_64","key":"","lane":"client-checks","parents":["3e0ecc9bde29ed1d5c82c732a83ae6a3e1834e35"],"secs":98,"stamp":"10f128c5191dc075c0c8aa340722d5b5","tree":"661d91771787233138a49877a2685e3f0fb4e438","v":1,"via":"run"} Ci-Attestation: {"at":1794900459,"gate":"data/all/services-schema","host":"linux-x86_64","key":"","lane":"client-checks","parents":["3e0ecc9bde29ed1d5c82c732a83ae6a3e1834e35"],"secs":98,"stamp":"ad7623a9ac31a3c2f45e411333081816","tree":"661d91771787233138a49877a2685e3f0fb4e438","v":1,"via":"run"} Ci-Attestation: {"at":1794900359,"gate":"general/all/client-lint","host":"linux-x86_64","key":"0ecc864b71277c7ffb9659840975e4b606e63645c2231dc3c01aa935560ab5a5","lane":"client-lint","parents":["3e0ecc9bde29ed1d5c82c732a83ae6a3e1834e35"],"secs":13,"stamp":"0019d2fd3ffbfbc8071e851d0357c2ea","tree":"661d91771787233138a49877a2685e3f0fb4e438","v":1,"via":"run"} Ci-Attestation: {"at":1794900459,"gate":"python/all/self-test","host":"linux-x86_64","key":"","lane":"client-checks","parents":["3e0ecc9bde29ed1d5c82c732a83ae6a3e1834e35"],"secs":98,"stamp":"f958ce552d621eae82f8cb8dbb38027b","tree":"661d91771787233138a49877a2685e3f0fb4e438","v":1,"via":"run"} Ci-Attestation: {"at":1794900359,"gate":"rust/aarch64-apple-darwin/client-clippy","host":"linux-x86_64","key":"0ecc864b71277c7ffb9659840975e4b606e63645c2231dc3c01aa935560ab5a5","lane":"client-lint","parents":["3e0ecc9bde29ed1d5c82c732a83ae6a3e1834e35"],"secs":13,"stamp":"3357d5917962d78f949e4e3ecb406086","tree":"661d91771787233138a49877a2685e3f0fb4e438","v":1,"via":"run"} Ci-Attestation: {"at":1794900359,"gate":"rust/aarch64-apple-darwin/client-dylint","host":"linux-x86_64","key":"0ecc864b71277c7ffb9659840975e4b606e63645c2231dc3c01aa935560ab5a5","lane":"client-lint","parents":["3e0ecc9bde29ed1d5c82c732a83ae6a3e1834e35"],"secs":13,"stamp":"d4dc071373ee93ebd63735fe968b2ea0","tree":"661d91771787233138a49877a2685e3f0fb4e438","v":1,"via":"run"} Ci-Attestation: {"at":1794900359,"gate":"rust/aarch64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"0ecc864b71277c7ffb9659840975e4b606e63645c2231dc3c01aa935560ab5a5","lane":"client-lint","parents":["3e0ecc9bde29ed1d5c82c732a83ae6a3e1834e35"],"secs":13,"stamp":"ed9c1e2ddc85cde8c51bc4d46c64629d","tree":"661d91771787233138a49877a2685e3f0fb4e438","v":1,"via":"run"} Ci-Attestation: {"at":1794900359,"gate":"rust/aarch64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"0ecc864b71277c7ffb9659840975e4b606e63645c2231dc3c01aa935560ab5a5","lane":"client-lint","parents":["3e0ecc9bde29ed1d5c82c732a83ae6a3e1834e35"],"secs":13,"stamp":"c4e7d5ea8b0c16e7f604a070e609f896","tree":"661d91771787233138a49877a2685e3f0fb4e438","v":1,"via":"run"} Ci-Attestation: {"at":1794900359,"gate":"rust/aarch64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"0ecc864b71277c7ffb9659840975e4b606e63645c2231dc3c01aa935560ab5a5","lane":"client-lint","parents":["3e0ecc9bde29ed1d5c82c732a83ae6a3e1834e35"],"secs":13,"stamp":"08e037fde5c9d13641080b8aaffaefc8","tree":"661d91771787233138a49877a2685e3f0fb4e438","v":1,"via":"run"} Ci-Attestation: {"at":1794900359,"gate":"rust/aarch64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"0ecc864b71277c7ffb9659840975e4b606e63645c2231dc3c01aa935560ab5a5","lane":"client-lint","parents":["3e0ecc9bde29ed1d5c82c732a83ae6a3e1834e35"],"secs":13,"stamp":"67c00d4ec5fe3e4682a1bbf60bd8d797","tree":"661d91771787233138a49877a2685e3f0fb4e438","v":1,"via":"run"} Ci-Attestation: {"at":1794900359,"gate":"rust/x86_64-apple-darwin/client-clippy","host":"linux-x86_64","key":"0ecc864b71277c7ffb9659840975e4b606e63645c2231dc3c01aa935560ab5a5","lane":"client-lint","parents":["3e0ecc9bde29ed1d5c82c732a83ae6a3e1834e35"],"secs":13,"stamp":"ea42a630e64f919837ec8300c710b8e9","tree":"661d91771787233138a49877a2685e3f0fb4e438","v":1,"via":"run"} Ci-Attestation: {"at":1794900359,"gate":"rust/x86_64-apple-darwin/client-dylint","host":"linux-x86_64","key":"0ecc864b71277c7ffb9659840975e4b606e63645c2231dc3c01aa935560ab5a5","lane":"client-lint","parents":["3e0ecc9bde29ed1d5c82c732a83ae6a3e1834e35"],"secs":13,"stamp":"55c2163077d8f86f825904c38ab0187f","tree":"661d91771787233138a49877a2685e3f0fb4e438","v":1,"via":"run"} Ci-Attestation: {"at":1794900359,"gate":"rust/x86_64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"0ecc864b71277c7ffb9659840975e4b606e63645c2231dc3c01aa935560ab5a5","lane":"client-lint","parents":["3e0ecc9bde29ed1d5c82c732a83ae6a3e1834e35"],"secs":13,"stamp":"895e9f97e909efebb65aded70ec429cf","tree":"661d91771787233138a49877a2685e3f0fb4e438","v":1,"via":"run"} Ci-Attestation: {"at":1794900359,"gate":"rust/x86_64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"0ecc864b71277c7ffb9659840975e4b606e63645c2231dc3c01aa935560ab5a5","lane":"client-lint","parents":["3e0ecc9bde29ed1d5c82c732a83ae6a3e1834e35"],"secs":13,"stamp":"4799d5d9d78ec2444f5c3a49600675ba","tree":"661d91771787233138a49877a2685e3f0fb4e438","v":1,"via":"run"} Ci-Attestation: {"at":1794900359,"gate":"rust/x86_64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"0ecc864b71277c7ffb9659840975e4b606e63645c2231dc3c01aa935560ab5a5","lane":"client-lint","parents":["3e0ecc9bde29ed1d5c82c732a83ae6a3e1834e35"],"secs":13,"stamp":"b61c60e80309542081bd7a46ab8b1120","tree":"661d91771787233138a49877a2685e3f0fb4e438","v":1,"via":"run"} Ci-Attestation: {"at":1794900359,"gate":"rust/x86_64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"0ecc864b71277c7ffb9659840975e4b606e63645c2231dc3c01aa935560ab5a5","lane":"client-lint","parents":["3e0ecc9bde29ed1d5c82c732a83ae6a3e1834e35"],"secs":13,"stamp":"a4949e12958e9cdbb828aedcee6f5409","tree":"661d91771787233138a49877a2685e3f0fb4e438","v":1,"via":"run"} Ci-Attestation: {"at":1794901244,"gate":"rust/x86_64-unknown-linux-gnu/client-test","host":"linux-x86_64","key":"722283362861be83b5007cf892e40614113b44900d218227291d0d66e851c513","lane":"client-test-x86_64-unknown-linux-gnu","parents":["3e0ecc9bde29ed1d5c82c732a83ae6a3e1834e35"],"secs":784,"stamp":"7b6acba9acd83bd317d38eeece241497","tree":"661d91771787233138a49877a2685e3f0fb4e438","v":1,"via":"run"} Client-Checks: {"checks":{"base":"3ea35fc19440a41d82a83791e325baaf8b36ed7f","coverage":"all-tracked-applicable-files","diff":[".github/workflows/build-project.yaml","ci/test_tier2_build_setup.py","ci/test_tier2_kept_tree.py","ci/tier2_kept_tree.py"],"head":"6ad338020c8e405533eddc965343cae9140685ec","tools":{"orchestrator-python":"3.13.15 (main, Aug 14 2026, 15:34:59) [Clang 22.1.3 ]","schema-dependencies":"3.13.15 (main, Aug 14 2026, 15:34:59) [Clang 22.1.3 ]\n{'jsonschema': '4.26.0', 'json_source_map': '1.0.5'}","uv":"uv 0.13.5 (x86_64-unknown-linux-gnu)","xmllint":"xmllint: using libxml version 21504\n compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 DTDValid HTML C14N Catalog XPath XPointer XInclude Iconv ISO8859X Regexps Automata RelaxNG Schemas Modules Debug"},"tracked-digest":"a1b3e727019f0df76aa39a23a7185e932d035a61c2be06b8aca388c9e3b319c7","tree":"661d91771787233138a49877a2685e3f0fb4e438"}} * test(ci): RED for the setup-soldr persistent-root pin ci/test_ci_toml.py now expects setup-soldr 735b5e6cc889fd53bfcc74595345a1799b4f68c0 (forge-ci/setup-soldr#674, the persistent-root input), whose cook layer prefix is cook-base-v4-. The workflows still pin d01d9bae and ci.toml still declares cook-base-v3-, so test_deps_family_matches_the_pinned_setup_soldr_cook_prefix and test_disabled_store_has_no_retention_protection fail. Refs obs-rust#4954 * ci: pin setup-soldr 735b5e6 for persistent-root on the Dell forge-ci/setup-soldr#674 adds persistent-root. On a self-hosted runner it auto-detects /var/cache/obs-runner/.persistent-cache and keeps cache-dir, RUSTUP_HOME, CARGO_HOME and soldr's zccache in slots/<runner>/setup-soldr/<os>-<arch>-u<uid>. It then skips every Actions cache restore and save (setup, solo-toolchain, soldr-mini, cargo-registry, build, target, cook), the S3 tier and the ancestor lookup. A .clean marker makes it crash safe, and a cache-ledger output reports per-layer hits, bytes and time saved. GitHub-hosted runners ignore it. The repository variable SETUP_SOLDR_PROFILE=hosted (wired in the previous commit) turns it off without a commit. The new pin's cook layers are cook-base-v4- (forge-ci/setup-soldr#513), so ci.toml's deps family moves with it. Refs obs-rust#4954 Ci-Attestation: {"at":1794901572,"gate":"data/all/compatibility","host":"linux-x86_64","key":"","lane":"client-checks","parents":["bb9a55283ea254e376cfe0667e94d2caf4ca5dfa"],"secs":122,"stamp":"8f8b3b4525b9c7ce63353210504c82f7","tree":"709e8ea395c8f0de8cf37b3f16f87d6f6e46fb45","v":1,"via":"run"} Ci-Attestation: {"at":1794901572,"gate":"data/all/flatpak-manifest","host":"linux-x86_64","key":"","lane":"client-checks","parents":["bb9a55283ea254e376cfe0667e94d2caf4ca5dfa"],"secs":122,"stamp":"5e08a91eb0b875faec579d8d876a33f0","tree":"709e8ea395c8f0de8cf37b3f16f87d6f6e46fb45","v":1,"via":"run"} Ci-Attestation: {"at":1794901572,"gate":"data/all/qt-xml","host":"linux-x86_64","key":"","lane":"client-checks","parents":["bb9a55283ea254e376cfe0667e94d2caf4ca5dfa"],"secs":122,"stamp":"fdac8e7fa21d9bab2cc16200a865516e","tree":"709e8ea395c8f0de8cf37b3f16f87d6f6e46fb45","v":1,"via":"run"} Ci-Attestation: {"at":1794901572,"gate":"data/all/services-schema","host":"linux-x86_64","key":"","lane":"client-checks","parents":["bb9a55283ea254e376cfe0667e94d2caf4ca5dfa"],"secs":122,"stamp":"5552ba3e3ee3cd113f6963c30a77b523","tree":"709e8ea395c8f0de8cf37b3f16f87d6f6e46fb45","v":1,"via":"run"} Ci-Attestation: {"at":1794901448,"gate":"general/all/client-lint","host":"linux-x86_64","key":"8c218a1694e80fac245c0ea37270072b4b310c09e3957ad15e4fda4f64c50d80","lane":"client-lint","parents":["bb9a55283ea254e376cfe0667e94d2caf4ca5dfa"],"secs":18,"stamp":"ed3d5cba14265ffc137d087746ebcf1e","tree":"709e8ea395c8f0de8cf37b3f16f87d6f6e46fb45","v":1,"via":"run"} Ci-Attestation: {"at":1794901572,"gate":"python/all/self-test","host":"linux-x86_64","key":"","lane":"client-checks","parents":["bb9a55283ea254e376cfe0667e94d2caf4ca5dfa"],"secs":122,"stamp":"442d1abf90c4f1a2cce17b219ccbcf16","tree":"709e8ea395c8f0de8cf37b3f16f87d6f6e46fb45","v":1,"via":"run"} Ci-Attestation: {"at":1794901449,"gate":"rust/aarch64-apple-darwin/client-clippy","host":"linux-x86_64","key":"8c218a1694e80fac245c0ea37270072b4b310c09e3957ad15e4fda4f64c50d80","lane":"client-lint","parents":["bb9a55283ea254e376cfe0667e94d2caf4ca5dfa"],"secs":18,"stamp":"517e75b15402fd3f1c3244c15bee35cc","tree":"709e8ea395c8f0de8cf37b3f16f87d6f6e46fb45","v":1,"via":"run"} Ci-Attestation: {"at":1794901449,"gate":"rust/aarch64-apple-darwin/client-dylint","host":"linux-x86_64","key":"8c218a1694e80fac245c0ea37270072b4b310c09e3957ad15e4fda4f64c50d80","lane":"client-lint","parents":["bb9a55283ea254e376cfe0667e94d2caf4ca5dfa"],"secs":18,"stamp":"bc65df2a16d6d60e29ec2ab618c6feae","tree":"709e8ea395c8f0de8cf37b3f16f87d6f6e46fb45","v":1,"via":"run"} Ci-Attestation: {"at":1794901448,"gate":"rust/aarch64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"8c218a1694e80fac245c0ea37270072b4b310c09e3957ad15e4fda4f64c50d80","lane":"client-lint","parents":["bb9a55283ea254e376cfe0667e94d2caf4ca5dfa"],"secs":18,"stamp":"7a649250fea6046eb9bbbc608907d1aa","tree":"709e8ea395c8f0de8cf37b3f16f87d6f6e46fb45","v":1,"via":"run"} Ci-Attestation: {"at":1794901448,"gate":"rust/aarch64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"8c218a1694e80fac245c0ea37270072b4b310c09e3957ad15e4fda4f64c50d80","lane":"client-lint","parents":["bb9a55283ea254e376cfe0667e94d2caf4ca5dfa"],"secs":18,"stamp":"23a3a801977aa6d9eab544eb4c3716d8","tree":"709e8ea395c8f0de8cf37b3f16f87d6f6e46fb45","v":1,"via":"run"} Ci-Attestation: {"at":1794901448,"gate":"rust/aarch64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"8c218a1694e80fac245c0ea37270072b4b310c09e3957ad15e4fda4f64c50d80","lane":"client-lint","parents":["bb9a55283ea254e376cfe0667e94d2caf4ca5dfa"],"secs":18,"stamp":"03e5fe5cda5118c9e31bdaf5d610f9f2","tree":"709e8ea395c8f0de8cf37b3f16f87d6f6e46fb45","v":1,"via":"run"} Ci-Attestation: {"at":1794901448,"gate":"rust/aarch64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"8c218a1694e80fac245c0ea37270072b4b310c09e3957ad15e4fda4f64c50d80","lane":"client-lint","parents":["bb9a55283ea254e376cfe0667e94d2caf4ca5dfa"],"secs":18,"stamp":"835924a0331e9f60cf0d9d5f484b4848","tree":"709e8ea395c8f0de8cf37b3f16f87d6f6e46fb45","v":1,"via":"run"} Ci-Attestation: {"at":1794901448,"gate":"rust/x86_64-apple-darwin/client-clippy","host":"linux-x86_64","key":"8c218a1694e80fac245c0ea37270072b4b310c09e3957ad15e4fda4f64c50d80","lane":"client-lint","parents":["bb9a55283ea254e376cfe0667e94d2caf4ca5dfa"],"secs":18,"stamp":"60c2b95e5724830a2785c2d16137eb24","tree":"709e8ea395c8f0de8cf37b3f16f87d6f6e46fb45","v":1,"via":"run"} Ci-Attestation: {"at":1794901448,"gate":"rust/x86_64-apple-darwin/client-dylint","host":"linux-x86_64","key":"8c218a1694e80fac245c0ea37270072b4b310c09e3957ad15e4fda4f64c50d80","lane":"client-lint","parents":["bb9a55283ea254e376cfe0667e94d2caf4ca5dfa"],"secs":18,"stamp":"2a857f5218dede5a424645f3f7129e93","tree":"709e8ea395c8f0de8cf37b3f16f87d6f6e46fb45","v":1,"via":"run"} Ci-Attestation: {"at":1794901448,"gate":"rust/x86_64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"8c218a1694e80fac245c0ea37270072b4b310c09e3957ad15e4fda4f64c50d80","lane":"client-lint","parents":["bb9a55283ea254e376cfe0667e94d2caf4ca5dfa"],"secs":18,"stamp":"3a8c4e7e52e115ada75f45aa05d4abbd","tree":"709e8ea395c8f0de8cf37b3f16f87d6f6e46fb45","v":1,"via":"run"} Ci-Attestation: {"at":1794901448,"gate":"rust/x86_64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"8c218a1694e80fac245c0ea37270072b4b310c09e3957ad15e4fda4f64c50d80","lane":"client-lint","parents":["bb9a55283ea254e376cfe0667e94d2caf4ca5dfa"],"secs":18,"stamp":"e1bdc31ba5e7ca987f1e90ab4ab20492","tree":"709e8ea395c8f0de8cf37b3f16f87d6f6e46fb45","v":1,"via":"run"} Ci-Attestation: {"at":1794901448,"gate":"rust/x86_64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"8c218a1694e80fac245c0ea37270072b4b310c09e3957ad15e4fda4f64c50d80","lane":"client-lint","parents":["bb9a55283ea254e376cfe0667e94d2caf4ca5dfa"],"secs":18,"stamp":"220ae22cd805814c97d3ac62ed8f88a1","tree":"709e8ea395c8f0de8cf37b3f16f87d6f6e46fb45","v":1,"via":"run"} Ci-Attestation: {"at":1794901448,"gate":"rust/x86_64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"8c218a1694e80fac245c0ea37270072b4b310c09e3957ad15e4fda4f64c50d80","lane":"client-lint","parents":["bb9a55283ea254e376cfe0667e94d2caf4ca5dfa"],"secs":18,"stamp":"a7d55a2f0acfcc2bafc4e0aec64df386","tree":"709e8ea395c8f0de8cf37b3f16f87d6f6e46fb45","v":1,"via":"run"} Ci-Attestation: {"at":1794902066,"gate":"rust/x86_64-unknown-linux-gnu/client-test","host":"linux-x86_64","key":"befabe2329213342637b8b6a40d235477d471d609298a78655f3009a95c77119","lane":"client-test-x86_64-unknown-linux-gnu","parents":["bb9a55283ea254e376cfe0667e94d2caf4ca5dfa"],"secs":493,"stamp":"055a3e1af0eabdbd20802c02ed7acbde","tree":"709e8ea395c8f0de8cf37b3f16f87d6f6e46fb45","v":1,"via":"run"} Client-Checks: {"checks":{"base":"3ea35fc19440a41d82a83791e325baaf8b36ed7f","coverage":"all-tracked-applicable-files","diff":[".github/workflows/ai-rebase.yaml",".github/workflows/build-project.yaml",".github/workflows/release-rust.yaml","ci.toml","ci/test_ci_toml.py","ci/test_tier2_build_setup.py","ci/test_tier2_kept_tree.py","ci/tier2_kept_tree.py"],"head":"4384c20e3642feac717a57c88ecdd4848af09c2f","tools":{"orchestrator-python":"3.13.15 (main, Aug 14 2026, 15:34:59) [Clang 22.1.3 ]","schema-dependencies":"3.13.15 (main, Aug 14 2026, 15:34:59) [Clang 22.1.3 ]\n{'jsonschema': '4.26.0', 'json_source_map': '1.0.5'}","uv":"uv 0.13.5 (x86_64-unknown-linux-gnu)","xmllint":"xmllint: using libxml version 21504\n compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 DTDValid HTML C14N Catalog XPath XPointer XInclude Iconv ISO8859X Regexps Automata RelaxNG Schemas Modules Debug"},"tracked-digest":"828fbed5acd73f6d49daa8d47d266e3198cdd70b075e4b31ef02fc2e7c940a46","tree":"709e8ea395c8f0de8cf37b3f16f87d6f6e46fb45"}}
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.
Adds a
persistent-rootinput (proposal P4 in obs-rust/obs-studio#4954).On a self-hosted runner whose storage outlives the job (the Dell E640, now tmpfs plus a btrfs mirror), every Actions-cache restore and save moves files that are already on the runner. On the obs-studio Tier 2 job, setup-soldr took 70–90 s per job, mostly cache round trips.
What it does
cache-dir, soldr's zccache directory,RUSTUP_HOMEandCARGO_HOMEall move under the root.""/auto): readsSETUP_SOLDR_PERSISTENT_DESCRIPTOR,/var/cache/soldr-store/descriptor.json(JSON{"schema":1,"store":...}), or obs-runner's/var/cache/obs-runner/.persistent-cachemarker. The root is<store>/slots/<RUNNER_NAME>/setup-soldr/<os>-<arch>-u<uid>. The uid keeps root-owned container jobs and runner-user host jobs apart..cleandurably (unlink, then fsync of the directory).sync -f, and only then writes.cleanatomically (write to tmp, fsync, rename, fsync the directory). It does this only if main completed.cache-ledgeroutput on every profile, plus one log line.hit/partial/miss, bytes and duration.SETUP_SOLDR_PROFILE=hostedturns it off everywhere. Any failure falls back to the hosted profile with a warning; a persistent root never fails a job.Tests
__tests__/persistent-root.test.ts(22 cases):restoreCachecall site insrc/;resolveSetuplayout;npm test: 1135 pass, 0 fail.test:select-checkpasses; lint and typecheck are clean.tests/: the only failures are the 4test_rust_ci_workflow.pyfailures that also fail onmain.Refs obs-rust/obs-studio#4954