Repository navigation
chore(release): prepare v1.7.0-rc.17 with the 1284, 1280 and 1281 fixes - #1287
Conversation
A healthcheck stored as Test ["NONE"], an empty test, or a block with only timing fields never produces State.Health, so the Docker action waited out the rollback window and rolled back a healthy update. Gate only on a CMD or CMD-SHELL probe or a reported health state. Docs now give the real default wait (the 300000 ms rollback window, 120 s minimum) and say a disabled healthcheck counts as none. Fixes: #1284
The controller deleted the old row on dd:container-removed without stashing its policy, so a UI maturity override was lost on every update of an agent-managed container. Stash on agent removals and on prunes with no replacement in the report, adopt from a still-stored same-identity predecessor when the add arrives first, and stop a local scan from persisting the temporary -old-<timestamp> name. Fixes: #1280
Alpine 3.24 replaced openssl 3.5.8-r0 with 3.5.9-r0, so the pinned install no longer resolves and the image build fails.
…icas A same-id return left the id-keyed stash entry behind, which could bring back an override the user had since cleared. Replicas of one compose service share an identity key, so a retained policy could land on a sibling; skip the stash when another stored row shares the key. Refs: #1280
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 18 minutes. View limit detailsLimit details: You’ve used all 2 included reviews currently available. Review configuration: ⚙️ Run configurationConfiguration used: Repository: CodesWhat/drydock/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: ⛔ Files ignored due to path filters (5)
📒 Files selected for processing (42)
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! |
Prepares v1.7.0-rc.17 and carries the fixes for the three issues reported since rc.16. This PR doesn't publish anything or touch main.
Fixes:
Test: ["NONE"]), an empty test, or only timing fields was treated as having a healthcheck. Docker never reports health for those, so the Docker action waited out the rollback window and rolled back a healthy update. The gate now needs aCMDorCMD-SHELLprobe or a reported health state. Checked against a live daemon:--no-healthcheckand an interval-only healthcheck both leaveState.Healthnull.dd:container-removedwithout keeping its policy. It's now carried to the replacement whichever event arrives first, and when a snapshot drops the old id before listing the new one. It only goes to a container with the same agent, watcher and name, and is skipped when compose replicas share an identity. A local scan no longer stores Drydock's temporary-old-<timestamp>name.Docs: the health gate's default wait is the 300000 ms rollback window with a 120 second floor, not 120 seconds, and a disabled healthcheck counts as none. The #245 changelog line that said the gate is skipped without
dd.rollback.autois corrected.Also in here:
Checked locally: full pre-push gate on
ecb7ee216with 100% app and UI coverage and both builds. The fixes had one independent review pass; its two findings (a stale id-keyed stash entry and the compose replica case) are fixed in the last commit. A third, narrower one on controller-local containers is tracked as a follow-up.Not in this PR: the 1.8 forward-port. The store is SQLite there, so the #1280 change needs rewriting against that query API.
Refs #1284, #1280 and #1281. No closing keywords on purpose: #1280's predecessor was auto-closed twice by a merge before the fix reached a release, so these get closed by hand once rc.17 is out.