Repository navigation
feat(keys): r refreshes the list and every pull request now - #27
Merged
Merged
Conversation
There was a problem hiding this comment.
Score de confiance : 4/5 · ✅ Rien de bloquant · Peut être fusionnée : le changement ajoute la touche r et un rafraîchissement forcé de la boucle de surveillance, sans défaut bloquant relevé dans le diff.
Niveau lite · anthropic/claude-haiku-5.5 · 0,004 $ · Le résumé, le diagramme et la liste des constats sont à la fin de la description de la PR.
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.
Summary
r(or a click on « r refresh ») stops the wait of the watch loop and reads the list and every pull request again, without the wait for the next minute.rworks only in the main set: in the list of the bots,ropens CodeRabbit, and in the menu of a bot,ris thereviewcommand.Test plan
pnpm test(158),pnpm typecheck,pnpm lint,pnpm formatboo --watch --dry-runin a real terminal (pty): the bar shows « r refresh », andrshows « Refreshing the list… », then « checking… » in the header.Not verified in a browser: boo is a terminal UI with no web page.
Sakuga Review · Score de confiance : 4/5
Peut être fusionnée : le changement ajoute la touche r et un rafraîchissement forcé de la boucle de surveillance, sans défaut bloquant relevé dans le diff.
Résumé
La touche r, active seulement au niveau principal, appelle refreshAll qui réveille la boucle --watch via un AbortController et force une relecture de la liste puis de chaque pull request au tour suivant. Le contrôle de l'interruption du sleep ne réémet que les arrêts du workflow, et le rattrapage du wake est réinitialisé après chaque tour. Les chemins de rafraîchissement existants (quiet et due) couvrent toutes les lignes ouvertes. Je n'ai pas trouvé de scénario concret de défaut dans le diff ; les appels à gitHub.listPullRequests et fetchPullRequest, ainsi que les définitions de sleep et de decide, ne figurent pas dans le message.
Diagramme
%%{init: {'theme': 'neutral'}}%% flowchart LR A["touche r"] --> B["refreshAll"] B --> C["wake.abort"] C --> D["run boucle watch"] D --> E["syncList"] E --> F["refresh des lignes"]Non relu
Revues (1) · Dernier commit relu : feat(keys): r reads the list and every pull req... · Niveau
lite·anthropic/claude-haiku-5.5· 0,004 $