ci: register the nine unregistered Python tests

Closed
TE
2mo ago
+40-0

validate_test_execution_registry.py fails on main. Nine tests exist with no registry entry, which fails workflow-guard-tests / preflight, then guards / Guard status, then ci-status โ€” on every open pull request, regardless of what the PR changes.

Reproduced on unmodified main (1847ef0621):

Python test execution registry validation failed:
  - tests/test_ci_actionlint_covers_every_workflow.py: test exists but has no execution registry entry
  - tests/test_ci_app_host_result_accounting.py: ...
  - tests/test_ci_selective_layer_wiring.py: ...
  - tests/test_ci_workflow_guards_are_wired.py: ...
  - tests/test_ios_screenshot_capture_guard.py: ...
  - tests/test_ios_upload_array_expansion.py: ...
  - tests/test_merge_xcstrings.py: ...
  - tests/test_release_homebrew_gate.py: ...
  - tests/test_tui_publish_dispatch_budget.py: ...

Each test arrived with its own PR and none added the entry the guard requires.

How each was classified

I checked where every one actually runs rather than assigning a lane by shape.

LaneTestsWhy
linux-guard7invoked from ci-guards.yml, which is what that lane requires
legacy2run in testbox-broker-guard.yml and ci-artifact-transport.yml; the registry models no lane for those, and the other tests those workflows run are already legacy

tests/test_ios_screenshot_capture_guard.py ran nowhere โ€” no workflow invoked it. It is a static guard over the fastlane screenshot lane's config and passes on Linux with no iOS tooling, so this wires it into ci-guards.yml beside the other release-ios guards instead of inventorying a test that never executes. That is a step, not just a registry line, so it is visible in the diff.

Validation

Python test execution registry valid: 218 tests (legacy=83, linux-guard=74,
macos-cli-no-socket=48, macos-cli-no-socket-post-fish=11, macos-shell=1, macos-shell-fish=1)

tests/test_ios_screenshot_capture_guard.py and tests/test_ci_workflow_guards_are_wired.py both pass locally. Full tests/test_ci_* sweep shows no new failures against main (test_ci_change_areas.py and test_ci_sparkle_build_monotonic.sh fail identically on unmodified main here โ€” they shell out to gh and to macOS-only tooling).

The two legacy entries are inventory, not an endorsement: modelling a real lane for tests owned by testbox-broker-guard.yml and ci-artifact-transport.yml is worth doing separately.

๐Ÿค– 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

Registers the nine Python tests missing from the test execution registry so the workflow-guard-tests / preflight guard and the ci-status checks it feeds stop failing on every open PR.

  • Seven tests already run in ci-guards.yml and are registered as linux-guard.
  • Two tests run in testbox-broker-guard.yml and ci-artifact-transport.yml and are registered as legacy, matching the other tests those workflows run.
  • tests/test_ios_screenshot_capture_guard.py ran nowhere; it's now wired into ci-guards.yml beside the other release-ios guards instead of being inventoried as a test that never executes.

Summary by CodeRabbit

  • Tests

    • Expanded automated validation for iOS release workflows, including screenshot capture failure handling.
    • Added additional checks for Linux and legacy test lanes.
  • Chores

    • Strengthened continuous integration safeguards to improve release verification consistency.