Repository navigation
Expand file tree
/
Copy pathci.toml
More file actions
742 lines (715 loc) · 39.5 KB
/
Copy pathci.toml
File metadata and controls
742 lines (715 loc) · 39.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
# ci.toml -- this repository's CI contract, checked by ci-lint (zackees/ci.yml
# schema 3, docs/ci-toml.md at the pin below). It generates no YAML: it bounds
# what .github/workflows/*.yaml may do, and the cache janitor
# (.github/workflows/ci-pre.yml) deletes every cache that matches no
# cache family below. Add a family before adding a cache key.
schema = 3
profile = "obs-rust"
linter = "zackees/ci.yml@24362f3e60248ebe72ffd261e5585640228cbc5d"
# -- Platforms ----------------------------------------------------------------
# The platforms PR CI builds and tests natively (build-project.yaml).
[platforms]
linux-x64 = { target = "x86_64-unknown-linux-gnu", runs-on = "ubuntu-26.04", group = "linux" }
windows-x64 = { target = "x86_64-pc-windows-msvc", runs-on = "windows-2025-vs2026", group = "windows" }
macos-arm64 = { target = "aarch64-apple-darwin", runs-on = "macos-26", group = "macos" }
# -- Suites (docs/rust-port/testing-policy.md) -------------------------------
[suites]
lint = { run = "uv run ci/local_gate.py --lane lint", required = true }
rust = { run = "uv run ci/local_gate.py --lane rust-test", required = true }
tier2 = { run = "uv run ci/local_gate.py --lane tier2-linux", required = true }
sanitizers = { run = "uv run --no-project rust/tools/sanitize/sanitize.py", gating = false }
# -- Rust ---------------------------------------------------------------------
# The schema requires these two crate globs whenever [rust.tests] is declared,
# but they describe a published amalgam with private crates behind it, which
# this repository is not: libobs-rust is the one staticlib libobs links, and
# every port crate is a workspace member re-exported through it. Empty globs
# say that, and leave RUST-011's amalgam check with nothing to inspect.
[rust]
public = ""
private = ""
# -- Rust test binaries -------------------------------------------------------
# The fan-out budget of docs/rust-port/testing-policy.md: one amalgamated test
# binary per category, so a second binary is a deliberate edit here and not
# something that appears unnoticed (RUST-005). ci/test_ci_toml.py checks the
# list against the Cargo manifests. Utilities and media I/O keep their library
# harness; the other six categories are explicit integration targets.
[rust.tests]
max-binary = "256MB"
max-total = "1GB"
binaries = [
"obs-data:test:obs-tests-core",
"obs-gpu-status:test:obs-tests-gpu",
"obs-graphics:test:obs-tests-graphics",
"obs-media-io:lib",
"obs-nvenc:test:obs-tests-codec",
"obs-preflight:test:obs-tests-preflight",
"obs-studio-rust:test:obs-tests-app",
"obs-util:lib",
]
# -- Flows --------------------------------------------------------------------
[flow.pr]
platforms = ["linux-x64"]
suites = ["lint", "rust", "tier2"]
[flow.main]
extends = "pr"
cache = "write"
[flow.release]
platforms = "all"
suites = "all"
publish = "none"
[flow.nightly]
extends = "release"
schedule = "daily"
cache = "write"
janitor = true
[tags]
ci-full = { add = { platforms = "all" } }
# -- Caches -------------------------------------------------------------------
# Only default-branch runs save (write-on); PRs and merge groups restore, so there is
# no PR delta layer. Sizes: the largest live entry of each family
# (gh api repos/obs-rust/obs-studio/actions/caches, 2026-10-15), rounded up.
[cache]
budget = "10GB"
write-on = ["main", "nightly"]
pr = { mode = "none", families = [], max-per-pr = "0MB", budget = "0MB", trim = "on-close" }
# The janitor deletes any cache matching no family. evict = "lru" families
# keep their most recently used entries up to max x cardinality.
[cache.family]
# zackees/setup-soldr verdict ledger: small entries, master publishes, PRs
# replay them (docs/ci-tooling.md). About 25 entries and 25 KB per run (#2661).
soldr-verdict = { prefix = "soldr-verdict-", max = "1MB", evict = "lru" }
# zackees/setup-soldr (build-project.yaml, release-rust.yaml).
registry = { via = "setup-soldr:cargo-registry", max = "60MB", per = "platform" }
# Fast Gate and Cross Lint share one Linux layer. Largest layers measured on
# 2026-11-03: Linux 1.20 GB, macOS 0.77 GB, Windows 0.95 GB. At 1.4 GB / 400 MB /
# 650 MB the janitor evicted one layer on each queue run, and the next master
# push saved it again (#2661).
# Declared by prefix, not `via = "setup-soldr:cook"`: the pinned linter
# (a1917ce) resolves that via to cook-base-v2-, but the pinned setup-soldr
# (9337570) writes cook-base-v3- keys, which the janitor then deleted as an
# undeclared family on every merge-queue run, so a cook layer survived only
# until the next run ended (#3166; sizes measured 2026-10-31: Linux 1.29-1.51
# GB, macOS 0.72 GB, Windows 0.80-0.84 GB). setup-soldr 735b5e6 (#4954) writes
# cook-base-v4- keys (forge-ci/setup-soldr#513 cook capture boundary).
deps = { prefix = "cook-base-v4-", max = "900MB", evict = "lru", shapes = { linux = { max = "1.4GB" }, macos = { max = "900MB" }, windows = { max = "1.1GB" } } }
# Embedded compiler-store transport is disabled at every setup-soldr callsite.
# No family: legacy setup-soldr-buildcache-v2-* entries may be reclaimed.
toolchain = { via = "setup-soldr:solo-toolchain", max = "190MB", per = "platform" }
soldr-mini = { via = "setup-soldr:soldr-mini", max = "15MB", per = "platform" }
# astral-sh/setup-uv's own cache.
uv = { via = "setup-uv", max = "50MB" }
# First-match classification: keep this specific prefix before zccache-.
# Queue OFF/ON objects share one archive, measured 248 MB on 2026-11-03
# (ci/fixtures/queue-compiler-caches.json). Independent LRU
# protection prevents newer nightly writes from evicting that queue seed.
# A run restores the newest entry, so older ones hold no reuse (#2661).
zccache-tier2 = { prefix = "zccache-tier2-linux-", max = "700MB", evict = "lru" }
# The PR asan job restores master's sanitize archive: 753,363,578 B on
# 2026-10-30 (ci/fixtures/sanitize-compiler-cache.json). At 300MB the janitor
# evicted it and PR asan jobs built cold, 40-55 min against 25 min (#1801).
# Its own family, before zccache-: inside zccache, the tsan and valgrind archives
# used the same budget, and all three were deleted on 2026-11-01 (#3501).
zccache-sanitize-asan = { prefix = "zccache-sanitize-asan-", max = "1.2GB", evict = "lru" }
zccache = { prefix = "zccache-", max = "500MB", evict = "lru", shapes = { appimage = { max = "400MB" } } }
# Phase A of #1801 (Decided 2026-10-30): the six app-build families
# (flatpak-builder, windows-ccache-x64/-arm64, zccache-ubuntu,
# xcode-x86_64/-arm64) left the Actions cache. They held 5.71 GiB and hit 9 of
# 42 restores, all on nightly, dispatch and release runs. The release-asset
# transport (#782) can bring them back outside this budget.
# The standalone compiler migration reader/writer is retired (#1801).
# AppImage (appimage.yaml): cargo and the test images' packages.
# Legacy apt-appimage- and ccache-appimage- have no consumers or live entries;
# they deliberately have no retention family (#1269).
appimage-cargo = { prefix = "cargo-appimage-", max = "500MB", evict = "lru" }
appimage-testpkgs = { prefix = "testpkgs-", max = "250MB" }
# Known CodeQL overlay bases: observed C++ ~131 MB and Python ~11 MB.
# Automatic default setup is disabled; scans run nightly in scheduled.yaml.
# Retain bounded known keys rather than letting maintenance delete them as unknown.
codeql-overlay = { prefix = "codeql-overlay-base-database-", max = "200MB", evict = "lru" }
# services-validator action.
service-check = { prefix = "service-check-", max = "1MB" }
# Pre-zccache tier2-ccache-linux- has no consumer or live entry; no family.
# Tier 2's apt downloads (#1055) and the per-target Linux plugin builds' ccache.
# Both write a new key per configuration/commit, so LRU bounds how many stay.
tier2-apt = { prefix = "tier2-apt-", max = "400MB", evict = "lru" }
targets-ccache = { prefix = "targets-ccache-linux-", max = "300MB", evict = "lru" }
# Host package archive: measured ~147 MB; isolated from container package versions.
targets-apt = { prefix = "targets-apt-", max = "200MB", evict = "lru" }
# Added on master after #957 was written.
tier2-ctest-cost = { prefix = "tier2-ctest-cost-", max = "1MB" }
# The libobs lib-module archives (#3264): one set per master commit, pruned
# to the modules that commit uses (ci/libobs_modules.py store --prune). First
# master save 4,364,569 B (d44712b79); 20MB keeps about four sets.
tier2-libobs-modules = { prefix = "libobs-modules-tier2-linux-", max = "20MB", evict = "lru" }
# October 21 snapshot: 41.4 MB Windows and 44.3 MB macOS; >3x growth room.
windows-tier2-ccache = { prefix = "windows-tier2-ccache-", max = "400MB", evict = "lru" }
macos-tier2-xcas = { prefix = "macos-tier2-xcas-", max = "200MB", evict = "lru" }
# Pruned master archive 507,448,340 B; real warm consumer working store
# 508,489,050 B. The 650M working cap preserves >25% growth room (#1269).
qt-ccache = { prefix = "qt-ccache-linux-", max = "750MB", evict = "lru" }
vcpkg-cmocka = { prefix = "vcpkg-bin-cmocka-", max = "100MB" }
# Immutable dependency archives measured 25.3/66.3 MB; each allowance >2x.
libs-qt = { prefix = "libs-qt-", max = "64MB" }
libs-ffmpeg = { prefix = "libs-ffmpeg-", max = "128MB" }
# -- Local runs (local-gate.toml) --------------------------------------------
[local]
runner = "bosn-act"
lanes = ["lint", "rust-test", "cross", "tier2-linux"]
cache = "machine"
# -- Allowlists ---------------------------------------------------------------
[allow]
workflows = { "ci.yml" = ["workflow_dispatch", "pull_request", "merge_group"], "cache-probe.yml" = ["workflow_dispatch"], "ci-pre.yml" = ["workflow_call"], "push.yaml" = ["push"], "build-project.yaml" = ["workflow_call"], "analyze-project.yaml" = ["workflow_call"], "ai-rebase.yaml" = ["push", "schedule", "workflow_dispatch", "workflow_run"], "check-format.yaml" = ["workflow_call"], "sign-windows.yaml" = ["workflow_call"], "appimage.yaml" = ["push", "workflow_call", "workflow_dispatch"], "claim-bot.yaml" = ["issue_comment", "pull_request", "schedule", "workflow_dispatch"], "dispatch.yaml" = ["workflow_dispatch"], "leaderboard.yml" = ["schedule", "workflow_dispatch"], "publish.yaml" = ["release"], "release-rust.yaml" = ["schedule", "workflow_dispatch"], "release-hygiene.yaml" = ["schedule", "workflow_dispatch"], "sanitizers.yaml" = ["workflow_call", "workflow_dispatch", "schedule"], "s3-cache-canary.yaml" = ["schedule", "workflow_dispatch"], "scheduled.yaml" = ["workflow_dispatch", "schedule"], "welcome.yaml" = ["issues", "pull_request_target"], "vcam-audio-hardware.yaml" = ["workflow_dispatch", "schedule"] }
actions = [
"actions/attest", "actions/cache", "actions/checkout", "actions/download-artifact", "actions/upload-artifact",
"andriivitiv/setup-steamcmd", "andriivitiv/steam-totp", "astral-sh/setup-uv", "cloudflare/wrangler-action",
"flatpak/flatpak-github-actions", "github/codeql-action", "google-github-actions/auth",
"korelstar/xmllint-problem-matcher", "obsproject/obs-crowdin-sync", "obsproject/obs-studio",
"peter-evans/create-pull-request", "softprops/action-gh-release", "totaldebug/sphinx-publish-action",
"yuzutech/annotations-action", "zackees/ci.yml", "zackees/setup-soldr",
]
tools = ["soldr", "uv", "uvx", "python3", "cmake", "docker", "git", "gh"]
# Release signing, publishing and service keys the upstream OBS workflows use.
secrets = [
"CF_ACCOUNT_ID", "CF_API_TOKEN", "CHECK_SERVERS_API_KEY", "CHECK_SERVERS_LIST", "CROWDIN_SYNC_CROWDIN_PAT",
"CROWDIN_SYNC_GITHUB_PAT", "FLATHUB_BETA_TOKEN", "FLATHUB_TOKEN", "GCP_IDENTITY_POOL", "GCP_SERVICE_ACCOUNT_NAME",
"GCS_ACCESS_KEY_ID", "GCS_ACCESS_KEY_SECRET", "GPU_PRIORITY_VAL", "MACOS_KEYCHAIN_PASSWORD",
"MACOS_NOTARIZATION_PASSWORD", "MACOS_NOTARIZATION_USERNAME", "MACOS_SIGNING_CERT", "MACOS_SIGNING_CERT_PASSWORD",
"MACOS_SIGNING_IDENTITY", "MACOS_SIGNING_PROVISIONING_PROFILE", "OPENROUTER_API_KEY", "AI_REBASE_TOKEN", "PVS_KEY", "PVS_NAME", "RESTREAM_CLIENTID",
"RESTREAM_HASH", "SOLDR_S3_CACHE_ACCESS_KEY", "SOLDR_S3_CACHE_SECRET_KEY", "SPARKLE_PRIVATE_KEY",
"STEAM_PASSWORD", "STEAM_SHARED_SECRET", "STEAM_USER", "TWITCH_CLIENT_ID",
"TWITCH_HASH", "YOUTUBE_CLIENTID", "YOUTUBE_CLIENTID_HASH", "YOUTUBE_SECRET", "YOUTUBE_SECRET_HASH",
]
# "contents: write" is release-rust.yaml's publishers (release, certify,
# nightly_feed) plus appimage and gate, which grant it on to the reusable
# workflows they call: a called workflow may not ask for more than its caller
# grants, and granting less made GitHub refuse to start the run (startup_failure).
# leaderboard.yml's `update` job is the other holder: it pushes to the
# leaderboard branch, so its grant sits on that job, not the top-level block.
# "issues: write" and "pull-requests: write" also name claim-bot.yaml's `claim`
# job, which routes this repo's events to the org claim bot.
# build-project.yaml's native-cache-transport writes the native build caches.
# dispatch.yaml's `services-validation` job is the same shape: it opens a PR, so
# it carries contents/checks/pull-requests writes on the job, not the top level.
# scheduled.yaml's top-level block is read-only; the jobs that write hold their
# grant on the job itself: `services-availability` opens a PR (contents/checks/
# pull-requests: write), `build-project` grants `contents: write` on to the
# reusable workflow it calls, `report-nightly-failure` files issues, and
# `analyze-project`/`codeql` upload security events (`codeql` also reads
# packages). Its two no-block jobs (`upload-language-files`, `steam-upload`) are
# upstream-only, gated on `repository_owner == 'obsproject'`.
# push.yaml's top-level block is read-only; its `create-release` job carries the
# contents: write the release action needs, `compatibility-validation` and
# `services-validation` hold checks: write, and `sign-windows-build` holds the
# attestations scope plus the id-token it hands to the upstream signing workflow.
permissions = { "actions: write" = ["cache-janitor", "cancel-superseded", "ci-pre"], "attestations: write" = ["sign-windows-build"], "checks: write" = ["validate-data", "services-validation", "compatibility-validation", "services-availability"], "contents: write" = ["appimage", "build-project", "certify", "gate", "native-cache-transport", "nightly_feed", "release", "update", "services-validation", "create-release", "services-availability"], "id-token: write" = ["sign-windows-build", "build"], "issues: write" = ["welcome", "claim", "report-nightly-failure"], "packages: read" = ["codeql"], "packages: write" = ["tier2-image"], "pull-requests: write" = ["welcome", "services-validation", "services-availability", "claim"], "security-events: write" = ["windows", "macos", "analyze-project", "codeql"] }
# setup-soldr is called from the workflows directly; there is no wrapper.
setup-soldr = { only-in = ".github/workflows", require = {} }
# Host-specific Rust code lives in each crate's src/platform/ (one cfg_select!
# in platform/mod.rs) or src/ffi/, enforced by the repo Dylint
# dylints/ban_platform_cfg_outside_boundary (AGENTS.md, testing-policy.md).
# Tests, the C oracle and the tools are exempt there too.
platform-selector = "rust/obs-util/src/platform/mod.rs"
platform-code = ["rust/*/src/platform/**", "rust/*/src/ffi/**", "rust/*/tests/**", "rust/*/benches/**", "rust/*/build.rs", "rust/obs-c-oracle/**", "rust/tools/**", "dylints/**", "ci/host_platform.py"]
[publish]
pypi = { auth = "none", environment = "none", mode = "none" }
# -- Exceptions -------------------------------------------------------------
# The ci-lint precheck baseline: findings against workflows and scripts that
# predate this ci.toml, grouped by rule. Each is reported as approved_exception
# on every run and expires 2027-04-15; burn-down: https://github.com/obs-rust/obs-studio/issues/962.
# CACHE-002: Compiler caches are keyed by commit (github.sha/run_id) on purpose: only master saves and restore-keys pick the newest.
[[exceptions]]
rule = "CACHE-002"
path = ".github/actions/services-validator/action.yaml"
reason = "Compiler caches are keyed by commit (github.sha/run_id) on purpose: only master saves and restore-keys pick the newest."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "CACHE-002"
path = ".github/workflows/appimage.yaml"
reason = "Compiler caches are keyed by commit (github.sha/run_id) on purpose: only master saves and restore-keys pick the newest."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "CACHE-002"
path = ".github/workflows/build-project.yaml"
reason = "Compiler caches are keyed by commit (github.sha/run_id) on purpose: only master saves and restore-keys pick the newest."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "CACHE-002"
path = ".github/workflows/sanitizers.yaml"
reason = "Compiler caches are keyed by commit (github.sha/run_id) on purpose: only master saves and restore-keys pick the newest."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
# CACHE-013: the nine `setup-soldr` steps in build-project.yaml. Their
# `save-cache-remote` is master-only, so no PR save exists for the rule's
# requirement to scope, while `cache-key-suffix` also reshapes the restore key:
# a pr component there would stop PR and merge-group runs restoring master's
# dependency cook cache, which ci/test_cook_profiles.py pins as shared. Tracked
# in #2741 for a decision; the `setup-uv` and `cache/save` findings in the same
# file are fixed.
[[exceptions]]
rule = "CACHE-013"
path = ".github/workflows/build-project.yaml"
reason = "setup-soldr's save-cache-remote is master-only and cache-key-suffix reshapes the restore key too; tracked in #2741."
issue = "https://github.com/obs-rust/obs-studio/issues/2741"
expires = "2027-04-15"
# CT-006: soldr's cross targets come from setup-soldr inputs and local_gate.py; a [workspace.metadata.soldr] table would change what soldr prefetches.
[[exceptions]]
rule = "CT-006"
path = "Cargo.toml"
reason = "soldr's cross targets come from setup-soldr inputs and local_gate.py; a [workspace.metadata.soldr] table would change what soldr prefetches."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
# GEN-002: Non-Linux jobs are gated by check-event outputs (ci/ci_scope.py), not the ci-lint plan.
[[exceptions]]
rule = "GEN-002"
path = ".github/workflows/analyze-project.yaml"
reason = "Non-Linux jobs are gated by check-event outputs (ci/ci_scope.py), not the ci-lint plan."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-002"
path = ".github/workflows/build-project.yaml"
reason = "Non-Linux jobs are gated by check-event outputs (ci/ci_scope.py), not the ci-lint plan."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-002"
path = ".github/workflows/check-format.yaml"
reason = "Non-Linux jobs are gated by check-event outputs (ci/ci_scope.py), not the ci-lint plan."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-002"
path = ".github/workflows/vcam-audio-hardware.yaml"
reason = "Hardware acceptance runs for the virtual camera microphone on hosted Windows x64 and macOS arm64; daily in the canonical repository and on demand, qualifying scheduled packages outside PRs and the merge gate."
issue = "https://github.com/obs-rust/obs-studio/issues/3177"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-002"
path = ".github/workflows/dispatch.yaml"
reason = "Non-Linux jobs are gated by check-event outputs (ci/ci_scope.py), not the ci-lint plan."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-002"
path = ".github/workflows/publish.yaml"
reason = "Non-Linux jobs are gated by check-event outputs (ci/ci_scope.py), not the ci-lint plan."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-002"
path = ".github/workflows/release-rust.yaml"
reason = "No plan to scope to: the workflow is schedule/workflow_dispatch only and has no precheck job, so its two macOS jobs (nightly_feed, certify) are gated by the event plus skip/verify_only, and both need macOS itself (Sparkle's sign_update EdDSA binary; the DMG codesign/notary state)."
issue = "https://github.com/obs-rust/obs-studio/issues/2768"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-002"
path = ".github/workflows/scheduled.yaml"
reason = "Non-Linux jobs are gated by check-event outputs (ci/ci_scope.py), not the ci-lint plan."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-002"
path = ".github/workflows/sign-windows.yaml"
reason = "Non-Linux jobs are gated by check-event outputs (ci/ci_scope.py), not the ci-lint plan."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
# GEN-005: Upstream OBS build/packaging scripts (zsh, PowerShell, shell); porting CI logic to Python is tracked in #962.
[[exceptions]]
rule = "GEN-005"
path = ".github/actions/build-obs/action.yaml"
reason = "Upstream OBS build/packaging scripts (zsh, PowerShell, shell); porting CI logic to Python is tracked in #962."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-005"
path = ".github/actions/package-obs/action.yaml"
reason = "Upstream OBS build/packaging scripts (zsh, PowerShell, shell); porting CI logic to Python is tracked in #962."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-005"
path = ".github/actions/steam-upload/action.yaml"
reason = "Upstream OBS build/packaging scripts (zsh, PowerShell, shell); porting CI logic to Python is tracked in #962."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-005"
path = ".github/actions/windows-analysis/Invoke-External.ps1"
reason = "Upstream OBS build/packaging scripts (zsh, PowerShell, shell); porting CI logic to Python is tracked in #962."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-005"
path = ".github/actions/windows-analysis/Logger.ps1"
reason = "Upstream OBS build/packaging scripts (zsh, PowerShell, shell); porting CI logic to Python is tracked in #962."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-005"
path = ".github/actions/windows-analysis/action.yaml"
reason = "Upstream OBS build/packaging scripts (zsh, PowerShell, shell); porting CI logic to Python is tracked in #962."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-005"
path = ".github/actions/windows-patches/Ensure-Location.ps1"
reason = "Upstream OBS build/packaging scripts (zsh, PowerShell, shell); porting CI logic to Python is tracked in #962."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-005"
path = ".github/actions/windows-patches/Invoke-External.ps1"
reason = "Upstream OBS build/packaging scripts (zsh, PowerShell, shell); porting CI logic to Python is tracked in #962."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-005"
path = ".github/actions/windows-patches/Logger.ps1"
reason = "Upstream OBS build/packaging scripts (zsh, PowerShell, shell); porting CI logic to Python is tracked in #962."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-005"
path = ".github/scripts/Build-Windows.ps1"
reason = "Upstream OBS build/packaging scripts (zsh, PowerShell, shell); porting CI logic to Python is tracked in #962."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-005"
path = ".github/scripts/Package-Windows.ps1"
reason = "Upstream OBS build/packaging scripts (zsh, PowerShell, shell); porting CI logic to Python is tracked in #962."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-005"
path = ".github/scripts/build-macos"
reason = "Upstream OBS build/packaging scripts (zsh, PowerShell, shell); porting CI logic to Python is tracked in #962."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-005"
path = ".github/scripts/build-ubuntu"
reason = "Upstream OBS build/packaging scripts (zsh, PowerShell, shell); porting CI logic to Python is tracked in #962."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-005"
path = ".github/scripts/package-macos"
reason = "Upstream OBS build/packaging scripts (zsh, PowerShell, shell); porting CI logic to Python is tracked in #962."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-005"
path = ".github/scripts/package-ubuntu"
reason = "Upstream OBS build/packaging scripts (zsh, PowerShell, shell); porting CI logic to Python is tracked in #962."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-005"
path = ".github/scripts/retry"
reason = "Upstream OBS build/packaging scripts (zsh, PowerShell, shell); porting CI logic to Python is tracked in #962."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-005"
path = ".github/scripts/utils.pwsh/Ensure-Location.ps1"
reason = "Upstream OBS build/packaging scripts (zsh, PowerShell, shell); porting CI logic to Python is tracked in #962."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-005"
path = ".github/scripts/utils.pwsh/Install-BuildDependencies.ps1"
reason = "Upstream OBS build/packaging scripts (zsh, PowerShell, shell); porting CI logic to Python is tracked in #962."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-005"
path = ".github/scripts/utils.pwsh/Invoke-External.ps1"
reason = "Upstream OBS build/packaging scripts (zsh, PowerShell, shell); porting CI logic to Python is tracked in #962."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-005"
path = ".github/scripts/utils.pwsh/Logger.ps1"
reason = "Upstream OBS build/packaging scripts (zsh, PowerShell, shell); porting CI logic to Python is tracked in #962."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-005"
path = ".github/workflows/appimage.yaml"
reason = "Upstream OBS build/packaging scripts (zsh, PowerShell, shell); porting CI logic to Python is tracked in #962."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-005"
path = ".github/workflows/build-project.yaml"
reason = "Upstream OBS build/packaging scripts (zsh, PowerShell, shell); porting CI logic to Python is tracked in #962."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-005"
path = ".github/workflows/publish.yaml"
reason = "Upstream OBS build/packaging scripts (zsh, PowerShell, shell); porting CI logic to Python is tracked in #962."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-005"
path = ".github/workflows/release-rust.yaml"
reason = "Upstream OBS build/packaging scripts (zsh, PowerShell, shell); porting CI logic to Python is tracked in #962."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-005"
path = ".github/workflows/sign-windows.yaml"
reason = "Upstream OBS build/packaging scripts (zsh, PowerShell, shell); porting CI logic to Python is tracked in #962."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-005"
path = "build-aux/appimage/AppRun"
reason = "Upstream OBS build/packaging scripts (zsh, PowerShell, shell); porting CI logic to Python is tracked in #962."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-005"
path = "build-aux/appimage/test-appimage.sh"
reason = "Upstream OBS build/packaging scripts (zsh, PowerShell, shell); porting CI logic to Python is tracked in #962."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-005"
path = "build-aux/appimage/test-apprun-driver-env.sh"
reason = "Upstream OBS build/packaging scripts (zsh, PowerShell, shell); porting CI logic to Python is tracked in #962."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-005"
path = "build-aux/steam/scripts_macos/launch.sh"
reason = "Upstream OBS build/packaging scripts (zsh, PowerShell, shell); porting CI logic to Python is tracked in #962."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-005"
path = "build-aux/steam/scripts_windows/install.bat"
reason = "Upstream OBS build/packaging scripts (zsh, PowerShell, shell); porting CI logic to Python is tracked in #962."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-005"
path = "build-aux/steam/scripts_windows/uninstall.bat"
reason = "Upstream OBS build/packaging scripts (zsh, PowerShell, shell); porting CI logic to Python is tracked in #962."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-005"
path = "rust/tools/linux-validate/validate.sh"
reason = "Upstream OBS build/packaging scripts (zsh, PowerShell, shell); porting CI logic to Python is tracked in #962."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-005"
path = "rust/tools/tier2-validate/validate.ps1"
reason = "Upstream OBS build/packaging scripts (zsh, PowerShell, shell); porting CI logic to Python is tracked in #962."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "GEN-005"
path = "rust/tools/tier2-validate/validate.sh"
reason = "Upstream OBS build/packaging scripts (zsh, PowerShell, shell); porting CI logic to Python is tracked in #962."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
# RUN-001: ubuntu-26.04, windows-2025-vs2026 and macos-26 are GitHub-hosted labels outside ci.yml's fleet list.
[[exceptions]]
rule = "RUN-001"
path = ".github/workflows/analyze-project.yaml"
reason = "ubuntu-26.04, windows-2025-vs2026 and macos-26 are GitHub-hosted labels outside ci.yml's fleet list."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "RUN-001"
path = ".github/workflows/appimage.yaml"
reason = "ubuntu-26.04, windows-2025-vs2026 and macos-26 are GitHub-hosted labels outside ci.yml's fleet list."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "RUN-001"
path = ".github/workflows/build-project.yaml"
reason = "ubuntu-26.04, windows-2025-vs2026 and macos-26 are GitHub-hosted labels outside ci.yml's fleet list."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "RUN-001"
path = ".github/workflows/check-format.yaml"
reason = "ubuntu-26.04, windows-2025-vs2026 and macos-26 are GitHub-hosted labels outside ci.yml's fleet list."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "RUN-001"
path = ".github/workflows/ci-pre.yml"
reason = "ubuntu-26.04, windows-2025-vs2026 and macos-26 are GitHub-hosted labels outside ci.yml's fleet list."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "RUN-001"
path = ".github/workflows/claim-bot.yaml"
reason = "ubuntu-26.04, windows-2025-vs2026 and macos-26 are GitHub-hosted labels outside ci.yml's fleet list."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "RUN-001"
path = ".github/workflows/dispatch.yaml"
reason = "ubuntu-26.04, windows-2025-vs2026 and macos-26 are GitHub-hosted labels outside ci.yml's fleet list."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "RUN-001"
path = ".github/workflows/ci.yml"
reason = "ubuntu-26.04, windows-2025-vs2026 and macos-26 are GitHub-hosted labels outside ci.yml's fleet list."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "RUN-001"
path = ".github/workflows/publish.yaml"
reason = "ubuntu-26.04, windows-2025-vs2026 and macos-26 are GitHub-hosted labels outside ci.yml's fleet list."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "RUN-001"
path = ".github/workflows/push.yaml"
reason = "ubuntu-26.04, windows-2025-vs2026 and macos-26 are GitHub-hosted labels outside ci.yml's fleet list."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "RUN-001"
path = ".github/workflows/release-rust.yaml"
reason = "ubuntu-26.04, windows-2025-vs2026 and macos-26 are GitHub-hosted labels outside ci.yml's fleet list."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "RUN-001"
path = ".github/workflows/sanitizers.yaml"
reason = "ubuntu-26.04, windows-2025-vs2026 and macos-26 are GitHub-hosted labels outside ci.yml's fleet list."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "RUN-001"
path = ".github/workflows/scheduled.yaml"
reason = "ubuntu-26.04, windows-2025-vs2026 and macos-26 are GitHub-hosted labels outside ci.yml's fleet list."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "RUN-001"
path = ".github/workflows/sign-windows.yaml"
reason = "ubuntu-26.04, windows-2025-vs2026 and macos-26 are GitHub-hosted labels outside ci.yml's fleet list."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
# RUST-013: setup-soldr is pinned to the soldr version the toolchain pin is tested with (testing-policy.md).
[[exceptions]]
rule = "RUST-013"
path = ".github/workflows/build-project.yaml"
reason = "setup-soldr is pinned to the soldr version the toolchain pin is tested with (testing-policy.md)."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "RUST-013"
path = ".github/workflows/release-rust.yaml"
reason = "setup-soldr is pinned to the soldr version the toolchain pin is tested with (testing-policy.md)."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
# RUST-018 is fixed in the manifest: [workspace.lints.clippy] warns on
# cognitive_complexity and too_many_lines and every existing offender carries
# an #[expect] (#2845), so there is no exception to keep here.
# SEC-001: Reusable OBS build/sign workflows receive the caller's release secrets.
[[exceptions]]
rule = "SEC-001"
path = ".github/workflows/ci.yml"
reason = "Reusable OBS build/sign workflows receive the caller's release secrets."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "SEC-001"
path = ".github/workflows/push.yaml"
reason = "Reusable OBS build/sign workflows receive the caller's release secrets."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "SEC-001"
path = ".github/workflows/release-rust.yaml"
reason = "Reusable OBS build/sign workflows receive the caller's release secrets."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "SEC-001"
path = ".github/workflows/scheduled.yaml"
reason = "Reusable OBS build/sign workflows receive the caller's release secrets."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
# SEC-002: Upstream workflows without a top-level permissions block; tracked in #962.
[[exceptions]]
rule = "SEC-002"
path = ".github/workflows/appimage.yaml"
reason = "Upstream workflows without a top-level permissions block; tracked in #962."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
[[exceptions]]
rule = "SEC-002"
path = ".github/workflows/push.yaml"
reason = "push.yaml's sign-windows-build job grants id-token: write to the upstream Windows signing reusable workflow; ci-lint's OIDC rule allows that scope only on a PyPI/crates.io publisher job (ci_lint/rules/secrets_rules.py::_is_oidc_publisher), so the grant cannot be dropped without breaking signing. The file's other SEC-002 findings are cleared (#962)."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
# TAG-003: PR runs do not read title tags, so a title edit need not re-trigger them.
[[exceptions]]
rule = "TAG-003"
path = ".github/workflows/ci.yml"
reason = "PR runs do not read title tags, so a title edit need not re-trigger them."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
# WF-003: continue-on-error on optional upstream steps (Flatpak, analysis).
[[exceptions]]
rule = "WF-003"
path = ".github/workflows/build-project.yaml"
reason = "continue-on-error on optional upstream steps (Flatpak, analysis)."
issue = "https://github.com/obs-rust/obs-studio/issues/962"
expires = "2027-04-15"
# WF-004: a job that `needs:` a gated job skips with it. Each of these eight
# cascades is what its workflow wants; the disposition and the workflow-side
# comment are in #2953.
[[exceptions]]
rule = "WF-004"
path = ".github/workflows/sanitizers.yaml"
reason = "sanitize skips with the selection job `matrix`, which is gated so a fork's schedule does not run the marathon (#1258). In this repository `matrix` always runs, so the cascade cannot hide a real skip."
issue = "https://github.com/obs-rust/obs-studio/issues/2953"
expires = "2027-04-15"
[[exceptions]]
rule = "WF-004"
path = ".github/workflows/push.yaml"
reason = "asan-cache-refresh skips with asan-cache-state, which runs only on master in this repository: a release branch, a tag and a fork have no archive to refresh."
issue = "https://github.com/obs-rust/obs-studio/issues/3501"
expires = "2027-04-15"
[[exceptions]]
rule = "WF-004"
path = ".github/workflows/ci.yml"
reason = "tier2-setup-consumer reads the producer's tier2-setup-metadata/-image artifacts, so it must skip when the producer does; the pair is the #1592 measurement probe and only runs on a master workflow_dispatch with tier2-setup-probe."
issue = "https://github.com/obs-rust/obs-studio/issues/2953"
expires = "2027-04-15"
[[exceptions]]
rule = "WF-004"
path = ".github/workflows/release-rust.yaml"
reason = "build, appimage and gate skip with `check`, which a certify dispatch skips on purpose: certification promotes an existing release and builds nothing, so the cascade is the intent."
issue = "https://github.com/obs-rust/obs-studio/issues/2953"
expires = "2027-04-15"
[[exceptions]]
rule = "WF-004"
path = ".github/workflows/appimage.yaml"
reason = "release skips with test/test-nixos when a reusable-workflow call leaves platform_tests unset (the release gate, which must never publish); release also requires a tag push."
issue = "https://github.com/obs-rust/obs-studio/issues/2953"
expires = "2027-04-15"
[[exceptions]]
rule = "WF-004"
path = ".github/workflows/scheduled.yaml"
reason = "report-nightly-failure speaks only for a scheduled failure (its own if: requires event_name == 'schedule'), and steam-upload is upstream-only (repository_owner == 'obsproject'); both cascades match those tests."
issue = "https://github.com/obs-rust/obs-studio/issues/2953"
expires = "2027-04-15"