Repository navigation
Raise the hosted sessions indexer mapping cap from 20 to 25 - #636
khaliqgant wants to merge 1 commit into
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 33 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
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. |
There was a problem hiding this comment.
🔍 Devin Review: 2 flags
Not posted on this PR by your GitHub settings — view them in Devin Review. (Configure)
[Medium impact] The PR appears safe to merge.
|
|
@khaliqgant, on the existing #636 branch, please identify the incumbent operator and link the D5 disposition, ownership handoff, and any exact protected saved-plan receipt showing only the mapping cap changing from 20 to 25. The workflow on this head exposes adoption and the increase; please identify the reviewed code path back to 20 as well. Please keep any private plan artifacts in their approved location and return only a sanitized receipt. |
Capacity step
The watcher verified the live event source mapping cap of 20 at 08:17 UTC. The incident brief reports about 12,000 visible messages and about two hours of indexing lag. The watcher reconstructed time at or above 20 from Lambda REPORT lines. The 79% figure includes the reconcile slot and is an upper bound. The estimate is 69% with that slot excluded.
The candidate raises the cap to 25, a 25% increase in the ceiling. The previous trial at 25 was reverted after DB lock waits. The watcher saw zero Lambda throttles and no pointer-index failures or statement timeouts in the observed window at 20. The merge and production hold stays in place pending direct DB lock-wait, connection and CPU headroom evidence, plus function and regional concurrency headroom.
Protected CI path
The existing workflow gains a
raise-indexer-capoperation. It pins the target in code and permits exactly one in-place 20-to-25 update. Both plan and apply check the same gate, and the apply uses the same saved plan. The gate rejects imports, drift, a different live baseline, and unrelated changes. The default import-only operation retains the original baselines.After D5 static PASS and green CI, layered-infra-ops reviews. Before dispatching the production plan, confirm the zero-diff ownership handoff, the protected apply role's existing mapping permission, the live cap, and function/account concurrency headroom. After the protected apply, read back the enabled mapping at 25 and compare queue depth, oldest age, indexing lag, throttles, downstream lock waits, and DLQ depth. AWS Lambda mapping and reserved concurrency guidance
Scope is the mapping cap. No IAM or DLQ redrive changes are included.
Local proof
git diff --checkpassed.