Repository navigation
fix(ops): pin permanent enrichment queue capacity (replaces #25027) - #25067
Merged
Merged
Conversation
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. |
This was referenced Nov 10, 2026
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.
What and why
Publish the already-reviewed #25027 queue-config patch as one replacement on current main. Supersedes #25027 because main churn after #25019/#25021 left the old PR DIRTY and its two-push limit is exhausted. Do not push the old branch again; leave #25027 open for merge-desk to close after the replacement is green.
Permanent production values remain
enrichment-fresh30 concurrent / 10 dispatches/s and primaryenrichment300 concurrent / 25 dispatches/s, per lead2 ruling008024(2026-11-10). Independent config hunks preserve primary capacity during a fresh-only rollback. Named, asserted intentional staging divergences retain primary 50/25 and fresh 5/2. This publication adds no behavior or scope beyond the reviewed candidate; retry and admission policy are unchanged.The existing operational Firestore-pressure guard may temporarily lower live fresh concurrency to 15 while retaining 10 dispatches/s; Git remains 30/10. Re-evaluate the 168h age gate after the backlog drains. Only
cl2-deployapplies production configuration; this work applied none.Refs and prior verdict
44e120beae04e94153c263a8201f04cfeafb6c2bon fix(ops): pin permanent enrichment queue capacity #25027. Earlier review verdict: Codex review completed at that exact head with no findings (2026-11-10 17:12:31 UTC). This is historical evidence, not a replacement-head CI or review verdict.909a2e8bd516380bf9a6a3d698fa117e501d6216, based on720f078b33dde3872f5156fb87a961ffec2300c7; its recorded result was 1,079 focused tests and 37 preflight checks green.9fc3d64dc2e62c14acbfe4e77d33344cb13fdda0(origin/main, fetched 2026-11-10).a69af6cd4bf075b0780e561d9c63cfea25017447(replacement push 1/2).lane/pipeline-25027-replacement.The candidate merge commit was cherry-picked relative to its second parent (
git cherry-pick -m 2 909a2e8b) onto current main. It applied cleanly. The stable patch ID is identical for the reviewed diff and replacement diff:8839886f923ca8e0a10ee366e7ab8fe630318db8. No rebase, force push, or additional PR merge. #25019 (720f078b33dde3872f5156fb87a961ffec2300c7) and #25021 (9fc3d64dc2e62c14acbfe4e77d33344cb13fdda0) are already merged in this base. #25019's production repair admission limit of 8, service-env spend-cap assertions, and debt ordering are preserved exactly as merged. #25021's pending-first-summary admission is preserved. Query/index/registry, repair service, summary config, and runtime manifests remain identical to this base; only the five reviewed files differ.Plan row: L3 notes queue bundle, replacement of #25027 -> #25032 -> #25020. #25021 and #25019 are already merged. Stop after publication for fresh CI and delta-only Luna review; no deploy or merge.
Verification
Repository:
BasedHardware/omi, replacement worktree on m1. Evidence layer: local source/config/docs contracts and pre-push checks; no live production measurement. All checks use the worktree-ownedbackend/.venvthroughbin/omi-heavy run --, with GCP credentials unset:All 1,079 focused tests passed on this exact head, including all seven canonical Firestore index-guard suites (843 tests). PR-body preflight: 37 checks passed (43.74s). Normal full pre-push: passed, including backend type checking, the selected 52-test config-train suite, and pinned Python formatting. Replacement push 1/2 was accepted; no skip hatch. Local logs:
.agent-brief/replacement-focused.log,.agent-brief/replacement-preflight.log,.agent-brief/replacement-push.log. No skip hatch.Product invariants: none — ops capacity, contract assertions, and existing operational docs only.
UI-Evidence: none — backend configuration only.
Failure-Class: none
Rollback and success metric
Use a targeted fresh-value config edit to 15 concurrent / 10 dispatches/s, applied by
cl2-deploy; primary stays 300/25 and summary-debt repair admission is preserved. Never fully revert to primary 50/25 plus fresh 5/2 during backlog. The operational fallback is temporary and leaves the permanent Git target at 30/10. Keep both queues running to drain admitted obligations; never delete or purge their tasks.Acceptance metric: owed first summaries older than 15 minutes < 1%. This is the owed success metric, not a new measured result or alert. Check handler 5xx, 409 delivery-budget cuts, executor wait, LLM request latency/errors, and title age before subsequent capacity decisions.