Skip to content

chore(ops): prepare dry-run source image retention policy - #23777

Closed
Git-on-my-level wants to merge 3 commits into
mainfrom
lane/regclean-n10-dry-run
Closed

Git-on-my-level wants to merge 3 commits into
mainfrom
lane/regclean-n10-dry-run

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

Prepare a local, dry-run-only retention proposal for the old omi/omi source-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_LIST shard through backend/test.sh, four workers under omi-heavy and nice -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-1027

Additional validation: make preflight passed 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.

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.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-27T05:47:16.789028Z cf90916 New commits
ℹ️ 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.

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.
@Git-on-my-level

Copy link
Copy Markdown
Member Author

Folding batch (2026-11-04): this branch's tip was merged into the survivor PR #24477 (feat/cv1-release-safety), which now carries origin/main plus all sixteen folded branches; pushed as 88c7ec5. Both sides' conflict intents were preserved (main's evolved implementations win where a successor of the same intent had already landed). Closing here so the batch lives on one PR. Reopen if something you need is missing from the survivor.

@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

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:

  • Project standards — Ensuring consistency across the codebase
  • User needs — Making sure changes align with what our users need
  • Code best practices — Maintaining code quality and maintainability
  • Project direction — Keeping aligned with our product principles and locked invariants

Before your next PR, please skim:

  • PRODUCT.md — product north star
  • Product invariants — locked rules (shared chat, memory tiers, agent control plane, integrations, brand)

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!

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