From 97cb428de6242ee83f95a19c308bb048d863f291 Mon Sep 17 00:00:00 2001 From: repo-worker-tmp-code-b Date: Wed, 11 Nov 2026 08:37:47 -0600 Subject: [PATCH] ci(scripts-test): run the hardware-doc-init regression suite (#7597) scripts/tests/test_hardware_doc_init.py (the 9-test fixture-oracle suite for the #6890 hardware-doc-init branch-routing fix, PR #7035) was run by no workflow, flake check, or recipe, so the routing contract could regress silently in a script that runs automatically in the devshell. scripts-test.yml now runs it alongside the other named Python suites, with a test -f guard so a renamed suite fails loudly instead of matching zero files. Verified locally: the step commands report Ran 9 tests, OK. --- .github/workflows/scripts-test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/scripts-test.yml b/.github/workflows/scripts-test.yml index 657adfff8b..a1f444fe94 100644 --- a/.github/workflows/scripts-test.yml +++ b/.github/workflows/scripts-test.yml @@ -38,6 +38,10 @@ jobs: run: python3 -m unittest discover -s scripts/tests -p 'test_classify_failure.py' -v - name: Run bitwarden-load-secrets multiline contract tests (#5650) run: python3 -m unittest discover -s scripts/tests -p 'test_bitwarden_load_secrets.py' -v + - name: Run hardware-doc-init branch-routing regression tests (#7597) + run: | + test -f scripts/tests/test_hardware_doc_init.py + python3 -m unittest discover -s scripts/tests -p 'test_hardware_doc_init.py' -v - name: Run provider retirement gate contract tests (#5610) run: python3 -m unittest discover -s scripts/tests -p 'test_check_provider_retirement_gate.py' -v - name: Run auto-format workflow contract tests (#7664)