Repository navigation
chore(ops): prepare dry-run source image retention policy - #23777
Git-on-my-level wants to merge 3 commits into
Conversation
Render a local cleanup-policy proposal that retains deployed and rollback digests, named releases and recent versions. Keep all images whenever reference coverage is incomplete. No cloud writes or active apply path.
Codex Review SummaryThis 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. |
Require explicit OCI manifest graph coverage alongside runtime, Jobs and rollback evidence. A missing graph attestation keeps every image. Add the reviewer's regression scenario and document the fifth coverage surface.
Include the separately owned app-schema CI repair from PR23780, per lead rulings 30d64d and dbe170. Preserve the reviewed registry proposal files.
|
Folding batch (2026-11-04): this branch's tip was merged into the survivor PR #24477 ( |
|
Hey @Git-on-my-level 👋 Thank you so much for taking the time to contribute to Omi! We truly appreciate you putting in the effort to submit this pull request. After careful review, we've decided not to merge this particular PR. Please don't take this personally — we genuinely try to merge as many contributions as possible, but sometimes we have to make tough calls based on:
Before your next PR, please skim:
If this was declined for direction or taste, maintainers should cite an invariant ID or open a proposed one — ask if that citation is missing. Your contribution is still valuable to us, and we'd love to see you contribute again in the future! If you'd like feedback on how to improve this PR or want to discuss alternative approaches, please don't hesitate to reach out. Thank you for being part of the Omi community! |
Prepare a local, dry-run-only retention proposal for the old
omi/omisource-build image history in the production regional source-deploy repository. The renderer retains 100 recent versions per package, release tags and supplied protected runtime/rollback digests; missing Cloud Run, GKE, Job, rollback or OCI manifest graph coverage adds a repository-wide keep-all hold.The command only reads a local snapshot and prints JSON with
cleanupPolicyDryRun: true. It has no cloud client, installer, delete command, workflow wiring or active-mode option. The runbook names the evidence needed before a separately approved dry-run installation. Current inventory has dev GKE and rollback coverage gaps, so its output includes the keep-all hold. This PR does not authorize deletion or install any cloud policy.Validation: targeted
BACKEND_UNIT_TEST_FILE_LISTshard throughbackend/test.sh, four workers underomi-heavyandnice -n 19: 16 tests passed. Tests cover each of the five missing reference surfaces, non-boolean coverage, invalid scope/digests, stale/future snapshots, protected digests and release/recent retention. The actual local CLI is exercised against the collected snapshot; preflight results follow below.Product invariants: no product behavior or customer data-plane changes; the local proposal keeps every image when evidence is incomplete.
Decision packet: workspace
data/run-2026-10-12-subscription-overhaul/reports/regclean-decision-1027.md. ANX: https://anx.scalingforever.com/o/david-zhang/w/omi/r/card:regclean-n10-dry-run-1027Additional validation:
make preflightpassed 33 checks; PR-body preflight passed 33 checks; all normal pre-push gates passed, including backend type checking (zero errors), runtime image source closure, selected unit tests and pinned formatting. No cloud policy was installed or changed.After incorporating the separately owned main-branch CI repair from #23780, both targeted files pass locally: 16 registry tests and 14 app-schema inventory tests. The three registry file blobs are unchanged from the revision that received independent Luna delta SHIP. CI is verified against the integration head separately.