Skip to content

feat: land the 2026-10-23 00:18 batch into 1.8 (3 changes) - #1468

Merged
scttbnsn merged 3 commits into
dev/v1.8from
batch/v1.8-20261023-0011
Oct 23, 2026
Merged

scttbnsn merged 3 commits into
dev/v1.8from
batch/v1.8-20261023-0011

Conversation

@scttbnsn

Copy link
Copy Markdown
Contributor

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
  • feat(auth): count lockout starts, show every action policy badge, document locale PRs
  • fix(triggers): log why batch action triggers skip a container

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.yaml now has no ignore list. A NAS build of this branch scans at 5 findings, 0 Critical/High.

  • DD_SECURITY_BACKEND=auto is the new default: a provider runs as a local command when its binary resolves (DD_SECURITY_<P>_COMMAND or PATH), otherwise in the pinned, hardened Docker worker. command, docker and remote behave as before.
  • scanner=trivy installs 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 mounted DD_SECURITY_TRIVY_COMMAND and the remote Trivy server keep working unchanged.
  • cosign signature verification runs in a worker (ghcr.io/sigstore/cosign pinned by digest) that gets only the target image's registry auth and the configured public key. An explicit DD_SECURITY_COSIGN_COMMAND is still honored under every backend.
  • Worker pins refreshed to Grype 0.121.0, Syft 1.55.0, Trivy 0.76.1 by ghcr digest, with a Renovate regex manager for them. Each scanner worker gets its own anonymous scratch volume as TMPDIR, removed with the container on every exit path, because the Grype DB doesn't fit the 64 MiB /tmp tmpfs.
  • The release SBOM step moves from the Trivy image to Syft.
  • The Security page shows worker Pull/Warm controls whenever the API returns worker assets, so a command install that falls back to a worker can still pull it.
  • Docs lead with Grype; DEPRECATIONS.md records the bundled Trivy removal.

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:

  • Lockout counters for password and second-factor lockouts, every action policy badge on the update-status panel, and the locale PR docs.
  • i18n gates: every key used in ui/src must 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/actions and /api/v1/notification-triggers routes, with /api/v1/triggers deprecated. 1.8's API key scopes are kept on the new routers, and portainer is routed as an action.
  • Images, Triggers and Watchers cards and a Recent Activity widget on the dashboard (preferences schema 12 to 13, new widgets hidden once for saved layouts). Picker labels use 1.8's visible card titles.
  • Offline indicator and last-known data when the server is unreachable, including the fix that lets Drydock's own JSON 503s through instead of reporting the server down.

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 handleContainerReports without 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.

  • The batch path now logs each skip at debug with the same wording as the non-batch path: rule disabled, group policy cap (with the group and its mode), threshold not reached, trigger conditions not met.
  • New soft eligibility blocker 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.
  • OpenAPI enum, UI label in all 17 locales, update-eligibility docs and a CHANGELOG bullet.

@vercel

vercel Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
drydock-website Ready Ready Preview Oct 23, 2026 12:22am UTC
drydockdemo-website Ready Ready Preview Oct 23, 2026 12:22am UTC

@coderabbitai

coderabbitai Bot commented Oct 23, 2026

Copy link
Copy Markdown

Important

Review skipped

Too 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
📥 Commits

Reviewing files that changed from the base of the PR and between e48e453 and 58a72d3.

⛔ Files ignored due to path filters: 2
  • CHANGELOG.md is excluded by !CHANGELOG.md
  • apps/web/src/lib/analytics-routes.generated.ts is excluded by !**/*.generated.*, !**/*.generated.*
📒 Files selected for processing: 211
  • .github/tests/release-cut-retry-workflow.test.ts
  • .github/tests/renovate-dockerfile-apk-pins.test.ts
  • .github/tests/trivy-pin-parity.test.ts
  • .github/workflows/ci-verify.yml
  • .github/workflows/release-cut.yml
  • .github/workflows/security-grype.yml
  • .grype.yaml
  • CONTRIBUTING.md
  • DEPRECATIONS.md
  • Dockerfile
  • README.de.md
  • README.es.md
  • README.fr.md
  • README.md
  • README.pl.md
  • README.pt-BR.md
  • README.zh-CN.md
  • app/api/api.test.ts
  • app/api/api.ts
  • app/api/auth-lockout.test.ts
  • app/api/auth-lockout.ts
  • app/api/component.test.ts
  • app/api/component.ts
  • app/api/container/handlers/list.test.ts
  • app/api/container/handlers/list.ts
  • app/api/index.test.ts
  • app/api/openapi/index.ts
  • app/api/openapi/paths/category-triggers.test.ts
  • app/api/openapi/paths/category-triggers.ts
  • app/api/openapi/paths/index.test.ts
  • app/api/openapi/paths/index.ts
  • app/api/openapi/paths/triggers.ts
  • app/api/openapi/schemas.test.ts
  • app/api/openapi/schemas.ts
  • app/api/route-scope-completeness.test.ts
  • app/api/server.test.ts
  • app/api/server.ts
  • app/api/sse-container-enrichment.test.ts
  • app/api/sse-container-enrichment.ts
  • app/api/trigger-routes.test.ts
  • app/api/trigger-routes.ts
  • app/api/trigger.test.ts
  • app/api/trigger.ts
  • app/configuration/dockerfile-defaults.test.ts
  • app/configuration/index.test.ts
  • app/configuration/index.ts
  • app/configuration/security-scanner-config.test.ts
  • app/model/update-eligibility.test.ts
  • app/model/update-eligibility.ts
  • app/prometheus/auth.test.ts
  • app/prometheus/auth.ts
  • app/security/assets.test.ts
  • app/security/assets.ts
  • app/security/backend-resolution.test.ts
  • app/security/backend-resolution.ts
  • app/security/backends/docker.test.ts
  • app/security/backends/docker.ts
  • app/security/runtime.test.ts
  • app/security/runtime.ts
  • app/security/scan.test.ts
  • app/security/scan.ts
  • app/security/scanner-runtime.test.ts
  • app/security/scanner-runtime.ts
  • app/store/notification.test.ts
  • app/store/notification.ts
  • app/triggers/providers/Trigger.group-policy.test.ts
  • app/triggers/providers/Trigger.ts
  • app/updates/request-update.ts
  • apps/web/scripts/trivy-advisory-coupling.test.mjs
  • apps/web/src/app/data/faq.ts
  • apps/web/src/app/security/trivy-supply-chain-march-2026/page.tsx
  • content/docs/current/api/action.mdx
  • content/docs/current/api/app.mdx
  • content/docs/current/api/container.mdx
  • content/docs/current/api/index.mdx
  • content/docs/current/api/meta.json
  • content/docs/current/api/notification-trigger.mdx
  • content/docs/current/api/trigger.mdx
  • content/docs/current/configuration/actions/update-eligibility.mdx
  • content/docs/current/configuration/authentications/api-keys/index.mdx
  • content/docs/current/configuration/dashboard/index.mdx
  • content/docs/current/configuration/security/index.mdx
  • content/docs/current/configuration/ui/index.mdx
  • content/docs/current/faq/index.mdx
  • content/docs/current/getting-started/index.mdx
  • content/docs/current/guides/security/index.mdx
  • content/docs/current/guides/translations/index.mdx
  • content/docs/current/guides/verifying-releases/index.mdx
  • content/docs/current/monitoring/index.mdx
  • renovate.json
  • scripts/grype-policy.test.mjs
  • ui/index.html
  • ui/src/components/OfflineBanner.vue
  • ui/src/components/containers/ContainerFullPageTabContent.vue
  • ui/src/components/containers/UpdateStatusPanel.vue
  • ui/src/composables/useConnectivity.ts
  • ui/src/composables/useServerFeatures.ts
  • ui/src/composables/useUpdateStatus.ts
  • ui/src/layouts/AppLayout.vue
  • ui/src/locales/ar/appShell.json
  • ui/src/locales/ar/containerComponents.json
  • ui/src/locales/ar/dashboardView.json
  • ui/src/locales/de/appShell.json
  • ui/src/locales/de/containerComponents.json
  • ui/src/locales/de/dashboardView.json
  • ui/src/locales/en/appShell.json
  • ui/src/locales/en/containerComponents.json
  • ui/src/locales/en/dashboardView.json
  • ui/src/locales/es/appShell.json
  • ui/src/locales/es/containerComponents.json
  • ui/src/locales/es/dashboardView.json
  • ui/src/locales/fr/appShell.json
  • ui/src/locales/fr/containerComponents.json
  • ui/src/locales/fr/dashboardView.json
  • ui/src/locales/it/appShell.json
  • ui/src/locales/it/containerComponents.json
  • ui/src/locales/it/dashboardView.json
  • ui/src/locales/ja/appShell.json
  • ui/src/locales/ja/containerComponents.json
  • ui/src/locales/ja/dashboardView.json
  • ui/src/locales/ko/appShell.json
  • ui/src/locales/ko/containerComponents.json
  • ui/src/locales/ko/dashboardView.json
  • ui/src/locales/nl/appShell.json
  • ui/src/locales/nl/containerComponents.json
  • ui/src/locales/nl/dashboardView.json
  • ui/src/locales/pl/appShell.json
  • ui/src/locales/pl/containerComponents.json
  • ui/src/locales/pl/dashboardView.json
  • ui/src/locales/pt-BR/appShell.json
  • ui/src/locales/pt-BR/containerComponents.json
  • ui/src/locales/pt-BR/dashboardView.json
  • ui/src/locales/ru/appShell.json
  • ui/src/locales/ru/containerComponents.json
  • ui/src/locales/ru/dashboardView.json
  • ui/src/locales/tr/appShell.json
  • ui/src/locales/tr/containerComponents.json
  • ui/src/locales/tr/dashboardView.json
  • ui/src/locales/uk/appShell.json
  • ui/src/locales/uk/containerComponents.json
  • ui/src/locales/uk/dashboardView.json
  • ui/src/locales/vi/appShell.json
  • ui/src/locales/vi/containerComponents.json
  • ui/src/locales/vi/dashboardView.json
  • ui/src/locales/zh-CN/appShell.json
  • ui/src/locales/zh-CN/containerComponents.json
  • ui/src/locales/zh-CN/dashboardView.json
  • ui/src/locales/zh-TW/appShell.json
  • ui/src/locales/zh-TW/containerComponents.json
  • ui/src/locales/zh-TW/dashboardView.json
  • ui/src/main.ts
  • ui/src/preferences/migrate.ts
  • ui/src/preferences/schema.ts
  • ui/src/services/agent.ts
  • ui/src/services/auth.ts
  • ui/src/services/container.ts
  • ui/src/services/last-known.ts
  • ui/src/services/registry.ts
  • ui/src/services/server.ts
  • ui/src/services/trigger.ts
  • ui/src/services/watcher.ts
  • ui/src/types/container.d.ts
  • ui/src/utils/container-mapper.ts
  • ui/src/utils/last-known.ts
  • ui/src/utils/update-eligibility.ts
  • ui/src/views/DashboardView.vue
  • ui/src/views/SecurityView.vue
  • ui/src/views/dashboard/components/DashboardRecentActivityWidget.vue
  • ui/src/views/dashboard/dashboardTypes.ts
  • ui/src/views/dashboard/dashboardWidgetLayout.ts
  • ui/src/views/dashboard/useDashboardComputed.ts
  • ui/src/views/dashboard/useDashboardData.ts
  • ui/src/views/dashboard/useDashboardRecentActivity.ts
  • ui/src/views/dashboard/useDashboardWidgetOrder.ts
  • ui/src/views/security/securityViewTypes.d.ts
  • ui/tests/components/OfflineBanner.spec.ts
  • ui/tests/components/containers/ContainerFullPageTabContent.spec.ts
  • ui/tests/components/containers/UpdateStatusPanel.spec.ts
  • ui/tests/composables/useConnectivity.spec.ts
  • ui/tests/composables/useServerFeatures.spec.ts
  • ui/tests/composables/useUpdateStatus.spec.ts
  • ui/tests/config/index-html.spec.ts
  • ui/tests/i18n/dashboard-widgets.spec.ts
  • ui/tests/i18n/no-raw-text.spec.ts
  • ui/tests/i18n/used-keys-exist.spec.ts
  • ui/tests/layouts/AppLayout.spec.ts
  • ui/tests/preferences/migrate.spec.ts
  • ui/tests/services/auth.spec.ts
  • ui/tests/services/container.spec.ts
  • ui/tests/services/last-known.spec.ts
  • ui/tests/services/notification-list-errors.spec.ts
  • ui/tests/services/trigger-response-errors.spec.ts
  • ui/tests/services/trigger.spec.ts
  • ui/tests/utils/container-mapper.spec.ts
  • ui/tests/utils/last-known.spec.ts
  • ui/tests/utils/update-eligibility.spec.ts
  • ui/tests/views/DashboardView.spec.ts
  • ui/tests/views/InventoryLoad.errors.spec.ts
  • ui/tests/views/NotificationsView.errors.spec.ts
  • ui/tests/views/SecurityView.spec.ts
  • ui/tests/views/TriggersView.action-editor.spec.ts
  • ui/tests/views/TriggersView.editor.spec.ts
  • ui/tests/views/TriggersView.response-errors.spec.ts
  • ui/tests/views/TriggersView.skips.spec.ts
  • ui/tests/views/dashboard/DashboardRecentActivityWidget.spec.ts
  • ui/tests/views/dashboard/dashboardWidgetLayout.spec.ts
  • ui/tests/views/dashboard/useDashboardComputed.spec.ts
  • ui/tests/views/dashboard/useDashboardData.spec.ts
  • ui/tests/views/dashboard/useDashboardRecentActivity.spec.ts
  • ui/tests/views/dashboard/useDashboardWidgetOrder.spec.ts
  • ui/vite.config.ts

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@codecov

codecov Bot commented Oct 23, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 99.84424% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
ui/src/layouts/AppLayout.vue 87.50% 0 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

@scttbnsn
scttbnsn merged commit 7a4db8f into dev/v1.8 Oct 23, 2026
36 checks passed
@scttbnsn
scttbnsn deleted the batch/v1.8-20261023-0011 branch October 23, 2026 00:43

This branch was successfully deployed

2 active deployments
Preview – drydock-website — 58a72d35 Deployed Oct 23, 2026 by vercel[bot]
Preview – drydockdemo-website — 58a72d35 Deployed Oct 23, 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