You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
infra: ci.toml does not allowlist the S3 build-cache secrets, so #3061 added 22 SEC-001 violations #3115
#3061 (merged 2026-10-30, cfcc6ae7b) enabled the setup-soldr S3 remote build cache and gave 11 zackees/setup-soldr steps in .github/workflows/build-project.yaml an env: with SOLDR_S3_CACHE_ACCESS_KEY / SOLDR_S3_CACHE_SECRET_KEY from repository secrets.
Neither name is in ci.toml's [allow].secrets, so ci-lint's SEC-001 reports every one of those references as a VIOLATION (not an approved exception). The profile is OIDC-only and ci.toml records the secrets this repository may use; the S3 keys were added to the workflow but not to that list.
Evidence
uvx --from git+https://github.com/zackees/ci.yml@a1917ce76598904ce515cd7eec83450c317ea6f2 ci-lint precheck on origin/master (1d07cff8a):
The 22 new violations are all one class, 11 pairs:
[SEC-001] VIOLATION .github/workflows/build-project.yaml:436
what: references secrets.SOLDR_S3_CACHE_ACCESS_KEY
fix: remove the dependency on secrets.SOLDR_S3_CACHE_ACCESS_KEY; this profile is OIDC-only ...
(before #3061 the same command reported 5 violations / 416 approved; the header has been 4 violation(s) plus the documented structural floor when the allowlist matches the workflows)
Why the allowlist, not removing the secrets
The remote cache is deliberate: it needs a bucket and credentials, setup-soldr takes them from those two env vars, and forks simply run without them. Removing them would remove the cache. [allow].secrets is where this repository records exactly which repository secrets its workflows may read (it already carries 34 names, including the release/signing keys), so the honest fix is to record these two there too.
Fix
ci.toml: add SOLDR_S3_CACHE_ACCESS_KEY and SOLDR_S3_CACHE_SECRET_KEY to [allow].secrets.
ci/test_ci_toml.py: a stdlib test that fails while either name is missing from the allowlist and asserts that every zackees/setup-soldr step in .github/workflows/build-project.yaml that sets one of them sets both (a half-configured cache is the failure mode that shows up as a silent cache miss).
RED: ci/test_ci_toml.py case that fails while SOLDR_S3_CACHE_ACCESS_KEY / SOLDR_S3_CACHE_SECRET_KEY are absent from [allow].secrets, and that every zackees/setup-soldr step in build-project.yaml setting one sets both.
GREEN: add both names to ci.toml[allow].secrets; the 22 SEC-001 violations clear (26 -> 4, approved unchanged).
Evidence: ci-lint precheck before/after headers plus ci/local_gate.py --only self-test.
RED 257dbde46: AllowSecretsTest fails on master for both SOLDR_S3_CACHE_* names.
GREEN ff0ce34e7: both names in [allow].secrets; precheck 26 -> 4 violations, approved 366 -> 364 (the two release-rust.yaml:244-245 S3 references now pass the allowlist).
Activity
zackees commentedon Oct 31, 2026
Claiming: investigation
Plan (one PR):
ci/test_ci_toml.pycase that fails whileSOLDR_S3_CACHE_ACCESS_KEY/SOLDR_S3_CACHE_SECRET_KEYare absent from[allow].secrets, and that everyzackees/setup-soldrstep inbuild-project.yamlsetting one sets both.ci.toml[allow].secrets; the 22 SEC-001 violations clear (26 -> 4, approved unchanged).ci/local_gate.py --only self-test.First PR within the hour.
zackees commentedon Oct 31, 2026
/ready
zackees commentedon Oct 31, 2026
Claiming: ci.toml S3-cache secrets allowlist
PR opened: #3116 (draft until CI is green).
257dbde46:AllowSecretsTestfails on master for bothSOLDR_S3_CACHE_*names.ff0ce34e7: both names in[allow].secrets; precheck 26 -> 4 violations, approved 366 -> 364 (the tworelease-rust.yaml:244-245S3 references now pass the allowlist).ci/local_gate.py --only self-testok,ruff checkclean.infra(ci): allowlist the S3 build-cache secrets (obs-rust#3061 regres…