Repository navigation
fix(backend): give readiness source checks bounded headroom - #25566
Merged
Merged
Conversation
…udget Failure-Class: FC-readiness-qualified-without-runtime-source-check
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Git-on-my-level
added a commit
that referenced
this pull request
Nov 17, 2026
…25575) # Pusher release receipt: treat downward-API defaults as absent Failure-Class: none This follows up the panel finding on #25559 (review-20261117t034958-0138, F1 and F2, accepted). The API server defaults `fieldRef.apiVersion` to `v1` and `resourceFieldRef.divisor` to `1`. `pod_template_semantic_projection` already normalizes the API defaults it knows about: probe defaults, empty env values, null secret refs and resource quantities. It copied downward-API `valueFrom` blocks verbatim. A chart that omits those fields could therefore never match its own live Deployment. That's why every dev Pusher qualification from 2026-11-09 until #25559 failed at "Record exact live development Pusher deployment receipt". #25559 fixed the one chart entry. This change fixes the comparison, so the next downward-API env entry can't reintroduce the failure. - **`pusher_release_receipt.py`:** the projection now fills in `fieldRef.apiVersion=v1` and `resourceFieldRef.divisor=1` before hashing. - **`test_verify_pusher_promotion_evidence.py`:** a rendered template without the defaults hashes equal to a live one with them. A changed `fieldPath` still differs. This also triggers a Pusher dev qualification at a fresh `main`. #25566 changed `backend/scripts` after the last qualification, and Pusher admission compares all of `backend/scripts`. So prod Pusher, which conversations v3 needs, can't be admitted until a qualifying push lands. ## Verification `tests/unit/test_verify_pusher_promotion_evidence.py`, `test_serving_podmonitoring_chart.py`, `test_runtime_percent_export.py`: 99 passed. UI-Evidence: none -- backend release tooling only 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/BasedHardware/omi/pull/25575?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/25575?returnTo=https%3A%2F%2Fgithub.com%2FBasedHardware%2Fomi%2Fpull%2F25575&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.
A production metadata-readiness probe exhausted its 15-second source-cleanliness cap. A later source-only diagnostic completed cleanly in 14.641372 seconds. Give that stage up to 30 seconds within the unchanged 50-second overall deadline. Preserve exact HEAD, full tracked/untracked checks, remaining-deadline caps and existing Pod, resource, SQL and custody guards. The extended deadline regression fails against the former cap; no fixed SQL-time reservation is promised.
Bind the actual
f71357404767derivative and unpublished draft448153636. All 13 originala79982bblayers remain identical; the sole added layer replaces/opt/runner/readiness.py. Only three runtime provenance labels change. Frozen source97074, migrations 1–8, dependencies, supervisor and process guard remain fixed. The 28-payload fixture includes the actual derivative recipe, verifier and closed manifest/proof, retaining 58 test cases. The failed full rebuild's ENOSPC receipt is preserved. Legacy exporter validator-path metadata was reconciled separately after AST-equivalence and full archive revalidation, preserving the original receipt and image bytes.Validation:
Fresh native AMD64 qualification, resource-bound source-to-credential-refusal proof, all 58 fixture cases, immutable registry publication and a later admitted metadata probe remain required. This PR changes source and artifact inputs; Firestore remains authoritative and the final authority cutover stays David-owned.
Failure-Class: FC-readiness-qualified-without-runtime-source-check