Repository navigation
Add guarded batch worker shadow-percent writer (SCA-5315) - #26825
Merged
Merged
Conversation
Co-authored-by: multica-agent <[email protected]>
Co-authored-by: multica-agent <[email protected]>
Git-on-my-level
added a commit
that referenced
this pull request
Dec 1, 2026
…26839) ## 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](#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](#26825) commit `65dc10b126e7d808bb45b9b3afb5716a70e510e6`. These additions are outside the Listen evidence execution path. Since that tree, [#26835](#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 <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/BasedHardware/omi/pull/26839?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="View guided diff" src="https://www.cubic.dev/buttons/review-in-cubic-light.svg"></picture></a> <a href="https://www.cubic.dev/action/auto-fix/pr/BasedHardware/omi/26839?returnTo=https%3A%2F%2Fgithub.com%2FBasedHardware%2Fomi%2Fpull%2F26839&source=description" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"><img alt="Turn on auto-fix" src="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"></picture></a> <!-- End of auto-generated description by cubic. -->
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.
Summary
BATCH_PIPELINE_SHADOW_PERCENTvalue changed.Verification
make preflightpassed all 14 selected checks.python3 -m unittest discover -s .github/scripts -p 'test_worker*.py'passed 93 tests.preview. This PR made zero production writes.SCA-5315