Repository navigation
fix(backend): drop CI guardrail references to files deleted in WS-G cleanup - #12740
Merged
Merged
Conversation
…leanup The `Backend unit suite` CI lane (added in c094859, merged this morning) fails unconditionally on every PR to main: - tests/slow_guardrail_manifest.txt lists tests/unit/test_ws_g_module_aliases.py, which was deleted by a7bc5fd (dead-code removal) the day before the manifest was built, so run-slow-guardrails-ci.sh exits 1 before running anything. - Once that's fixed, test_managed_call_sites_absent_from_the_inventory_fail_ci (backend/tests/unit/test_llm_gateway_coverage_guardrails.py) fails because docs/llm/model_endpoint_inventory.yaml still lists call sites in utils/llm/promotion_proposals.py and utils/llm/promotion_routes.py, also removed by a7bc5fd. Both are stale references to the same commit's deletions, not code bugs. Verified: 5 of 6 currently-open backend PRs (#12739, #12721, #12719, #12714, #12712) show this exact "Backend unit suite" FAILURE. Fix: remove the stale manifest line (with a dated note per the file's own "never silently dropped" convention) and the two stale inventory entries. Tested: `PYTHON=.venv/bin/python bash scripts/run-slow-guardrails-ci.sh` now passes (103 passed, 1 skipped, was: hard-failing before any test ran). Also ran test_llm_gateway_coverage_guardrails.py + test_firestore_query_contract.py directly: 72 passed. Failure-Class: none
This was referenced Sep 4, 2026
This was referenced Sep 4, 2026
undivisible
pushed a commit
to aryanorastar/omi
that referenced
this pull request
Sep 5, 2026
…cleanup a7bc5fd ("chore(backend): remove dead modules and orphaned WS-G promotion family") deleted backend/scripts/stt/d_test_models.py. BasedHardware#12740 swept the CI guardrail references to files that cleanup removed; two were left behind: backend/pyrightconfig.json:62 "scripts/stt/d_test_models.py" backend/tests/.import_time_side_effects_legacy:34 backend/scripts/stt/d_test_models.py The pyright one is the visible symptom. Every backend type check prints File or directory ".../backend/scripts/stt/d_test_models.py" does not exist. before doing its work. It does not fail the run, which is the problem: a config that always reports one missing include is a config where the next genuinely missing include reads as normal output. Audited both files rather than removing only the entry that surfaced. Of 29 non-comment entries in the legacy list and every non-glob path in pyrightconfig.json, this is the only stale one -- .venv and pretrained_models are gitignored directories, correctly excluded rather than missing. Verified: bash scripts/typecheck.sh reports 0 errors with no missing-file line. Failure-Class: none Co-Authored-By: Claude Opus 5 <[email protected]>
undivisible
pushed a commit
to aryanorastar/omi
that referenced
this pull request
Sep 5, 2026
…cleanup a7bc5fd ("chore(backend): remove dead modules and orphaned WS-G promotion family") deleted backend/scripts/stt/d_test_models.py. BasedHardware#12740 swept the CI guardrail references to files that cleanup removed; two were left behind: backend/pyrightconfig.json:62 "scripts/stt/d_test_models.py" backend/tests/.import_time_side_effects_legacy:34 backend/scripts/stt/d_test_models.py The pyright one is the visible symptom. Every backend type check prints File or directory ".../backend/scripts/stt/d_test_models.py" does not exist. before doing its work. It does not fail the run, which is the problem: a config that always reports one missing include is a config where the next genuinely missing include reads as normal output. Audited both files rather than removing only the entry that surfaced. Of 29 non-comment entries in the legacy list and every non-glob path in pyrightconfig.json, this is the only stale one -- .venv and pretrained_models are gitignored directories, correctly excluded rather than missing. Verified: bash scripts/typecheck.sh reports 0 errors with no missing-file line. Failure-Class: none Co-Authored-By: Claude Opus 5 <[email protected]>
undivisible
pushed a commit
that referenced
this pull request
Sep 5, 2026
…cleanup (#12748) * fix(backend): drop the last two references to a file deleted in WS-G cleanup a7bc5fd ("chore(backend): remove dead modules and orphaned WS-G promotion family") deleted backend/scripts/stt/d_test_models.py. #12740 swept the CI guardrail references to files that cleanup removed; two were left behind: backend/pyrightconfig.json:62 "scripts/stt/d_test_models.py" backend/tests/.import_time_side_effects_legacy:34 backend/scripts/stt/d_test_models.py The pyright one is the visible symptom. Every backend type check prints File or directory ".../backend/scripts/stt/d_test_models.py" does not exist. before doing its work. It does not fail the run, which is the problem: a config that always reports one missing include is a config where the next genuinely missing include reads as normal output. Audited both files rather than removing only the entry that surfaced. Of 29 non-comment entries in the legacy list and every non-glob path in pyrightconfig.json, this is the only stale one -- .venv and pretrained_models are gitignored directories, correctly excluded rather than missing. Verified: bash scripts/typecheck.sh reports 0 errors with no missing-file line. Failure-Class: none Co-Authored-By: Claude Opus 5 <[email protected]> * docs(backend): correct the allowlist header count after the removal The file's own header claimed 29 entries while the list now holds 28. That is the same stale-signal class this PR exists to clear: a header nobody recomputes is a header that quietly stops describing the file, exactly like the pyright include and manifest entry pointing at a script that was deleted. Caught in review. Failure-Class: none Co-Authored-By: Claude Opus 5 <[email protected]> --------- Co-authored-by: Claude Opus 5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bug
The
Backend unit suiteCI lane (added in c094859, merged this morning) fails unconditionally on every PR to main:backend/tests/slow_guardrail_manifest.txtliststests/unit/test_ws_g_module_aliases.py, which was deleted bya7bc5fd0c2(WS-G dead-code removal) the day before the manifest was built, sorun-slow-guardrails-ci.shexits 1 before running anything.test_managed_call_sites_absent_from_the_inventory_fail_ci(backend/tests/unit/test_llm_gateway_coverage_guardrails.py) fails becausebackend/docs/llm/model_endpoint_inventory.yamlstill lists call sites inutils/llm/promotion_proposals.pyandutils/llm/promotion_routes.py, also removed bya7bc5fd0c2.Both are stale references left behind by that same dead-code-removal commit, not code bugs. Verified 5 of 6 currently-open backend PRs (#12739, #12721, #12719, #12714, #12712) show this exact "Backend unit suite" FAILURE — this is blocking essentially all backend merges to main right now.
Fix
Remove the stale manifest line (with a dated note per the file's own "never silently dropped" convention) and the two stale inventory entries.
Tests
PYTHON=.venv/bin/python bash scripts/run-slow-guardrails-ci.shnow passes: 103 passed, 1 skipped (was: hard-failing before any test ran). Also rantest_llm_gateway_coverage_guardrails.py+test_firestore_query_contract.pydirectly: 72 passed.Failure-Class: none
🤖 automated by hourly watchdog — tested and merged