Skip to content

fix(backend): give readiness source checks bounded headroom - #25566

Merged
Git-on-my-level merged 1 commit into
mainfrom
lane/jobstore-source-budget
Nov 17, 2026
Merged

Git-on-my-level merged 1 commit into
mainfrom
lane/jobstore-source-budget

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

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 f71357404767 derivative and unpublished draft 448153636. All 13 original a79982bb layers remain identical; the sole added layer replaces /opt/runner/readiness.py. Only three runtime provenance labels change. Frozen source 97074, 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:

  • All 74 public operator tests passed, plus nine focused source fixture tests and three delta discriminators.
  • Exact OCI/config, 14 layers, original layer prefix, sole-file delta, four base proof files, and archive/part/fixture/draft hashes verified.
  • Repository preflight passed all 36 checks.

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

View guided diff Turn on auto-fix

…udget

Failure-Class: FC-readiness-qualified-without-runtime-source-check
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-17T05:16:17.380935Z 56a00fa PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

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
Git-on-my-level merged commit ed4bfcf into main Nov 17, 2026
67 checks passed
@Git-on-my-level
Git-on-my-level deleted the lane/jobstore-source-budget branch November 17, 2026 05:44
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. -->
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