Skip to content

deploy(listen): re-pin the reviewed evidence scripts tree (SCA-5315) - #26839

Merged
Git-on-my-level merged 1 commit into
mainfrom
sca-5315/listen-evidence-tree-repin
Dec 1, 2026
Merged

Git-on-my-level merged 1 commit into
mainfrom
sca-5315/listen-evidence-tree-repin

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

What changed and why

Update the Listen evidence workflow's reviewed_scripts_tree from fc54ba6c0c1a407b709acf9cf964c4868210cc93 to 8f7869ce5f401d53040abdac398c2d810ca81f26, the .github/scripts tree of remote main at 2b0a79b82c86f3feeb03923b08fc4d08c2da0c60. 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 912027199fa9b50413b9b4a2977e97cfd40a4348 added worker_shadow_percent_only.py and test_worker_shadow_percent_only.py. Both Git blobs match the independently reviewed #26825 commit 65dc10b126e7d808bb45b9b3afb5716a70e510e6. These additions are outside the Listen evidence execution path.

Since that tree, #26835 changed only the BASELINE image digest in pusher_image_only.py and pusher_image_only_detect.py under .github/scripts, from fd5fb969… to b2e9996b…. Both Pusher script blobs on current main match #26835 commit 8b0142795b86c56ea34d5cb96b793540851a4340. The Pusher scripts are outside the Listen evidence execution path.

Product invariants affected

  • INV-DATA-1. The workflow continues to enforce the exact reviewed scripts tree before running staged evidence code.

How it was verified

  • Queried remote refs/heads/main, resolved its .github/scripts tree, and compared the old-to-new trees and both added blobs against the reviewed head.
  • On Apple M1 Max, the named Listen regression test failed on the old pin. All 41 tests in backend/tests/unit/test_listen_overlay_workflow.py passed with the re-pin.
  • actionlint .github/workflows/gcp_backend_listen_helm.yml and git diff --check passed.
  • Repository preflight and PR metadata validation passed.

Tests

The existing test_evidence_uses_control_sha_and_exact_candidate_not_deploy_for_evidence covers 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

View guided diff Turn on auto-fix

@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 1 file

Confidence score: 5/5

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

View guided diff | Turn on auto-fix | Re-trigger cubic

@Git-on-my-level
Git-on-my-level force-pushed the sca-5315/listen-evidence-tree-repin branch from 945f06c to 6d28557 Compare December 1, 2026 01:40
@Git-on-my-level
Git-on-my-level merged commit c90b242 into main Dec 1, 2026
75 checks passed
@Git-on-my-level
Git-on-my-level deleted the sca-5315/listen-evidence-tree-repin branch December 1, 2026 02:28
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)
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