Skip to content

gh25 - Make being unable to get image names from a registry a warning - #71

Merged
BenjiMilan merged 2 commits into
developfrom
feature/gh25_all_docker_run_fails_when_any_registry_down
Aug 19, 2026
Merged

gh25 - Make being unable to get image names from a registry a warning#71
BenjiMilan merged 2 commits into
developfrom
feature/gh25_all_docker_run_fails_when_any_registry_down

Conversation

@BenjiMilan

Copy link
Copy Markdown
Contributor

… instead of an error

Closes #25

sc docker is a bit of a mess. I'm going to split out DockerConfigManager & then wrap DockerClient as separate classes. So then ScDocker itself is just an orchestrator that also builds the docker command. But as separate PRs.

@BenjiMilan
BenjiMilan requested a review from TB-1993 August 19, 2026 08:31
@BenjiMilan BenjiMilan self-assigned this Aug 19, 2026
Copilot AI lite review requested due to automatic review settings August 19, 2026 08:31

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates sc docker to tolerate failures from individual registries when listing available image names, aligning behavior with Issue #25 by continuing to operate with other registries instead of exiting.

Changes:

  • Downgrades failure to fetch image names from a registry from a fatal error (sys.exit(1)) to a warning and continues.
  • Returns an empty image list for the failing registry to allow aggregating results from other registries.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/sc/docker/docker.py
Copilot AI review requested due to automatic review settings August 19, 2026 08:38

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@TB-1993 TB-1993 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Looks good, ship it!

@BenjiMilan
BenjiMilan merged commit 63c2d82 into develop Aug 19, 2026
7 checks passed
@BenjiMilan
BenjiMilan deleted the feature/gh25_all_docker_run_fails_when_any_registry_down branch August 19, 2026 10:04
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: sc docker fails if an API call to registry fails even if trying to use docker from other registry

3 participants