Repository navigation
feat: land the 2026-10-22 batch into 1.7 (4 changes) - #1467
Conversation
…downs and the single Trivy pin to 1.7
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedToo 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
⛔ Files ignored due to path filters: 1
📒 Files selected for processing: 130
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✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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
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.
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 oldHostConfigverbatim. An anonymous volume (an imageVOLUMEpath 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/datawas gone after an update.HostConfigcovers are carried over asname:/dest[:ro]binds to the same volume, asdocker composedoes.--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.dbdata:/data/bind doesn't get a duplicate that would make create fail after the old container is gone.v: true, so the reused volume is never deleted.Verified on the NAS for both the image-
VOLUMEand source-less--mountcases. Codex pass 1 found the normalization and source-less cases; both fixed with tests. Backport of the 1.8 fix; the samecloneContainerhas 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.
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 andlastErrorwithout failing the owner's update. Rollback (health monitor and manual) runs the same pass against the restored owner.AutoRemovedependents are refused up front.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_fileslabels.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:
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 staysscan, so the window keeps gating the whole scheduled scan exactly as in 1.7.0;installis opt-in and lets scans run outside the window while still holding installs to it.