Repository navigation
deploy(listen): re-pin the reviewed evidence scripts tree (SCA-5315) - #26839
Merged
Merged
Conversation
Git-on-my-level
force-pushed
the
sca-5315/listen-evidence-tree-repin
branch
from
December 1, 2026 01:40
945f06c to
6d28557
Compare
Nizarius
added a commit
that referenced
this pull request
Dec 1, 2026
…in shard 8/8 red since #26828) (#26853) ## What changed and why `tests/unit/test_rollout_cohort_deploy.py::test_helm_retains_legacy_fallbacks[prod-backend-listen]` and `[prod-pusher]` have been red on main since `197be6283a` (#26828), which is why "Backend unit shard 8/8" fails on main and on every PR that merges it. The test holds the listen and pusher charts' allow-lists in place "until a later removal PR". #26828 was that removal for `SPEAKER_GROUPING_SHADOW_UID_ALLOWLIST` (the retired speaker-grouping shadow: prod serves `SPEAKER_GROUPING_SHADOW: off`), and set the key to `""` in both prod charts. The test still asserted the key is non-empty. #26828's own CI was green because a chart edit does not select this test file. One line: the assertion now pins the cleared value. The key must still be present, and the other fallbacks (`DREAM_AGENT_UID_ALLOWLIST`, and for listen `SYNC_LINEAGE_RESOLVE_UID_ALLOWLIST` and `STT_LIVE_DEMAND_UID_ALLOWLIST`) are asserted non-empty as before. No chart or config file is touched. Not in this PR: mapping the listen and pusher chart paths to this test in `backend/scripts/select_backend_unit_tests.py`, so the next removal fails on its own PR. Say if you want it here. The other two red tests on main are separate: `test_flag_budget.py` (review dates of 2026-11-30, #26600) and `test_listen_overlay_workflow.py` (the evidence scripts pin, #26839). ## Product invariants affected none ## How it was verified `cd backend && .venv/bin/python -m pytest tests/unit/test_rollout_cohort_deploy.py -q` on main `0d04614136`: 2 failed before (the two prod parameters, `assert ''`), 10 passed after. ## Tests The changed test is the regression test. No product code changed. ## UI evidence UI-Evidence: none -- test only ## Failure class (fixes) Failure-Class: none 🤖 Generated with [Claude Code](https://claude.com/claude-code)
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.
What changed and why
Update the Listen evidence workflow's
reviewed_scripts_treefromfc54ba6c0c1a407b709acf9cf964c4868210cc93to8f7869ce5f401d53040abdac398c2d810ca81f26, the.github/scriptstree of remotemainat2b0a79b82c86f3feeb03923b08fc4d08c2da0c60. The stale pin fails the Listen workflow contract test and blocks staged evidence before Python runs. This one-line re-pin follows #26732 and tracks SCA-5315.The initial tree delta to
912027199fa9b50413b9b4a2977e97cfd40a4348addedworker_shadow_percent_only.pyandtest_worker_shadow_percent_only.py. Both Git blobs match the independently reviewed #26825 commit65dc10b126e7d808bb45b9b3afb5716a70e510e6. These additions are outside the Listen evidence execution path.Since that tree, #26835 changed only the
BASELINEimage digest inpusher_image_only.pyandpusher_image_only_detect.pyunder.github/scripts, fromfd5fb969…tob2e9996b…. Both Pusher script blobs on currentmainmatch #26835 commit8b0142795b86c56ea34d5cb96b793540851a4340. The Pusher scripts are outside the Listen evidence execution path.Product invariants affected
How it was verified
refs/heads/main, resolved its.github/scriptstree, and compared the old-to-new trees and both added blobs against the reviewed head.backend/tests/unit/test_listen_overlay_workflow.pypassed with the re-pin.actionlint .github/workflows/gcp_backend_listen_helm.ymlandgit diff --checkpassed.Tests
The existing
test_evidence_uses_control_sha_and_exact_candidate_not_deploy_for_evidencecovers the pin against the checkout's scripts tree. Verification used local tests without dispatching a workflow.UI evidence
UI-Evidence: none -- workflow constant only
Failure class (fixes)
Failure-Class: none