Repository navigation
🐛 fix(conformance): pin a fast Portwing inventory poll in the test overlay - #216
Conversation
…erlay Portwing has no Docker-events subscription: its container inventory refreshes once at startup, then on a fixed tick defaulting to DD_POLL_INTERVAL=300s. Assertion 8's sentinel is created mid-run and waits at most 120s for drydock store presence, so at the default cadence it could never arrive (drydock ingests the agent's container-added event immediately — the bottleneck is purely Portwing's tick, verified in portwing internal/config/config.go and internal/server/http.go, identical on the 0.8.1 legacy pin). The conformance overlay now sets DD_POLL_INTERVAL=5 on the portwing service; audited bundles unchanged. - 🔧 config(conformance): DD_POLL_INTERVAL=5 in docker-compose.conformance-overlay.yml - 📝 docs(conformance): record the resolved cadence gap in the harness README - 📝 docs(changelog): round-4 harness entry under 1.6.0 Refs: #150, #211
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reached
Next review available in: 19 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 ignored due to path filters (1)
📒 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 |
Fourth (and hopefully final) harness-fix round for the pre-GA tri-tool gate. Gate run 31293877531 failed all 3 rows identically:
remote-update-trigger -- sentinel never appeared in drydock's /api/containers store within 120s.Root cause (traced through portwing + drydock source, verified on both the current and 0.8.1 legacy pins): Portwing has no Docker-events subscription. Its container inventory (
ContainerManager.Refresh) runs once at startup, then on a fixed tick —DD_POLL_INTERVAL, default 300s (internal/config/config.go:203). The sentinel is created mid-run, so the next inventory scan lands up to 300s later, outside the assertion's 120s wait. Drydock is not the bottleneck: it ingests the agent'scontainer-addedevent immediately, bypassing its 6h watcher cron. No force-refresh endpoint exists (portwing'shandleWatcherPollis a 501 stub; SIGHUP only reloads authorized keys).Why this never bit before #212: the old assertion fired the trigger blind with a guessed body and never needed store presence — it passed for the wrong reason. #212 made the assertion honest; this makes its precondition reachable.
Fix:
DD_POLL_INTERVAL=5on the portwing service indocker-compose.conformance-overlay.ymlonly — test-scoped, audited bundles untouched. Verifieddocker compose configmerges it into both base files' env by key (all base vars preserved).After merge: rebuild the main sync commit, re-run the gate from main against rc.1, tag on green.