Skip to content

🐛 fix(conformance): pin the events and update-trigger assertions to live contracts - #212

Merged
scttbnsn merged 1 commit into
dev/v1.6from
fix/211-harness-live-contracts
Aug 9, 2026
Merged

scttbnsn merged 1 commit into
dev/v1.6from
fix/211-harness-live-contracts

Conversation

@scttbnsn

@scttbnsn scttbnsn commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

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.ts requires {id: <drydock container-store id>} and returns 400 Invalid trigger request body for 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 from GET /api/containers, waits for updateAvailable on current rows (admission otherwise 400s 'No update available for this container' per updates/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.

…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
@vercel

vercel Bot commented Aug 9, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sockguard-website Ready Ready Preview Aug 9, 2026 1:12am

@coderabbitai

coderabbitai Bot commented Aug 9, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@scttbnsn, you've reached your PR review limit, so we couldn't start this review.

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 @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 39de0334-d4ac-4914-8f02-9540162af2a5

📥 Commits

Reviewing files that changed from the base of the PR and between 57d217d and 2bc9413.

📒 Files selected for processing (2)
  • scripts/tri-tool-conformance/README.md
  • scripts/tri-tool-conformance/run-matrix.sh

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@scttbnsn
scttbnsn merged commit a7dc5c1 into dev/v1.6 Aug 9, 2026
39 checks passed
@scttbnsn
scttbnsn deleted the fix/211-harness-live-contracts branch August 9, 2026 01:18
scttbnsn added a commit that referenced this pull request Aug 9, 2026
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)
scttbnsn added a commit that referenced this pull request Aug 9, 2026
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)
scttbnsn added a commit that referenced this pull request Aug 9, 2026
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)

This branch was successfully deployed

1 active deployment
Preview — 2bc9413f Deployed Aug 9, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant