fix(patch): cherry-pick ea48bd9 to release/v0.31.0-preview.1-pr-20577 [CONFLICTS]#20592
Conversation
Co-authored-by: Gal Zahavi <38544478+galz10@users.noreply.github.com> # Conflicts: # packages/cli/src/test-utils/render.tsx # packages/cli/src/ui/AppContainer.tsx # packages/cli/src/ui/contexts/UIActionsContext.tsx
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request significantly improves the user experience for handling account suspension errors within the CLI. By introducing a specialized error type and a dedicated dialog, the application can now provide users with more specific and actionable information when their account is suspended due to Terms of Service violations. This change refines the authentication flow, ensuring that account suspension details, including appeal options, are clearly communicated to the user, rather than being presented as a generic authentication failure. Highlights
Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request cherry-picks a commit to handle account suspension errors, which can occur due to Terms of Service violations. The changes introduce a new AccountSuspendedError type, update the authentication flow to detect this error, and add a new BannedAccountDialog to inform the user and provide an appeal link. The changes are well-implemented and tested. However, there are unresolved merge conflict markers in three files that must be addressed before this PR can be merged, as highlighted in the specific comments.
|
Size Change: +6.63 kB (+0.03%) Total Size: 25.7 MB
ℹ️ View Unchanged
|
3e3da76
into
release/v0.31.0-preview.1-pr-20577
This PR automatically cherry-picks commit ea48bd9 to patch version v0.31.0-preview.1 in the preview release to create version 0.31.0-preview.2.
This cherry-pick resulted in merge conflicts that need manual resolution.
🔧 Next Steps:
📋 Files with conflicts:
The commit has been created with conflict markers for easier manual resolution.
🚨 Important: