docs: decoupled fetch/compute canary confirmation (Stage C gate CLEAR) - #246
Merged
Merged
Conversation
…ciency Real-write 400-card canary against the #237 decoupling implementation confirms the fetch-wait bottleneck is resolved: projected full-pool wall-clock drops from ~15.7-16h to ~10.5-10.9h, near the design's ~10.2h target. Also documents a benign pg_type_typname_nsp_index migrate race seen during the preceding prod rebuild. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This was referenced Jul 21, 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.
Summary
Lands the finished decoupled fetch/compute confirming canary report + one troubleshooting entry. Report-only (no code); the code it confirms (
#228design →#237implementation) is already on master. This is the report that was stranded on its worktree branch after the prior session was ejected.docs/reports/2026-07-20-decoupled-canary-confirm.md(new, 239 lines)docs/troubleshooting.md(+40 lines): the benignpg_type_typname_nsp_indexUniqueViolation startup race, confirmed self-healing.Result — GATE CLEAR
First real at-scale confirmation the
#237decoupling fix worked (400-card prod canary,run_id stagec-canary-decoupled-20260720T235127Z, real write, exit 0):Per-card
--profileconfirmation:corr(extraction_ms, wall_ms)=0.9998,corr(fetch_ms, wall_ms)=-0.249— fetch is now decoupled from compute wall-clock, not just an aggregate-throughput inference. Index-not-store posture re-verified (only rawbytescross the fetch/compute boundary; profile JSONL holds ids + ms floats only).All 5 gate conditions clear. Phase 2 (20k cohort + Stage D dry-run) was NOT run — that is the unblocked next step, still gated on a fresh explicit owner GO.
Verification
ImageEvidence.objects.filter(run_id=...).count()→ 400; spot-checked row has all new signal fields non-null.Up, no restart.Open items
WORKERS.mdworktree-coordination gap (confirmed a 2nd time this run) — unresolved, flagged for the next long-running worktree dispatch.