Repository navigation
🐛 fix(conformance): pin the events and update-trigger assertions to live contracts - #212
Conversation
…ive contracts
First live run past the handshake (run 31287152642) proved two harness
premises wrong:
- 🐛 fix(events): sockguard only writes an access-log line when a request
completes, and the /events stream outlives the row, so the access-log
wait could never see it (verified against 1.5.1 and 1.6.0-rc.1 — not a
proxy regression). Assertion 4 now probes GET /events through the proxy
and accepts the 200 stream open.
- 🐛 fix(trigger): drydock's trigger API requires {id: <drydock
container-store id>} and 400s anything else on every version — the
{container, image} guess could never pass, and the documented 501
belongs to portwing's own endpoint, not drydock's port-3000 API.
Assertion 8 now resolves the sentinel's document from GET
/api/containers, waits for updateAvailable on current rows (admission
otherwise 400s 'No update available'), fires the agent-qualified route
with the required body, and treats a correctly-shaped legacy invocation
refused as 404/501 as the compatibility boundary holding.
Closes #211
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reached
Next review available in: 33 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Single sync commit on top of main carrying the dev/v1.6 tip tree (9d8ea57): 🔒 security(exec): bounded exec-inspect response decode (#208) 🧪 test(integration): portwing/drydock preset conformance suites (#210) 🧪 test(ci): weekly engine-matrix integration workflow (#209) 🔧 config(ci): fuzz deadline-flake retry (#207) 🔧 chore(conformance): mktemp scratch dir + live /events + trigger contracts (#206, #212) 🔧 chore(release): GA promotion — changelog, README, chart, website (#213)
Single sync commit on top of main carrying the dev/v1.6 tip tree (de8015b): 🔒 security(exec): bounded exec-inspect response decode (#208) 🧪 test(integration): portwing/drydock preset conformance suites (#210) 🧪 test(ci): weekly engine-matrix integration workflow (#209) 🔧 config(ci): fuzz deadline-flake retry + exit-status propagation (#207, #215) 🔧 chore(conformance): mktemp scratch dir + live /events + trigger contracts (#206, #212) 🔧 chore(release): GA promotion — changelog, README, chart, website (#213, #215)
Single sync commit on top of main carrying the dev/v1.6 tip tree (de8015b): 🔒 security(exec): bounded exec-inspect response decode (#208) 🧪 test(integration): portwing/drydock preset conformance suites (#210) 🧪 test(ci): weekly engine-matrix integration workflow (#209) 🔧 config(ci): fuzz deadline-flake retry + exit-status propagation (#207, #215) 🔧 chore(conformance): mktemp scratch dir + live /events + trigger contracts (#206, #212) 🔧 chore(release): GA promotion — changelog, README, chart, website (#213, #215)
Closes #211. Blocks the v1.6.0 GA gate.
The first live gate run to get past the auth handshake (run 31287152642, all three rows, rc.1 image) falsified two harness premises:
Events (assertion 4): sockguard has never written an access-log line for
GET /events— the line is emitted on completion and the stream outlives the row. Verified locally against both 1.5.1 and rc.1 images (stream connects and forwards fine; no log line at accept, completion, or abort), so this is longstanding behavior, not an rc.1 regression. The assertion now probes the stream directly through the proxy and accepts the 200 open (curl's --write-out prints the received status even when --max-time cuts the stream — verified).Remote update trigger (assertion 8): drydock's
app/api/trigger.tsrequires{id: <drydock container-store id>}and returns400 Invalid trigger request bodyfor anything else on every version — which is exactly what all three rows saw. The documented 501 belongs to portwing's own trigger endpoint, not drydock's port-3000 API. The assertion now resolves the sentinel's drydock document fromGET /api/containers, waits forupdateAvailableon current rows (admission otherwise 400s 'No update available for this container' perupdates/request-update.ts), fires the agent-qualified route with the required body, and expects 2xx+recreation on current rows / a 404-or-501 refusal of the correctly-shaped request on legacy-floor.Harness README updated to match;
--self-test,bash -n, and shellcheck all clean.