ci: register the two tests that make main fail its own guard
validate_test_execution_registry.py fails on clean origin/main right now:
Python test execution registry validation failed:
- tests/test_ci_r2_cache_census.py: test exists but has no execution registry entry
- tests/test_sync_test_wiring.py: test exists but has no execution registry entry
That validator runs in guards / workflow-guard-tests / preflight. ci-status declares guards as a direct need and accepts only success or skipped from it, so this fails a required check on every pull request that resyncs with main. #13670 merged the census test at 17:38Z without a registry entry; #13733 and #13730 both hit it within the hour.
What each test needed
tests/test_ci_r2_cache_census.py already had its guard step β ci-guards.yml, group ci, added by #13670 β and was missing only the registry entry.
tests/test_sync_test_wiring.py had neither, so it also gets a step, in group preflight. The linux-guard lane requires the test path to appear in some workflow's text; that second error was the validator reporting exactly this, and adding only the registry entry reproduces it:
tests/test_sync_test_wiring.py: linux-guard lane is not run by any workflow
Both tests run clean on Linux with no macOS or Xcode dependency, which is what puts them in linux-guard rather than an inventory lane.
This is not #13710 or #13712
Both of those register the same nine tests, and all nine are already on main β I checked the current tests/test-execution.toml. Neither covers either of these two, so neither fixes the current failure. They look stale and worth closing.
Validation
$ RUNNER_TEMP=/tmp/rt python3 scripts/ci/validate_test_execution_registry.py
Python test execution registry valid: 222 tests (legacy=61, linux-guard=100, macos-cli-no-socket=48,
macos-cli-no-socket-post-fish=11, macos-shell=1, macos-shell-fish=1)
Guard tests covering the workflow edit, all run locally with RUNNER_TEMP set:
tests/test_ci_workflow_guards_are_wired.py rc=0 all workflow guards are wired
tests/test_ci_guard_workflow_structure.py rc=0 PASS: reusable guard workflow structure
tests/test_ci_actionlint_covers_every_workflow.py rc=0 actionlint covers every workflow
tests/test_ci_change_areas.py rc=0 PASS: CI change area filter
tests/test_ci_self_hosted_guard.sh rc=0 PASS
And both registered tests themselves pass: tests/test_ci_r2_cache_census.py rc=0, tests/test_sync_test_wiring.py rc=0.
Remaining gap: this fixes the two entries main is missing today. It does not add a guard that would have caught #13670 landing an unregistered test in the first place β the validator already exists and would have caught it on that PR, so the gap is in why that PR merged red, not in the validator.
π€ Generated with Claude Code
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.
Summary by cubic
Fixes the CI execution registry validation that is currently failing on origin/main, which breaks a required check on every PR that resyncs with main.
- Registers
tests/test_ci_r2_cache_census.pyintests/test-execution.toml; it already had a guard step and only needed the registry entry. - Registers
tests/test_sync_test_wiring.pyand adds apreflightguard step in.github/workflows/ci-guards.yml; it had neither. - This does not overlap with #13710 or #13712βthe nine tests those register are already on main and neither covers these two.