Repository navigation
Conversation
Route the redeclared and inlined getErrorMessage copies through util/error, add shared getErrorStatusCode and getErrorMessageProperty helpers, give util/sleep an optional abort signal and drop the hand-rolled sleeps, and let Ecr and Acr use the inherited getRegistryHostname and authenticateBasic.
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
scttbnsn
added a commit
that referenced
this pull request
Oct 20, 2026
scttbnsn
added a commit
that referenced
this pull request
Oct 20, 2026
* refactor(app): share error, sleep and status helpers (#1423) * refactor(component): share one secret-mask helper (#1414) * feat(api): name the caller behind removed-API hits (#1402) * refactor(ui): share the search-from-query logic (#1418) * refactor(ui): seed the operations store from the container list (#1428) * build(docker): use Alpine's patched zlib and drop the custom build (#1417) * chore(license): relicense from AGPL-3.0 to MIT (#1410) * docs(changelog): one heading per section in Unreleased
Contributor
Author
|
Landed in #1434 as part of folding the reviewed 1.8 work into 1.8.0. |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Collapses the copy-pasted error, sleep and status helpers in app/ onto util/error and util/sleep. getErrorMessage copies and the inline instanceof Error ternaries now use the shared one, four status-from-error helpers become getErrorStatusCode, the hand-rolled sleeps use util/sleep (abort-aware when given a signal), and Ecr and Acr use the inherited getRegistryHostname and authenticateBasic. Message-property-only extractors stay as a named getErrorMessageProperty, and scan.ts keeps its own stringifying variant. Edge cases change slightly: message-less objects log 'unknown error' instead of '[object Object]', and ECR host matching is now case-insensitive.
Held for 1.8.1: changes the image, don't merge before the v1.8 GA cut.