Repository navigation
Description
Problem and goal
Execute approved D1/R2 cloud storage workloads and publish raw measurements, dated price, durability and source metadata. Does not evaluate recall or recommend shards.
Version and design basis
Version: V4. Settled design: https://github.com/developing-today/code/blob/main/doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-c/versioned-design.md#9133-benchmark-contract-s21s23-s216 (section: #9133 benchmark contract (S2.1–S2.3, S2.16)).
Tier: contingent. Start trigger: Only after approved credentials, finite spend cap, named region and representative corpus snapshot/digest are available; this task itself runs fixture-only tests and makes no cloud call.
Statement IDs: S2.1, S2.2, S2.3, S2.16
Enables: evidence inputs to #9134/#9135 placement research
Scope and ownership
Parent: #9133 (native component/meta parent).
pkgs/id/benchmarks/run_cloud.py(new; owner: C9133-CLOUD)pkgs/id/benchmarks/validate_results.py(new; owner: C9133-CLOUD)pkgs/id/benchmarks/tests/test_cloud_preflight.py(new; owner: C9133-CLOUD)doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-c/results/cloud-run.v1.json(new; owner: C9133-CLOUD)doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-c/results/cloud-run.v1.md(new; owner: C9133-CLOUD)
Hard dependencies (native blockers): C9133-01 — result-v1 schema and benchmark crate interface; C9133-02-D1 — D1 adapter and native counter extraction; C9133-02-R2 — R2 adapter and native counter extraction
Soft sequencing (not blockers): none
Test / evidence first
Create or validate pkgs/id/benchmarks/validate_results.py first. Proposed command: python3 -I pkgs/id/benchmarks/validate_results.py --input doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-c/results/cloud-run.v1.json
Oracle: research-matrix — expected Cloud result includes provider/region/corpus digest, raw D1/R2 storage samples, provider-native operation units, dated price-source, durability/RPO, replica semantics and errors; no search/shard recommendation. The separate preflight fixture rejects malformed runner arguments before side effects.; verifier: Owned provider-results validator checks D1 row billing fields and R2 Class A/B/storage units, dated prices, durability and raw samples; owned fixture preflight test uses a fake side-effect recorder to verify parser rejection before credentials/network/locks/writes/spend, with zero provider calls..
Done and rollback
Done when the declared oracle passes and test/evidence output plus changed-file summary is attached. Research evidence: https://developers.cloudflare.com/d1/platform/limits/; https://developers.cloudflare.com/d1/platform/pricing/; https://developers.cloudflare.com/r2/pricing/; https://developers.cloudflare.com/r2/api/s3/conditional-operations/; doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-c/benchmark-plan.json.
Rollback: Stop run and revoke run-scoped credentials if a preflight gate fails; retain any completed billable output with invalid/incomplete status and do not claim a winner. No automatic provider-side rollback is assumed.
Manifest SHA-256 approval binding: 3b5bce3523945bf5adaa28739f0b90b7b70ff1d6522b4ac827246654e8ff6b06.
Acceptance criteria
- The cloud-backed storage evidence run is executed with the strict preflight validator (parent research(atlas): benchmark harness — D1 vs R2 vs laptop redb vs laptop Turso, shards x growth #9133): the run starts only after approved credentials, a finite spend cap, a named region and a representative corpus snapshot/digest are in place, and the evidence is recorded here.
- Evidence for the result (test run, live check, or the delivered artifact) is linked on this issue.
- Follow-on work, if any remains, is filed as its own issue and linked here.
Activity
developing-today commentedon Nov 14, 2026
CODE-3611
dezren39 commentedon Nov 14, 2026
Agent note — task 17036 preflight recorded (lane any-a): C9133-CLOUD native blockers #10153 + #10162 + #10163 OPEN — task self-blocked
Native-blocker preflight (fresh, 2026-11-14T17:23Z):
Result: the blocker gate is NOT clear. Per the packet's mandatory preflight instruction, no implementation was performed and task 17036 is self-blocked as a broker dependency block on #10153 + #10162 + #10163; the broker returns it to the pool automatically when all three close, and the preflight then re-runs fresh (including the contingent-trigger check).
dezren39 commentedon Nov 17, 2026
Triaged — already routed of record (task 19138, lane code-d, 2026-11-16): issue #10187 carries no status/needs-triage; its work task 17036 is dep-blocked and the blockers are still open.
Fresh verification (2026-11-17T06:12Z):
dezren39 commentedon Nov 17, 2026
Agent note — task 17036 preflight re-run (lane any-u): native blockers ALL CLOSED — contingent trigger still unmet; task remains blocked on the trigger
Native-blocker preflight (fresh, 2026-11-17, two sources —
gh issue viewand the GitHub native dependencies APIGET /issues/10187/dependencies/blocked_by, which lists exactly these three):The dep-block on native issues is therefore discharged — all three closed 2026-11-17.
Contingent trigger — NOT met (unchanged): the slice is tier contingent; its start trigger requires approved credentials, a finite spend cap, a named region, and a representative corpus snapshot/digest to be available. None of the four is recorded as available on this issue or in the packet, and per the packet contingent work must not start before its trigger. No implementation was performed and no cloud call was made. The fixture-only validator/runner work (
pkgs/id/benchmarks/run_cloud.py,validate_results.py,tests/test_cloud_preflight.py) and the results artifacts (results/cloud-run.v1.json/.md) all belong to the triggered run and wait with it.dezren39 commentedon Nov 18, 2026
Triage verdict (code-g scheduled lane, 2026-11-18): fresh state checked. Hard native blockers appear closed: C9133-01 = #10153, C9133-02-D1 = #10162, C9133-02-R2 = #10163 (all CLOSED). Parent #9133 remains OPEN. The start trigger is still external: approved credentials, finite spend cap, named region and corpus snapshot/digest. Not started and no cloud call made. Verdict: contingent, awaiting owner approval of the start trigger. No follow-on packet is routed until that approval exists.
dezren39 commentedon Nov 18, 2026
Picked up — triage #10187 (task 20503, lane oc-code-01).
Revalidating the existing verdict and owner-gated trigger. The issue already carries
status/blocked,queue/blocked, andwork/assignedfor routed task 17036; leaving those labels untouched while this triage claim is active.22 remaining items
dezren39 commentedon Nov 29, 2026
🤖 Census note — lane CEN-C10 (Xaltha seat), 2026-11-29. Full body + all comments re-read firsthand for Drew's issue census.
pkgs/id/benchmarks/run_cloud.py+validate_results.py+tests/test_cloud_preflight.py, results toresults/cloud-run.v1.json/.md; no cloud call before the trigger fires.priority/normal(no priority label was set; contingent evidence run feeding design(atlas): D1 tenant hot cache — admission, invalidation, Turso-hop skip #9134/research(atlas): tenant store placement — in-D1 vs SQLite files synced to S3/R2 #9135).developing-today-fleet commentedon Nov 29, 2026
Census 2026-11-29 (Felix): full recheck of this issue — details, labels, blockers, priority (rechecked from scratch; prior detail did not exempt it).
STRENGTHS:
GAPS FOUND:
FIXES I APPLIED:
REMAINS: nothing — ready for pickup
developing-today-fleet commentedon Nov 29, 2026
Issue census — 2026-11-29
Wave-2 residual pass. A parallel census note (
Census 2026-11-29 (Felix)) already covers this issue today, and wave 1 of this census audited the head of this group; their verdicts are not duplicated here. This note records only the residual fixes applied after re-verifying the live state (state, body, labels, recent comments) immediately before editing.Residual gaps found: no
kind/*label (a parallel census note today left it for the picking-up lane; set here from the title/body); noapp/*/area/*label although the owning project is clear from the title/body; noeffort/*label; no acceptance-criteria section.Actions taken: labels added:
kind/test,app/atlas,effort/m; appended## Acceptance criteria(original body text unchanged above it).Priority:
priority/normalretained — matches the work's urgency as evidenced on the issue; no band change in this pass.developing-today-fleet commentedon Nov 30, 2026
🤖 Agent note · claimed — lane 2122-N (delta PRESS run, 2026-11-29 21:22 CST)
Premise + ownership check (issue + ALL 13 comments read, two agreeing reads:
gh issue view+gh apicomments):pkgs/id/benchmarks/validate_results.py(strict validator, created first per the body),pkgs/id/benchmarks/run_cloud.py(preflight-gated runner: refuses without approved credentials / finite spend cap / named region / corpus snapshot+digest, makes no cloud call in fixture mode), andpkgs/id/benchmarks/tests/test_cloud_preflight.py(fixture-only tests), modelled on the existingvalidate_local_results.py/run_local.py/result-v1.schema.json.cloud-run.v1.json/.mdresults — those stay contingent on the approved-credentials/cap/region/corpus trigger named in the body; no measurements will be fabricated.Intended outcome: PR via the Git-API contents route, verified by reading the full diff, merged under the standing merge authority; evidence posted here.
feat(id-benchmarks): strict cloud (D1/R2) result validator for #10187
feat(id-benchmarks): contingent-trigger preflight gate for the cloud …
test(id-benchmarks): fixture-only cloud preflight + validator tests (#…
Merge pull request #17061 from developing-today/lane/2122n-10187-clou…
developing-today-fleet commentedon Nov 30, 2026
🤖 Agent note · fixture slice landed — lane 2122-N (delta PRESS, 2026-11-29)
PR #17061 MERGED 2026-11-30T03:38:58Z, merge commit
43a7c8f652d29a62108cf3ac115d987112b803af(verified by two reads:gh pr viewstate/mergedAt + merge API response).Landed (new files only,
pkgs/id/benchmarks/):validate_results.py— strict validator forid-atlas-cloud-result/v1: recomputes embedded corpus/fixture digests; exactly one D1 + one R2 run; raw operation samples ≥5/op with flattened parity; raw storage samples; provider-native billed units; dated pricing (URL + date + USD); durability/RPO + replica semantics per engine; rejects local-only scope, local engines, and zero-provider-call results.run_cloud.py— contingent-trigger preflight gate: refuses (exit 3, item named, credential values never printed) on missing credentials/keys, non-finite or non-positive spend cap, blank region, or corpus-digest mismatch; fixture mode validates-then-writes; a passing preflight without a fixture exits 4 and makes no cloud call.tests/test_cloud_preflight.py— fixture-only tests, oracle-named for the research(atlas): benchmark harness — D1 vs R2 vs laptop redb vs laptop Turso, shards x growth #9133 contract; local quick check passed all five groups ("cloud preflight + validator fixture tests passed").Still open on #10187 (unchanged): the live D1/R2 run and its
cloud-run.v1.json/cloud-run.v1.md— contingent on approved credentials + finite spend cap + named region + corpus snapshot/digest, per the issue body. No measurements were fabricated. This lane's claim is released; the issue stays open for the contingent run.developing-today-fleet commentedon Nov 30, 2026
Claim — lane 0622-J (delta PRESS, 2026-11-30). Taking the gate-independent slice of #10187: the strict-preflight runner scaffold —
pkgs/id/benchmarks/run_cloud.pyplus its fixture testpkgs/id/benchmarks/tests/test_cloud_preflight.py— which validates arguments, corpus digest, region, spend cap and credential presence and rejects BEFORE any side effect (zero provider calls), exactly as the body's verifier describes. The credentialed evidence run itself (approved credentials, finite spend cap, named region, corpus snapshot) remains gated and is NOT part of this slice;validate_results.pyalready landed via lane 2122-N / PR #17061 and is not redone. Claim-scanned live: newest activity is 2122-N's fixture-slice landing (2026-11-30T03:39Z), no live claim on this remainder. Priority validation 0622-J: priority/normal concurred.developing-today-fleet commentedon Nov 30, 2026
Stand-down / claim correction — lane 0622-J (delta PRESS, 2026-11-30). My claim above (7279155836) rested on a stale premise: the preflight slice is already landed. Verified firsthand this pass:
pkgs/id/benchmarks/run_cloud.pyandpkgs/id/benchmarks/tests/test_cloud_preflight.pyare both on main; the preflight test landed 2026-11-30T03:38:06Z ("test(id-benchmarks): fixture-only cloud preflight + validator tests (#10187)"), alongside lane 2122-N's validator work (PR #17061). Nothing in that slice remains for this lane to do, and the claim is released. What remains on #10187 is only the credentialed evidence run itself — gated on approved credentials, a finite spend cap, a named region and a corpus snapshot, which is a Drew-reserved spend step, not lane work. Wake: credentials + spend cap approved for the run, then executerun_cloud.pyand validate the results withvalidate_results.py.