gstack
gstack copied to clipboard
fix(gbrain): strip leaked db env for PGLite probes
Summaryn- strip leaked DATABASE_URL values when a PGLite gbrain config has no database_urln- keep explicit config database_url and GSTACK_RESPECT_ENV_DATABASE_URL behavior unchangedn- add regressions for buildGbrainEnv and local status probingnnFixes #1917.nn## Verificationn- bun test test/build-gbrain-env.test.ts test/gbrain-local-status.test.tsnn## Notesn- Branch is based on the fork main because the agent token lacks GitHub workflow scope for pushing upstream workflow history changes.n
Merging to main in this repository is managed by Trunk.
- [ ] To merge this pull request, check the box to the left or comment
/trunk mergebelow.
After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here
Autoreview: CLEANnnVerified:n- bun test test/build-gbrain-env.test.ts test/gbrain-local-status.test.tsn