Skip to content

🧪 test(integration): add portwing/drydock preset conformance tests - #210

Merged
scttbnsn merged 1 commit into
dev/v1.6from
test/196-preset-conformance
Aug 9, 2026
Merged

scttbnsn merged 1 commit into
dev/v1.6from
test/196-preset-conformance

Conversation

@scttbnsn

@scttbnsn scttbnsn commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Closes #196 (referencing #150).

Adds real-daemon conformance tests for all eight portwing*/drydock* presets to app/integration/, mirroring the tecnativa/gitlab/github-actions structure and reusing the existing helpers unchanged.

Coverage per preset: the rule-layer allow/deny matrix (health, container reads/lifecycle/create, images, network/volume, distribution, services, exec, build), plus body-inspector cases — allowed_runtimes/allowed_bind_mounts, exec blind-write with privileged-still-denied (portwing-with-exec), custom-driver denials and Compose endpoint-config posture (aliases allowed, static-IP/legacy-MAC denied), classic-builder remote-context/host-network/RUN denials with a RUN-free build reaching the daemon, and drydock self-update finalize-exec argv/env pinning including the no-value-reflection SSRF check. Body-denial assertions decode filter.DenialResponse rather than substring-matching wire JSON, since several reasons quote values whose JSON encoding escapes the quotes.

Ran against a real daemon locally (all subtests green) plus gofmt/go vet -tags=integration/full unit suite.

Add real-daemon integration-tier coverage for all 8 portwing/drydock
presets (portwing[-with-exec|-compose|-build].yaml,
drydock[-with-compose|-build|-selfupdate].yaml), mirroring the
tecnativa/gitlab-runner/github-actions-runner conformance test
structure and the existing filter-level unit expectations, translated
to run against a real dockerd.

Closes #196
@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 12:46am

@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: 59 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: 1860def1-4eb9-4fbc-b3a0-8631f3245514

📥 Commits

Reviewing files that changed from the base of the PR and between db8c738 and 7eb02e3.

📒 Files selected for processing (2)
  • app/integration/drydock_preset_conformance_test.go
  • app/integration/portwing_preset_conformance_test.go

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 57d217d into dev/v1.6 Aug 9, 2026
49 checks passed
@scttbnsn
scttbnsn deleted the test/196-preset-conformance branch August 9, 2026 01:08
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 — 7eb02e30 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