Cloudflare D1
Shipments, import previews, enrichments, events, and owner-aware uniqueness live in a relational schema.
PR #64 merged a D1-backed shipments platform at /shipments, deterministic and AI-assisted import, scheduled SafeCube enrichment, and LOCODE-linked risk context.
Every shipment query is scoped by the signed-in owner. Browser cache keys also include that identity, and responses carrying shipment data use private, no-store caching.
Shipments, import previews, enrichments, events, and owner-aware uniqueness live in a relational schema.
/shipmentsSearch, sort, expand, add, import, stop, restart, and delete from one responsive table and card surface.
A bounded scheduled job advances active tracking and stores route, vessel, status, and event context.
Current and downstream ports link shipment movement to the dashboard's news and forecast sources.
Hover any node to trace its lane. Solid arrows show request and data flow. Scheduled work is called out in amber.
/api/shipments.The PR replaces a single legacy shipment detail route with a complete owner-scoped lifecycle, without removing the existing shipment notification behavior.
/shipment/:po page and its UI modules are gone./shipments becomes the supported navigation target.Three correctness failures were repaired at their real boundaries. Three secondary defects found during verification were also fixed.
The result combines static gates, deployed acceptance, real-provider QA, and four independent final reviews.
Unit suite
Supplementary suite
Python deployment tests
TypeScript and Vite build
Run 31982489540 completed against the deployed Worker at 40a2c13b.
HLXU1197025Provider enrichment populated in 14m32s. AIS fallback was correct, and responses were confirmed private with no-store caching.
31998235394 received runner 1000004284 at feature head dd350bec. Steps 1 through 16 succeeded, including checkout, frontend build, Workers Paid verification, provider secrets, D1 setup and migrations, Worker deployment, cron trigger verification, and preview auth sync. Step 17 failed only while removing the preview Worker because PR #64 was already closed, so preview acceptance was skipped. Exact-head deployment is verified. Exact-head maintained acceptance remains unavailable, and this page does not claim otherwise. The owner explicitly authorized proceeding with that narrow gap.Exact-head deployment succeeded through cron verification. Maintained acceptance at that head was skipped after PR closure; the last green run remains 31982489540 at 40a2c13b, with 13 passed.