ci: register the settings JSONC and test-wiring regressions

Merged
TE
2mo ago
+11-0

Problem

guards / workflow-guard-tests / preflight is red on main for every pull request:

Python test execution registry validation failed:
  - tests/test_cmux_settings_jsonc.py: test exists but has no execution registry entry
  - tests/test_sync_test_wiring.py: test exists but has no execution registry entry

Seen on #13724, #13727, #13730, #13733, #13735, #13737. The two tests landed today with #13218 and #13216 and never got registry entries. This is the same failure #13710 and #13731 fixed for other tests; the check runs on every event, so an unregistered test reddens main immediately.

Resulting behavior

Both tests are registered in tests/test-execution.toml on the linux-guard lane, in their sorted positions. tests/test_cmux_settings_jsonc.py runs from cmux-skill-contract.yml; tests/test_sync_test_wiring.py runs from tests/test_ci_pbxproj_test_wiring.sh, which ci.yml's Fast static checks invokes. The registry resolves a linux-guard entry by looking for the test's path in workflow text, so the pbxproj lint step now carries a comment naming the test it executes โ€” the path is documented where the execution actually happens.

Validation and remaining gap

  • python3 scripts/ci/validate_test_execution_registry.py now passes: 223 tests (legacy=61, linux-guard=101, ...)
  • RUNNER_TEMP=... python3 tests/test_ci_change_areas.py passes
  • actionlint .github/workflows/ci.yml is clean
  • Remaining gap, as #13731 noted: the registry is hand-maintained beside the workflows, so the next test that lands without an entry reddens main again. Generating it from the workflows is still open.

๐Ÿค– Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.


Summary by cubic

Fixes the guards / workflow-guard-tests / preflight check red on main by registering two tests that landed without execution registry entries.

  • Adds tests/test_cmux_settings_jsonc.py and tests/test_sync_test_wiring.py to tests/test-execution.toml on the linux-guard lane.
  • Documents in ci.yml that the pbxproj lint step also runs one of the registered tests, since the registry matches tests to workflow text.

Summary by CodeRabbit

  • Documentation

    • Added clarification to the automated validation workflow, making test execution checks easier to understand and maintain.
  • Tests

    • Registered two additional regression checks in the Linux validation lane.
    • Improved coverage for configuration synchronization and settings-file validation.
    • No changes to application functionality or end-user behavior.