Gate B [09/10]: Draft store stub — D-1 #29
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Branch:
gate-bSprint: Gate B · Order 9/10 · Depends on: #28 (seq-08)
Acceptance (IMPL-PLAN): Draft can store client-uploaded originals + PNGs + numbers without server recompute.
Test-SPEC case IDs: D-1
Same-PR tests: Tests-with-code — API contract test via httpx TestClient alongside backend feature code. Multipart upload with data JSON + files + metadata.
In scope:
Out of scope:
Done when / evidence: API contract test green for D-1 via httpx TestClient with multipart payload and 201 response asserted.
Gate B: Draft store stub — D-1to Gate B [09/10]: Draft store stub — D-1Gate B test pass fail — case D-1 (2026-09-07 PT, tip
48b6438onorigin/gate-b).Result: fail
Evidence:
test-results/gate-b-2026-09-07/pytest.txtAll 8
tests/contract/test_slabs.pycases failed the same way:python-multipart>=0.0.30,<1is listed inbackend/requirements.txtbut is not importable inbackend/.venvfor this run. POST/api/v1/slabsmultipart (D-1) cannot be verified until form parsing works in the test environment.This is the fail log for D-1. Do not treat chat as the bug.
Gate B pass2 re-confirm (2026-09-07 PT)
Case: D-1 (
api-contract)Result: fail (unchanged)
Evidence:
test-results/gate-b-2026-09-07-pass2/pytest.txtlines 32–39 — all 8TestCreateSlabcases FAILED.Error:
AssertionError: The python-multipart library must be installed to use form parsing.(starletterequest.form())Runner tip: origin/gate-b @
302d694Still blocking draft-create API contract. Not Gate B green.
Gate B pass3 — D-1 now PASS (api-contract)
Tip: origin/gate-b @
8d8b3a2(includesd5d5cdemultipart fix).Evidence:
test-results/gate-b-2026-09-07-pass3/pytest.txtlines 32–39 — all 8TestCreateSlabPASSED.D-1 no longer blocking Gate B api-contract for draft create. (Gate B overall still not green — product-state TV + human-walk remain.)
Closed: superseded by different design (implemented during M3).