Repository navigation
feat: land the 2026-10-23 00:18 batch into 1.8 (3 changes) - #1468
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedToo many files! This PR contains 211 files, which is 111 over the limit of 100. To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch. Upgrade to a paid plan to raise the limit. This review couldn't start because sufficient usage credits or metered capacity aren't available. Add credits or update usage-based reviews in the billing tab, then retry. ⚙️ Run configuration
⛔ Files ignored due to path filters: 2
📒 Files selected for processing: 211
You can disable this status message by setting the
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 |
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
Batched landing window for
dev/v1.8: 3 changes, each squashed to one commit, CI runs once for the batch. Each change was reviewed and tested on its own branch; the combined branch passed the full local pre-push gate (coverage, lint, build) before push.feat(security): add auto scanner backend, cosign worker and Trivy worker migration
Takes the bundled Trivy and cosign binaries out of the image and makes Grype the default scanner. Those two vendored Go binaries carried all 30 Critical/High findings in rc.5 and were scoped out of the image Grype gate, so
.grype.yamlnow has no ignore list. A NAS build of this branch scans at 5 findings, 0 Critical/High.DD_SECURITY_BACKEND=autois the new default: a provider runs as a local command when its binary resolves (DD_SECURITY_<P>_COMMANDor PATH), otherwise in the pinned, hardened Docker worker.command,dockerandremotebehave as before.scanner=trivyinstalls move to the pinned Trivy worker with one WARN per process and a legacy-input count in the deprecation banner. If the Docker API refuses the worker, the scan error names the three working setups. A mountedDD_SECURITY_TRIVY_COMMANDand the remote Trivy server keep working unchanged.ghcr.io/sigstore/cosignpinned by digest) that gets only the target image's registry auth and the configured public key. An explicitDD_SECURITY_COSIGN_COMMANDis still honored under every backend.TMPDIR, removed with the container on every exit path, because the Grype DB doesn't fit the 64 MiB/tmptmpfs.Verified on the NAS against
ghcr.io/codeswhat/drydock:1.8.0-rc.5: Grype scan, keyless cosign verification, Syft SBOM, the Trivy migration WARN and worker scan, and no leftover workers or volumes after normal and forced-timeout scans. Two Codex review passes; all findings fixed with tests.feat(auth): count lockout starts, show every action policy badge, document locale PRs
Forward-ports the five features that landed on 1.7 in this window, so 1.8 doesn't ship without them:
ui/srcmust exist in the English locale (including dynamic prefixes), and literals in templates, toasts, dialogs and labels fail CI outside a documented allowlist. The gates found a few 1.8-only literals, now allowlisted with reasons./api/v1/actionsand/api/v1/notification-triggersroutes, with/api/v1/triggersdeprecated. 1.8's API key scopes are kept on the new routers, andportaineris routed as an action.fix(triggers): log why batch action triggers skip a container
Fixes the silent skip behind #1281. Action triggers in batch mode (Docker Compose always runs batched) returned from
handleContainerReportswithout a word when the Update Available notification rule was off, which also gates automatic actions, or when a group policy capped the container. Users saw pending updates that never installed and no reason anywhere. Reproduced on the NAS on rc.3 and rc.5.update-available-rule-disabled, shown only when the rule is off and the container would otherwise be auto-updated. It links to Settings > Notifications. Soft because manual updates don't read that rule, so the Update button stays enabled.