Repository navigation
fix(v1.6): backport the compose runtime-defaults refresh - #905
Conversation
A container recreated by the compose action was rebuilt from the stored config instead of re-reading the runtime defaults the pulled image ships, so image-set vars like APP_VERSION and RELEASE_VERSION carried over from the old container and the UI kept reporting an update against an image that was already current. Cherry-picked from 154c4e0 (#736), which landed on dev/v1.7 only. The reporter runs 1.6.0, so the fix was unreachable on the line they are on.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (2)
Included review availability: Your plan provides up to 2 included reviews per hour; 0 remain after this review. 📝 WalkthroughWalkthroughDocker Compose refresh now resolves clone runtime configuration options before rollback capture. Container recreation passes these options to Merge Risk: ⚪ Minimal · up to The change refreshes Compose container runtime defaults while preserving explicit runtime values and existing rollback behavior. No actionable merge-blocking risk remains after normal checks and review. 🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
Full details: Linked Issues checkExplanation The changes address issue ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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 |
|
@coderabbitai review |
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
@coderabbitai review |
|
|
@coderabbitai full review |
|
biggest-littlest
left a comment
There was a problem hiding this comment.
Straight cherry-pick of #736 onto the 1.6 line, no behavioral drift from what already merged on dev/v1.7. Checks are green.
ALARGECOMPANY
left a comment
There was a problem hiding this comment.
Backport looks right. Same runtime-defaults refresh, same tests, targeted at dev/v1.6 so #734's reporter can actually get it.
|
@coderabbitai full review |
✅ Action performedFull review finished. |
Cherry-pick of
154c4e0b(#736) onto the 1.6 line.#734 reported that
APP_VERSIONandRELEASE_VERSIONstop matching the running image after a compose update, so the UI keeps showing an update against an image that is already current. A manualdocker compose down && docker compose up -dclears it, because compose rebuilds the container config from the image every time and drydock was rebuilding it from the stored config instead.That fix landed on
dev/v1.7only. The reporter runs 1.6.0, so it was unreachable on the line they are actually on, and v1.6.1 has not shipped yet. Backporting it here rather than making them wait for a major.Cherry-picked clean, no conflicts, no adaptation. 2 files, +68/-1, all of it the original change plus its regression.
Verified on this branch:
Dockercompose.compose-exec-and-hooks.test.ts68 tests passing, and the full pre-push gate green including coverage at 100%.Fixes: #734
Changelog
APP_VERSIONandRELEASE_VERSION.refreshComposeServiceWithDockerApito pass clone runtime configuration options tocloneContainer.Concerns
v1.6.