Skip to content

fix: authentication priority and persistent hang#477

Open
cocosheng-g wants to merge 7 commits intomainfrom
fix/auth-priority-and-hang
Open

fix: authentication priority and persistent hang#477
cocosheng-g wants to merge 7 commits intomainfrom
fix/auth-priority-and-hang

Conversation

@cocosheng-g
Copy link
Collaborator

This PR implements aggressive authentication sanitization to prevent the Gemini CLI from hanging when multiple credentials are present. It also adds a directory fix for ~/.gemini and enhanced debug logging.

@cocosheng-g cocosheng-g requested review from a team as code owners March 10, 2026 21:01
@cocosheng-g
Copy link
Collaborator Author

/review

@gemini-cli
Copy link
Contributor

gemini-cli bot commented Mar 10, 2026

🤖 Hi @cocosheng-g, I've received your request, and I'm working on it now! You can track my progress in the logs for more details.

@gemini-cli
Copy link
Contributor

gemini-cli bot commented Mar 10, 2026

🤖 I'm sorry @cocosheng-g, but I was unable to process your request. Please see the logs for more details.

@cocosheng-g
Copy link
Collaborator Author

/review

@cocosheng-g
Copy link
Collaborator Author

Cleaned up action.yml: removed debug logging and specialized the fix for the authentication conflict.

@cocosheng-g
Copy link
Collaborator Author

Re-cleaned action.yml: restored artifact logic and original formatting. The PR diff is now minimal and only contains the necessary fixes.

@cocosheng-g cocosheng-g force-pushed the fix/auth-priority-and-hang branch from 5f843cb to ee2b83c Compare March 10, 2026 21:13
@cocosheng-g
Copy link
Collaborator Author

@gemini-cli /review

@gemini-cli
Copy link
Contributor

gemini-cli bot commented Mar 10, 2026

🤖 Hi @cocosheng-g, I've received your request, and I'm working on it now! You can track my progress in the logs for more details.

@cocosheng-g
Copy link
Collaborator Author

@gemini-cli /review (Re-triggering with aggressive sanitization fix)

@gemini-cli
Copy link
Contributor

gemini-cli bot commented Mar 10, 2026

🤖 Hi @cocosheng-g, I've received your request, and I'm working on it now! You can track my progress in the logs for more details.

@cocosheng-g
Copy link
Collaborator Author

@gemini-cli /review (Retrying with local action reference to verify fix)

@gemini-cli
Copy link
Contributor

gemini-cli bot commented Mar 10, 2026

🤖 Hi @cocosheng-g, I've received your request, and I'm working on it now! You can track my progress in the logs for more details.

Comment on lines +12 to +21
runs-on: 'ubuntu-latest'
steps:
- name: 'Checkout'
uses: 'actions/checkout@v4'

- name: 'Run Gemini Version'
uses: './'
with:
prompt: '--version'
gemini_debug: true

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium test

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant