Repository navigation
fix(results): the E11 edge matrix, and #896's export on a Postgres-less server (#1233) - #1244
Merged
Merged
Conversation
Contributor
|
The marketing preview was removed because this PR is closed or merged. |
7 tasks done
…empty column (#896) The segment export prequeries tags for an optional column. er-server answers 501 without Postgres, the BFF mapped every upstream 5xx to 502, and the whole export failed on a deploy shape where the column could never be non-empty. forwardUnlessNotImplemented returns null for an upstream 501 only; the server's 501 stays loud for every caller that needs the value. Chose this over making the reads answer [] server-side, which would make a lost DSN read as 'no tags' everywhere. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
athvin
marked this pull request as ready for review
November 25, 2026 20:29
athvin
force-pushed
the
issue/1233-results-edge-matrix
branch
from
November 25, 2026 20:29
8b7f23b to
5c19902
Compare
athvin
temporarily deployed
to
marketing-preview
November 25, 2026 20:37 — with
GitHub Actions
Inactive
This branch was previously deployed
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.
Closes #1233
Closes #896
What
E11's closing audit (#521), plus the #896 fix.
#896. A Postgres-less er-server answers the segment export's tags prequery
501, the BFF mapped every 5xx to 502, and the whole export failed. Of the ticket's two candidate fixes, this takes the BFF side, narrowed:forwardUnlessNotImplementedreturnsnullfor an upstream 501 only, and only for this optional column. The rejected alternative was making the server's reads answer[], which would turn a lost DSN into a silent "no tags" for every caller. The server's 501 stays loud everywhere the value is required.BffFailurenow carries the upstream status, so the status is read directly rather than sniffed from the detail text.The matrix. One row per case the epic asked for, naming the test and the mutation that was observed to fail it:
export_write.rscase 4: a zero-row artifactCatalog Error(fixed in #1239)export_write.rs(page size 2; golden, duplicates, lineage all cross pages);pg_golden_read.rskeyset pagingexport_write.rscase 5: ceiling fails by name, no file and no.partialleftpg_exports.rs: status nameserror_class, download 409 (added here)error_class: None→ caughtexport_write.rscase 1 (export at R after R+1);run_snapshot_read.rs(reads at R after R+1)finishstampinglatest - 3→ caught once the test pinned the exact snapshot (#1236)run_snapshot_read.rs→Expired;pin_requested_testspg_exports.rs→ 410pg_exports.rs:/datasets/second/exports/{id}→ 404pg_exports.rs: another org's key and route → 404pg_exports.rs: a viewer's POST → 403every_public_result_read_documents_its_payload,every_arrow_*job_event_data_tests;run_snapshot_read.rs(the event equals the poll)forward-not-implemented.test.ts: a 501 is null, 503/500/404/403 still throw, and plainforwardstill throws on 501>= 500instead of=== 501→ caughtWhy
#1233 closes E11's last acceptance bullet; #896 was named in it.
Proof
make check: 1,190 passed, 0 failed.er-server+er-cli --testsagainst Postgres withDEDUPE_E2E_DUCKLAKE=1: 498 passed.make frontend: 964 passed, 0 failed.Risk & rollback
The BFF change is one opt-in helper and one call site.
forwardand every other route are unchanged. Rollback:git revert <merge-sha>.Post-merge ledger
Closed by: agent · session
Claude Code:d1e3b2dc-3174-4091-9c30-c08fc4820306onMac· 2026-11-26T00:45:36Zmainis green with this change on it: merge92c6e3ca. Push runs: infra 45696702714 success, devcontainer 45696702990 success, images 45696702738 success, marketing preview 45696702932 success, rust 45696702866 success, frontend 45696702833 success. The full frontend tier ran here; the PR head legitimately reused the frontend pass marker written at 20:21 by a green run over the identical frontend tree.images: built and succeeded for92c6e3ca.deployconverged. Process proof was read once the AWS session was restored (2026-11-26). The live colour in dev (ci/web-api-green-5d5f9c8844-88dxb, logged"er-server listening"at 01:36:40Z) and prod (app/web-api-blue-7544598cbb-8rjth, at 01:51:39Z) both runer-api@sha256:5d993716…, built frombae09b2e, which contains this merge (git merge-base --is-ancestor 92c6e3ca bae09b2eholds). (Earlier note: run 45697124380 (DEPLOY_SHA: 92c6e3ca) succeeded, but the AWS SSO session has been expired since 12:10Z, so the live pods'er-server listeningline could not be read. To be ticked afteraws sso login.)deployis green.driftandkindwere already red on schedule before feat(api): typed response structs, batch 3 — reviews+merges (#1193) #1202.Specific to this change
Context — plan, discoveries, measurements, files
Plan
Discoveries
Measurements
Files