feat(config): freeze config v14 and start v15 as latest#3807
Merged
Conversation
Assisted-By: docker-agent
docker-agent
left a comment
Contributor
There was a problem hiding this comment.
Assessment: 🟢 APPROVE
This PR correctly freezes config v14 and advances latest to v15. The new pkg/config/v14/ package has the correct package v14 declaration, and all logic in the added files is a faithful copy of the prior latest state with no behavioral changes introduced.
docker-agent
left a comment
Contributor
There was a problem hiding this comment.
Assessment: 🟢 APPROVE
This PR correctly performs the config version 14 freeze and advances latest to version 15.
All key invariants verified:
pkg/config/v14/declarespackage v14throughout ✓pkg/config/v14/types.gosetsVersion = "14"✓pkg/config/latest/types.gobumps toVersion = "15"✓pkg/config/latest/parse.goimportsprevious "github.com/docker/docker-agent/pkg/config/v14"✓pkg/config/v14/parse.goimportsprevious "github.com/docker/docker-agent/pkg/config/v13"✓pkg/config/versions.goregistersv14.Register(parsers, &upgraders)✓agent-schema.jsonupdated: description → v15,"14"and"15"added to both enum and examples ✓
No new logic introduced — the v14 package is a verbatim copy of the previous latest with the package name updated. No bugs, regressions, or security issues identified.
trungutt
approved these changes
Jul 23, 2026
pull Bot
pushed a commit
to TheTechOddBug/cagent
that referenced
this pull request
Jul 24, 2026
Reflects changes from docker#3807. Source PR: docker#3807
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The config versioning scheme requires that each stable schema be frozen as an immutable numbered package before work-in-progress changes accumulate on
latest. This PR performs that freeze step for version 14.pkg/config/latestis copied verbatim intopkg/config/v14with the package name updated accordingly. Thelatestpackage then advances to version 15: itsVersionconstant is bumped, its internal import of the previous version now points atv14, andpkg/config/versions.goregisters the new package so the auto-loader can decode configs that declareversion: 14.agent-schema.jsonis updated in parallel — the description string references v15, and"14"is added to the version enum and examples.No behaviour changes for existing configs. Agents already on v14 will continue to load correctly via the frozen package; agents on any earlier version are unaffected.