fix(config): escape env substitutions#32895
Conversation
|
This PR doesn't fully meet our contributing guidelines and PR template. What needs to be fixed:
Please edit this PR description to address the above within 2 hours, or it will be automatically closed. If you believe this was flagged incorrectly, please let a maintainer know. |
|
The following comment was made by an LLM, it may be inaccurate: Found a potential duplicate: PR #32786 - This appears to be addressing the same issue: escaping environment variable substitutions in config to maintain valid JSON. This may be a related or duplicate PR that should be reviewed to ensure both aren't tackling the identical problem. |
|
This pull request has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window. Feel free to open a new pull request that follows our guidelines. |
Summary
{env:...}substitution values before inserting them into config textCloses #32695
Verification
bun test test/config/config.test.ts --timeout 30000 --filter "environment variable"frompackages/opencodebun run typecheckfrompackages/opencodebun turbo typecheck