Skip to content

fix(backend): drop CI guardrail references to files deleted in WS-G cleanup - #12740

Merged
kodjima33 merged 1 commit into
mainfrom
watchdog/ci-manifest-stale-test-ref
Sep 4, 2026
Merged

kodjima33 merged 1 commit into
mainfrom
watchdog/ci-manifest-stale-test-ref

Conversation

@kodjima33

@kodjima33 kodjima33 commented Sep 4, 2026 •

Copy link
Copy Markdown
Collaborator

Bug

The Backend unit suite CI lane (added in c094859, merged this morning) fails unconditionally on every PR to main:

  • backend/tests/slow_guardrail_manifest.txt lists tests/unit/test_ws_g_module_aliases.py, which was deleted by a7bc5fd0c2 (WS-G 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 backend/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 a7bc5fd0c2.

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.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

🤖 automated by hourly watchdog — tested and merged

Review in cubic

…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

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Re-trigger cubic

@kodjima33
kodjima33 merged commit e396cc3 into main Sep 4, 2026
42 checks passed
@kodjima33
kodjima33 deleted the watchdog/ci-manifest-stale-test-ref branch September 4, 2026 14:44
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant