Skip to content

Instruct agents to use APP_ENV=testing for Pest#775

Closed
NoelDeMartin wants to merge 1 commit intolaravel:mainfrom
NoelDeMartin:patch-1
Closed

Instruct agents to use APP_ENV=testing for Pest#775
NoelDeMartin wants to merge 1 commit intolaravel:mainfrom
NoelDeMartin:patch-1

Conversation

@NoelDeMartin
Copy link
Copy Markdown

@NoelDeMartin NoelDeMartin commented Apr 17, 2026

I have been working with Gemini CLI recently, and I was going crazy because every time the agent ran tests they would fail... After some debugging, I found that for some reason Gemini CLI sets APP_ENV=local :/. I'm not sure why this happens, looking at their source code I haven't found any reference to this, but someone else opened an issue so I'm not the only one facing that problem.

I'm not sure if my proposed solution is the best idea, but I have tried adding this sentence to my local .ai/guidelines folder and everything is working fine.

Even if you don't want to merge this, at least people should come across this solution if they are searching for answers :).

@pushpak1300
Copy link
Copy Markdown
Member

Thanks for your pull request!

Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain this package, we need to be very careful regarding the amount of code we include.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants