Repository navigation
feat(id-benchmarks): cloud (D1/R2) preflight gate + strict result validator (#10187 fixture slice) - #17061
Merged
developing-today-fleet[bot] merged 3 commits intoNov 30, 2026
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
developing-today-fleet
Bot
deleted the
lane/2122n-10187-cloud-preflight
branch
November 30, 2026 03:39
3 tasks
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 fixture-only slice of #10187 (C9133-CLOUD), the part the issue authorizes now: "this task itself runs fixture-only tests and makes no cloud call." The live cloud run stays contingent on approved credentials, a finite spend cap, a named region, and a corpus snapshot/digest; no measurements are fabricated and no
cloud-run.v1.jsonis published by this PR.What each piece does
result-v1.schema.jsonshape; requires raw per-operation samples (>=5/op, flattenedraw_samplesparity), raw D1/R2 storage samples, provider-native billed units, dated pricing metadata (source URL + retrieval date + currency), and per-engine durability/RPO + replica semantics. Rejects local evidence (comparison_scopemust becloud-only; redb/turso engines are refused) and cloud results with zero provider calls.--fixture PATHvalidates a recorded cloud result through the validator and only then writes it to--result. Without--fixture, a passing preflight prints the approved envelope and exits 4 — live provider execution is a separate approved step, never implied.Evidence
python3 pkgs/id/benchmarks/tests/test_cloud_preflight.py→ "cloud preflight + validator fixture tests passed" (all five test groups). This is a fixture-only Python check, not a repo build.run_local.py/validate_local_results.py) andlocal-run.v1.jsonare untouched; the cloud document format is a sibling (id-atlas-cloud-result/v1), not a modification of the local one.Remaining on #10187
The live D1/R2 run and its
cloud-run.v1.json/cloud-run.v1.mdresults remain contingent on the trigger in the issue body. When credentials + cap + region + corpus snapshot are approved,run_cloud.py's preflight is the gate the run starts from.Merge Danger
Door: two-way
Blast Radius: new files only, under
pkgs/id/benchmarks/; no existing file changed, no runtime behavior changes.Refs #10187
{ "direct_parent": null, "links": [], "lineage": { "design": null, "roadmap_item": null, "priority": null }, "pm_meta": 1, "provenance": { "queue_id": null, "scheduled_start": null, "picked_up_at": null, "work_started_at": null, "created_at": "2026-11-30T03:38:20Z", "session_id": null, "lane": null, "host": "htch-runtime", "worktree": null, "model": null, "lane_start_issues": [], "workspace_ref": null, "auth_subject": "archer", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.