Skip to content

chore: Test a Docker error of the container with an image reference that Docker rejects locally, so that the test does not depend on the registry. - #283

Merged
goloroden merged 1 commit into
mainfrom
chore/container-docker-error-without-registry
Oct 19, 2026
Merged

goloroden merged 1 commit into
mainfrom
chore/container-docker-error-without-registry

Conversation

@goloroden

Copy link
Copy Markdown
Member

The container test for a Docker error asked the registry for a tag that does not exist, and once failed because Docker took over 30 seconds to get an answer.

  • It now uses the image tag not a valid tag, which Docker rejects locally at once, with status 400, without asking a registry.
  • The case of an image that is neither in the registry nor local remains deterministic: the registry's answer is made up, and Docker only looks for the image locally.

Both tests passed 30 runs in a row, in about 0.1 seconds each.

🤖 Generated with Claude Code

https://claude.ai/code/session_01QykegdHe7vhHMBN3kWxgfH

…hat Docker rejects locally, so that the test does not depend on the registry.

The test asked the registry for a tag that does not exist, and once failed
because the registry took longer than the timeout of the test to answer. It
now uses a reference that Docker rejects on its own. The case of an image that
is neither in the registry nor local remains, with a made-up answer of the
registry instead of a real one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QykegdHe7vhHMBN3kWxgfH
@goloroden
goloroden requested a review from a team as a code owner October 19, 2026 16:16
@goloroden goloroden self-assigned this Oct 19, 2026
@goloroden
goloroden merged commit 62631ab into main Oct 19, 2026
7 checks passed
@goloroden
goloroden deleted the chore/container-docker-error-without-registry branch October 19, 2026 16:39
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.

1 participant