Skip to content

Conversation

@parthasaradhie
Copy link
Collaborator

related to #337

Env variable DEBUG is used in CONTRIBUTING.md?plain=1#L356
Setting this to true will start gemini in inspect-brk mode which will wait for node debugger to attach indefinitely. resulting in looks like freeze.

so i have removed the support of the env variable and added warning to users to notify it side effects.

@parthasaradhie
Copy link
Collaborator Author

/gemini review

@parthasaradhie
Copy link
Collaborator Author

@gemini-cli /review

1 similar comment
@MJjainam
Copy link
Collaborator

MJjainam commented Dec 6, 2025

@gemini-cli /review

@gemini-cli
Copy link
Contributor

gemini-cli bot commented Dec 6, 2025

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

Copy link
Contributor

@gemini-cli gemini-cli bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

## 📋 Review Summary

This pull request renames the DEBUG input to GEMINI_DEBUG to avoid conflicts with the Node.js debugger and updates the debug logging mechanism. The changes are generally good, but there are a few important issues to address, including a security policy violation and the use of an unreliable sleep command.

🔍 General Feedback

  • The changes to README.md are clear and effectively warn users about the previous issues with the DEBUG variable.
  • The move to GEMINI_DEBUG is a good improvement to avoid environment variable collisions.

@MJjainam
Copy link
Collaborator

MJjainam commented Dec 8, 2025

Should we update all the vars.DEBUG variable to vars.GEMINI_DEBUG ?

@parthasaradhie
Copy link
Collaborator Author

Should we update all the vars.DEBUG variable to vars.GEMINI_DEBUG ?

Updated all the references

@MJjainam MJjainam merged commit 59aecd4 into google-github-actions:main Dec 8, 2025
7 checks passed
parthasaradhie pushed a commit that referenced this pull request Dec 16, 2025
## What's Changed
* fix #371 use JSON output of gemini cli by @gsehgal in
#402
* fix: detect silent failures in gemini-cli by checking for invalid JSO…
by @megha1188 in
#406
* chore: Add Prettier and pre-commit hook for consistent formatting,
applying initial format fixes across documentation and examples. by
@parthasaradhie in
#409
* Rename `DEBUG` input to `GEMINI_DEBUG` and pass `--debug` flag to CLI.
by @parthasaradhie in
#407
* ci: auto update GitHub Actions using dependabot by @JamBalaya56562 in
#398
* Add job summary for Gemini CLI execution by @megha1188 in
#423

## New Contributors
* @megha1188 made their first contribution in
#406
* @parthasaradhie made their first contribution in
#409

**Full Changelog**:
v0.1.16...v0.1.17
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.

2 participants