Skip to content

freeze config v8 and start v9 as latest#2688

Merged
dgageot merged 2 commits intodocker:mainfrom
dgageot:board/bdb17c8f89aa33d5
May 7, 2026
Merged

freeze config v8 and start v9 as latest#2688
dgageot merged 2 commits intodocker:mainfrom
dgageot:board/bdb17c8f89aa33d5

Conversation

@dgageot
Copy link
Copy Markdown
Member

@dgageot dgageot commented May 7, 2026

Freezes the previous pkg/config/latest package as pkg/config/v8 and bumps latest to schema version 9.

Changes

  • New pkg/config/v8/: copied all sources/tests from pkg/config/latest/, renamed the package to v8/v8_test. The Version = "8" constant and previous "…/v7" upgrade import are preserved.
  • pkg/config/latest/:
    • Version constant bumped from "8""9".
    • parse.go previous import switched from v7 → v8.
    • validate_test.go inline version: "8" fixtures updated to "9".
    • hooks_yaml_test.go doc comment updated to mention v9.
  • pkg/config/versions.go: registers the new v8 package between v7 and latest.

Also includes a small follow-up that switches a handful of slog.Warn calls to slog.WarnContext where a ctx is already in scope, addressing the existing Lint/SlogContextual cop warnings (unrelated to the freeze, but surfaced by task lint).

@dgageot dgageot requested a review from a team as a code owner May 7, 2026 09:59
Copy link
Copy Markdown
Member

@rumpl rumpl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we throw a party when we get to 10?

@dgageot dgageot merged commit 766072a into docker:main May 7, 2026
8 checks passed
@docker-agent
Copy link
Copy Markdown

PR Review Failed — The review agent encountered an error and could not complete the review. View logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants