Skip to content

feat: land the 2026-10-22 batch into 1.7 (4 changes) - #1467

Merged
scttbnsn merged 5 commits into
dev/v1.7from
batch/v1.7-20261022-2219
Oct 22, 2026
Merged

scttbnsn merged 5 commits into
dev/v1.7from
batch/v1.7-20261022-2219

Conversation

@scttbnsn

Copy link
Copy Markdown
Contributor

Batched landing window for dev/v1.7: 4 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(ui): backport the dependency badges, chain update and parent guard to 1.7
  • fix(docker): keep anonymous volumes when recreating a container
  • fix(docker): recreate containers that share a namespace with an updated container
  • fix: backport maintenance-window scope (scan default), maturity countdowns and the single Trivy pin to 1.7
  • test: cover the docker recreate paths from the volume and namespace backports (batch fix-up)

feat(ui): backport the dependency badges, chain update and parent guard to 1.7

1.7.0's headline promise was dependency-aware updates in the UI; 1.7.0 shipped only the plumbing (graph fetch, chain preview, group update service) with no UI consumer.

  • Backport of the 1.8 dependency UI (feat(ui): show container dependencies, warn before updating a child first, and add dependency-group update #1143): expandable dependency rows, "Update dependency group" with the chain preview and its destructive confirmation, and the stale-parent guard ("Update anyway") on per-container Update and Force Update.
  • Dependencies view: a toolbar toggle beside Group by stack (mutually exclusive, persisted). Each connected set is one group, parents first with dependents indented, with cycle and unresolved markers. Group Update All runs the chain update through its preview; members hidden by the current filter are labelled in the confirmation and counted in a note, since the backend updates the whole chain.
  • Child-before-parent warning now also covers stack, group and dependency Update All when a pending-update parent is outside the batch.
  • Badges: "Depends on N" and "Required by N" on rows, refreshed when only the graph changes.
  • The per-container Update confirm lists the dependents and says they are not updated or restarted with it, pointing to Update dependency group (single updates don't cascade in the backend).

Codex pass 1 found the hidden-member scope and stale badges; both fixed with tests. Strings in all 17 locales.

fix(docker): keep anonymous volumes when recreating a container

Data loss on update. Recreating a container (docker and dockercompose actions, and self-update, which all go through cloneContainer) copied the old HostConfig verbatim. An anonymous volume (an image VOLUME path with no named volume or bind, e.g. postgres run without a data mount) has no entry there, so the daemon created a fresh empty volume for the replacement and the old one, with the data, was left orphaned. Reproduced on a real engine: a marker written to /data was gone after an update.

  • Volume mounts whose destination the image declares and nothing in HostConfig covers are carried over as name:/dest[:ro] binds to the same volume, as docker compose does.
  • --mount type=volume,target=... entries with no source (Compose anonymous declarations use this shape) get their source filled from the existing volume, keeping their options.
  • Destinations are normalized everywhere (trailing slashes), so an existing dbdata:/data/ bind doesn't get a duplicate that would make create fail after the old container is gone.
  • The source inspect isn't mutated, so rollback is unchanged. Nothing removes containers with v: true, so the reused volume is never deleted.

Verified on the NAS for both the image-VOLUME and source-less --mount cases. Codex pass 1 found the normalization and source-less cases; both fixed with tests. Backport of the 1.8 fix; the same cloneContainer has been in every release since the WUD fork, so v1.7.0 is affected.

fix(docker): recreate containers that share a namespace with an updated container

Two update gaps found while confirming the anonymous-volume bug on a test host.

  • Containers that join an updated container's network namespace (network_mode: container:<name> / service:<name>) kept pointing at the old, removed container id and lost networking. Drydock now recreates those dependents after the owner updates, in dependency order, from their running image id, with one shared old-to-new id map. A failed recreate restores the original and is reported on the update's audit entry and lastError without failing the owner's update. Rollback (health monitor and manual) runs the same pass against the restored owner. AutoRemove dependents are refused up front.
  • Services whose image is defined in a file pulled in by a compose include: were never updated. Included files are now resolved and placed right after their including file and before later override files, so the override still wins when both set the image.

Backport of the 1.8 fix. Builds on the anonymous-volume backport. 1.7 has no allowed-roots containment for compose paths (1.8 only), so included files get the same trust 1.7 already gives config_files labels.

fix: backport maintenance-window scope (scan default), maturity countdowns and the single Trivy pin to 1.7

1.8 fixes that 1.7 users hit too, for v1.7.1:

  • Maintenance-window scope (DD_WATCHER_{name}_MAINTENANCE_WINDOW_SCOPE=scan|install, from 1.8 feat(watchers): scope the maintenance window to installs by default #1012). On 1.7 the default stays scan, so the window keeps gating the whole scheduled scan exactly as in 1.7.0; install is opt-in and lets scans run outside the window while still holding installs to it.
  • Maturity countdowns in the container lists and the dashboard. The notification skip-reasons half of the 1.8 fix isn't ported because 1.7 doesn't record those skips.
  • One pinned Trivy across the image, the release SBOM and the worker, and scanner versions shown in the Security view. 1.7 keeps the bundled Trivy.

@vercel

vercel Bot commented Oct 22, 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 22, 2026 11:03pm UTC
drydockdemo-website Ready Ready Preview Oct 22, 2026 11:03pm UTC

@coderabbitai

coderabbitai Bot commented Oct 22, 2026

Copy link
Copy Markdown

Important

Review skipped

Too many files!

This PR contains 130 files, which is 30 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 a1f5a49 and ff4211e.

⛔ Files ignored due to path filters: 1
  • CHANGELOG.md is excluded by !CHANGELOG.md
📒 Files selected for processing: 130
  • .github/tests/release-cut-retry-workflow.test.ts
  • .github/tests/trivy-pin-parity.test.ts
  • .github/workflows/release-cut.yml
  • app/api/backup.test.ts
  • app/api/backup.ts
  • app/configuration/index.test.ts
  • app/configuration/index.ts
  • app/event/index.test.ts
  • app/event/index.ts
  • app/model/update-eligibility.ts
  • app/model/watcher-maintenance-window.test.ts
  • app/model/watcher-maintenance-window.ts
  • app/prometheus/watcher.test.ts
  • app/prometheus/watcher.ts
  • app/triggers/providers/Trigger.test.ts
  • app/triggers/providers/Trigger.ts
  • app/triggers/providers/docker/ContainerUpdateExecutor.test.ts
  • app/triggers/providers/docker/ContainerUpdateExecutor.ts
  • app/triggers/providers/docker/Docker.test.ts
  • app/triggers/providers/docker/Docker.ts
  • app/triggers/providers/docker/HealthMonitor.test.ts
  • app/triggers/providers/docker/HealthMonitor.ts
  • app/triggers/providers/docker/SharedNamespaceDependents.test.ts
  • app/triggers/providers/docker/SharedNamespaceDependents.ts
  • app/triggers/providers/dockercompose/ComposeIncludes.test.ts
  • app/triggers/providers/dockercompose/ComposeIncludes.ts
  • app/triggers/providers/dockercompose/Dockercompose.compose-exec-and-hooks.test.ts
  • app/triggers/providers/dockercompose/Dockercompose.test.ts
  • app/triggers/providers/dockercompose/Dockercompose.ts
  • app/triggers/providers/dockercompose/Dockercompose.update-lifecycle-core.test.ts
  • app/updates/request-update.test.ts
  • app/watchers/providers/docker/Docker.containers.test.helpers.ts
  • app/watchers/providers/docker/Docker.containers.test.ts
  • app/watchers/providers/docker/Docker.events.test.ts
  • app/watchers/providers/docker/Docker.structure.test.ts
  • app/watchers/providers/docker/Docker.test.ts
  • app/watchers/providers/docker/Docker.ts
  • app/watchers/providers/docker/Docker.watch.test.ts
  • app/watchers/providers/docker/docker-cron-watch.test.ts
  • app/watchers/providers/docker/docker-cron-watch.ts
  • app/watchers/providers/docker/maintenance.ts
  • content/docs/current/configuration/actions/update-eligibility.mdx
  • content/docs/current/configuration/watchers/index.mdx
  • content/docs/current/getting-started/index.mdx
  • content/docs/current/monitoring/index.mdx
  • renovate.json
  • ui/src/components/ConfirmDialog.vue
  • ui/src/components/containers/ContainerDependencyRow.vue
  • ui/src/components/containers/ContainersGroupedViews.vue
  • ui/src/components/containers/ContainersListContent.vue
  • ui/src/components/containers/containersViewTemplateContext.ts
  • ui/src/composables/useDependencyGraph.ts
  • ui/src/locales/ar/containerComponents.json
  • ui/src/locales/ar/dashboardView.json
  • ui/src/locales/ar/listViews.json
  • ui/src/locales/de/containerComponents.json
  • ui/src/locales/de/dashboardView.json
  • ui/src/locales/de/listViews.json
  • ui/src/locales/en/containerComponents.json
  • ui/src/locales/en/dashboardView.json
  • ui/src/locales/en/listViews.json
  • ui/src/locales/es/containerComponents.json
  • ui/src/locales/es/dashboardView.json
  • ui/src/locales/es/listViews.json
  • ui/src/locales/fr/containerComponents.json
  • ui/src/locales/fr/dashboardView.json
  • ui/src/locales/fr/listViews.json
  • ui/src/locales/it/containerComponents.json
  • ui/src/locales/it/dashboardView.json
  • ui/src/locales/it/listViews.json
  • ui/src/locales/ja/containerComponents.json
  • ui/src/locales/ja/dashboardView.json
  • ui/src/locales/ja/listViews.json
  • ui/src/locales/ko/containerComponents.json
  • ui/src/locales/ko/dashboardView.json
  • ui/src/locales/ko/listViews.json
  • ui/src/locales/nl/containerComponents.json
  • ui/src/locales/nl/dashboardView.json
  • ui/src/locales/nl/listViews.json
  • ui/src/locales/pl/containerComponents.json
  • ui/src/locales/pl/dashboardView.json
  • ui/src/locales/pl/listViews.json
  • ui/src/locales/pt-BR/containerComponents.json
  • ui/src/locales/pt-BR/dashboardView.json
  • ui/src/locales/pt-BR/listViews.json
  • ui/src/locales/ru/containerComponents.json
  • ui/src/locales/ru/dashboardView.json
  • ui/src/locales/ru/listViews.json
  • ui/src/locales/tr/containerComponents.json
  • ui/src/locales/tr/dashboardView.json
  • ui/src/locales/tr/listViews.json
  • ui/src/locales/uk/containerComponents.json
  • ui/src/locales/uk/dashboardView.json
  • ui/src/locales/uk/listViews.json
  • ui/src/locales/vi/containerComponents.json
  • ui/src/locales/vi/dashboardView.json
  • ui/src/locales/vi/listViews.json
  • ui/src/locales/zh-CN/containerComponents.json
  • ui/src/locales/zh-CN/dashboardView.json
  • ui/src/locales/zh-CN/listViews.json
  • ui/src/locales/zh-TW/containerComponents.json
  • ui/src/locales/zh-TW/dashboardView.json
  • ui/src/locales/zh-TW/listViews.json
  • ui/src/preferences/schema.ts
  • ui/src/utils/dependency-graph-view.ts
  • ui/src/utils/dependency-tree.ts
  • ui/src/utils/dependency-update-guard.ts
  • ui/src/utils/update-eligibility.ts
  • ui/src/views/ContainersView.vue
  • ui/src/views/SecurityView.vue
  • ui/src/views/containers/useContainerActions.ts
  • ui/src/views/containers/useContainerPolicy.ts
  • ui/src/views/dashboard/components/DashboardRecentUpdatesWidget.vue
  • ui/src/views/security/securityViewUtils.ts
  • ui/tests/components/containers/ContainerDependencyRow.spec.ts
  • ui/tests/components/containers/ContainersGroupedViews.button-states.spec.ts
  • ui/tests/components/containers/ContainersGroupedViews.spec.ts
  • ui/tests/components/containers/ContainersListContent.spec.ts
  • ui/tests/composables/useDependencyGraph.spec.ts
  • ui/tests/preferences/migrate.spec.ts
  • ui/tests/utils/dependency-graph-view.spec.ts
  • ui/tests/utils/dependency-tree.spec.ts
  • ui/tests/utils/dependency-update-guard.spec.ts
  • ui/tests/utils/update-eligibility.spec.ts
  • ui/tests/views/ContainersView.spec.ts
  • ui/tests/views/SecurityView.spec.ts
  • ui/tests/views/containers/useContainerActions.spec.ts
  • ui/tests/views/containers/useContainerPolicy.spec.ts
  • ui/tests/views/dashboard/DashboardRecentUpdatesWidget.spec.ts
  • ui/tests/views/security/securityViewUtils.spec.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 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@scttbnsn
scttbnsn merged commit fc0549a into dev/v1.7 Oct 22, 2026
29 of 30 checks passed
@scttbnsn
scttbnsn deleted the batch/v1.7-20261022-2219 branch October 22, 2026 23:24

This branch was successfully deployed

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