Repository navigation
Retry on auto-fetch and agent-update failure notifications - #400
Merged
Merged
Conversation
…ctions carry args Actions can carry string args, persisted with bell entries and stored in the OS banner payload by action id, so a press after a cold start still knows what to act on. Auto-fetch warnings offer Retry (fetch now; a success resolves the warning). Failed agent updates offer Retry and Open settings; Retry re-checks the registry and only updates an installed agent that is still behind and not already updating.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
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.
Follow-up to #399: two more warnings get a button that fixes the problem, not just one that opens it.
What changes
handleGitError, the same as the Fetch button.stillAppliesre-checks the registry first and only updates an agent that is installed, still has an update available, and has none in flight. Otherwise it opens Settings → Agents.args(string-only), because Retry has to know which agent. The args reach the handler from every surface:cleanActions;bannerActionArgs, so a press after a cold start still has them.git-pull-api.tswas renamed togit-remote-api.tsand gainsfetchRemote.Tested
cleanActionsargs.bun run dev(mock backend):git_fetch, shows "Fetched acme-app", and resolves both bell entries;acp_registry_updateand shows "Kilo Code updated to v4.2.0";bun run ci:localis green; the Linux container jobs were skipped locally.Not tested
dev:app(native-only). Both actions are Retry, so they should appear as a banner button. Args routing is unit-tested only.