Skip to content

Cloud-backed storage evidence run with strict preflight validator #10187

Open

Description

@dezren39

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

  1. developing-today commented on Nov 14, 2026

    @developing-today
    Contributor
  2. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    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).

  3. added
    queue/blocked
    status/blocked
    work/assigned
    on Nov 14, 2026
  4. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    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):

  5. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    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 view and the GitHub native dependencies API GET /issues/10187/dependencies/blocked_by, which lists exactly these three):

    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.

    • Issue Cloud-backed storage evidence run with strict preflight validator #10187 carries no hard-stop labels (no held / user/owned / do-not-merge / do-not-auto-edit). Its status/blocked + queue/blocked + work/assigned labels stand for this block.
    • Disposition: task 17036 blocked (classic block) naming the trigger; it resurfaces when the four trigger inputs are recorded as available.
  6. dezren39 commented on Nov 18, 2026

    @dezren39
    MemberAuthor

    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.

  7. dezren39 commented on Nov 18, 2026

    @dezren39
    MemberAuthor

    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, and work/assigned for routed task 17036; leaving those labels untouched while this triage claim is active.

  8. 22 remaining items

  9. added
    priority/normal
    on Nov 29, 2026
  10. dezren39 commented on Nov 29, 2026

    @dezren39
    MemberAuthor

    🤖 Census note — lane CEN-C10 (Xaltha seat), 2026-11-29. Full body + all comments re-read firsthand for Drew's issue census.

  11. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    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:

    • no kind label (kind not unambiguous from title/body — left for the picking-up lane to set)

    FIXES I APPLIED:

    • none needed

    REMAINS: nothing — ready for pickup

  12. added
    kind/test
    app/atlas
    effort/m
    on Nov 29, 2026
  13. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    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); no app/*/area/* label although the owning project is clear from the title/body; no effort/* 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/normal retained — matches the work's urgency as evidenced on the issue; no band change in this pass.

  14. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    Contributor

    🤖 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 api comments):

    Intended outcome: PR via the Git-API contents route, verified by reading the full diff, merged under the standing merge authority; evidence posted here.

  15. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    Contributor

    🤖 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 view state/mergedAt + merge API response).

    Landed (new files only, pkgs/id/benchmarks/):

    • validate_results.py — strict validator for id-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.

  16. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    Contributor

    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.py plus its fixture test pkgs/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.py already 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.

  17. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    Contributor

    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.py and pkgs/id/benchmarks/tests/test_cloud_preflight.py are 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 execute run_cloud.py and validate the results with validate_results.py.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/atlaseffort/mepic/atlas-programkind/testprimary-parent/atlas-programpriority/normalqueue/queuedstray-workwork/assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions