chore: freeze config v13 and start v14 as latest#3774
Merged
Conversation
Assisted-By: docker-agent
aheritier
approved these changes
Jul 21, 2026
trungutt
pushed a commit
to trungutt/docker-agent
that referenced
this pull request
Jul 22, 2026
…4 as latest Config schema version 14 is now the current latest; update the Config Versioning section and the File Structure example to reference v14 instead of v13/v12. Source PR: docker#3774
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 agent config schema is versioned so that old configs remain readable after schema changes land. This PR advances that version boundary:
pkg/config/latestwas at v13 and is now re-opened as v14, while the previous latest is frozen as the immutablepkg/config/v13package.Concretely, all Go files from
latestwere copied intopkg/config/v13with the package name updated, the v13 upgrader (already a no-op pass-through) was left in place, and v13 was registered inpkg/config/versions.go. Inlatest,Versionis now"14", the previous-version import inparse.gopoints at v13, andagent-schema.jsonwas updated with the v14 description, enum value, and example.No behavior change for existing configs — the upgrade chain is purely additive.