Skip to content

Conversation

@nadaverell
Copy link
Contributor

@nadaverell nadaverell commented Feb 11, 2026

Summary

  • Backend: 401 responses from image inspection endpoints now include registryType (e.g. "google", "aws", "generic") so the frontend can show registry-specific guidance. Also added auth error detection to handleGetFile which previously lacked it.
  • Frontend: ApiError now carries the full error response data. The ImageFilesystemModal detects 401 errors and replaces the dead-end red error box with an AuthenticationHelp component showing the registry hostname, the specific CLI command to authenticate (e.g. gcloud auth configure-docker, aws ecr get-login-password), a copy button, and a retry button.
  • Extracted getRegistryHost() as a standalone utility so both AuthenticationHelp and DownloadConfirmation can use it.

Addresses #103

@nadaverell nadaverell requested a review from hisco as a code owner February 11, 2026 10:04
…spection

When image filesystem inspection fails due to authentication (private registries),
users previously saw a generic red error box with no guidance. Now the backend
enriches 401 responses with registryType, and the frontend shows an
AuthenticationHelp component with the specific CLI command to authenticate,
a copy button, and a retry button.

Closes #103
@nadaverell nadaverell force-pushed the fix/auth-error-ux-image-inspection branch from f367e80 to 6a46d84 Compare February 11, 2026 10:11
@nadaverell nadaverell merged commit 24a04a6 into main Feb 11, 2026
5 checks passed
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