Repository navigation
perf: skip policy reads for terminal projection followup parts - #25370
Conversation
|
Independent Luna source review: SHIP for exact head The reviewer confirmed normal Review receipt: independent Luna thread. |
…receipt-policy-read
Exact-head successor source reviewCollected2026-11-15 08:18Z. Independent Luna source-only review, taskb1a1f3b5-0d17-4e0d-b2c7-dae7d2315625. No live child remains. SHIP for exact candidate The change moves the per-part policy lookup after the This is a source-only verdict: I did not run tests or inspect CI or serving state. Those checks remain with the parent. PR #25370, head 813961e, checks and reviews: not independently inspected; verdict covers the specified source scope only. |
|
Exact-head qualification readat2026-11-15T08:56:25.953245+00:00 for #25370, head813961ee1bd7e4de9925addc170e5bd04d30da91. GitHub remainsOPEN/MERGEABLE at this read. No newsourcepush or CIrerun. Current head check view is terminal: 38SUCCESS,25SKIPPED,zeroFAILURE/CANCELLED/PENDING. All8backendunitshards andBackendunitsuite,emulatorproofs,bothstackgauntlets andcurrentmetadata preflight succeeded. Backend unit run:https://github.com/BasedHardware/omi/actions/runs/43693275371 . Currentmetadata run:https://github.com/BasedHardware/omi/actions/runs/43693826235 . I investigated the cancelled-check report rather than ignoring it. Complete same-head check-run history(filter=all) contains70runs:40success,29skipped,1cancelled. The cancelled job is historicalPRMetadataPreflight run43693553894,created08:14:19, cancelled08:17:49. Its successful replacement43693826235 wascreated08:17:46, completed08:22:16; both arepull_requestevents/attempt1/exact813. The workflowrepo-checks.yml explicitly runsedited/labeled/unlabeledmetadata in its own cancel-in-progress lane. This is consistent with automatic metadata-edit supersession; no code/test failure was rerun to green or waived by this session. The historical cancellation is retained in the dated all-runs evidence. The latest current check view contains no cancellation. Independent exact-head Luna source reviewSHIP is posted at #25370 (comment) . Canonical local fast70passed, separate canonical slow2051passed,normalpre-pushEXIT0 and remoteexacthead verified. Change-specific production/test blobs unchanged from929 after normalmain41merge; currentmain mergeability is independentlyverified. No new fullreview/sourceupdate is needed to mask the oldmetadata cancellation. ExistingRelease alone owns canonical merge and runtime admission. This is the small redundant terminal-policy-read cut, not serving/savings proof. Consider it for the already-planned finalpost25379build only if normallymerged before that buildstarts. Do not hold a ready quality/costrollout, rerun/rebuild or assumeinclusion. Actualcarrier ancestry governs. No flags,capacity,privacy,state,index or provider release change. |
Follow-up retries fetch a projection policy even when the part is already ready or quarantined and immediately returns. Return before that unused fetch, removing one transaction/job read on the ordinary pinned-policy path. Unfinished parts retain policy resolution and refusal before side effects; the surrounding persisted-receipt and completion transactions are unchanged.
This is a small additional cut for the Firestore intervention. It must not delay #25314 or the admitted recovery-default restoration. Savings are not booked before production measurement.
Validation
813961ee1bd7e4de9925addc170e5bd04d30da91normally merges main41d6ab74e7b7c6a69695bfdb47c0cea9f87f40a0, including shared guard repair fix(tests): repair two guards left red on main by the summaries changes #25372. The change-specific file blobs are unchanged from the preceding head.scripts/run-slow-guardrails-ci.sh: 2,051 passed, 1,471 deselected. This is the repository's distinct slow guardrail recipe.Product invariants affected
none
Failure-Class: none
Batch pipeline tuning
No capacity, concurrency, cadence, retry interval, state, retention, allowance or policy values change. The existing ready/quarantined no-op guard moves ahead of an unused policy fetch. No new state or queue is introduced.
Rollback
Revert this commit through the normal source/release path. No migration, flag or production change is included.