Skip to content

Conversation

@thaJeztah
Copy link
Member

relates to:

cli/command/registry: remove deprecated OauthLoginEscapeHatchEnvVar

This const was added in 846ecf5, but
only used internally; commit 18cdc25
deprecated the const, which was included in the 28.4 release.

This patch removes the exported const, as it's unused.

remove DOCKER_CLI_DISABLE_OAUTH_LOGIN escape hatch

This code was added in 846ecf5 as an
escape hatch in case the new OAuth login flow would cause problems.
We have not received reports where the new flow caused problems, and
searching the internet shows no mentions of the env-var.

This env-var was not documented, so we can remove it.

- Human readable description for the release notes

Go SDK: cli/command/registry: remove deprecated `OauthLoginEscapeHatchEnvVar` const.

- A picture of a cute animal (not mandatory but encouraged)

This const was added in 846ecf5, but
only used internally; commit 18cdc25
deprecated the const, which was included in the 28.4 release.

This patch removes the exported const, as it's unused.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah added this to the 29.0.0 milestone Sep 23, 2025
@thaJeztah thaJeztah added impact/deprecation status/2-code-review kind/refactor PR's that refactor, or clean-up code area/authentication area/go-sdk Changes affecting the Go SDK impact/go-sdk Noteworthy (compatibility changes) in the Go SDK labels Sep 23, 2025
@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
cli/command/registry/login.go 0.00% 0 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

This code was added in 846ecf5 as an
escape hatch in case the new OAuth login flow would cause problems.
We have not received reports where the new flow caused problems, and
searching the internet shows no mentions of the env-var.

This env-var was not documented, so we can remove it.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah force-pushed the remove_oauth_escape_hatch branch from 2bcf42d to 71f4605 Compare September 23, 2025 19:47
@thaJeztah thaJeztah merged commit c8600e1 into docker:master Sep 24, 2025
90 checks passed
@thaJeztah thaJeztah deleted the remove_oauth_escape_hatch branch September 24, 2025 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/authentication area/go-sdk Changes affecting the Go SDK impact/deprecation impact/go-sdk Noteworthy (compatibility changes) in the Go SDK kind/refactor PR's that refactor, or clean-up code status/2-code-review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants