Skip to content

Support passing environment variables when starting Dev Proxy#348

Closed
Copilot wants to merge 4 commits intomainfrom
copilot/support-env-variables-dev-proxy
Closed

Support passing environment variables when starting Dev Proxy#348
Copilot wants to merge 4 commits intomainfrom
copilot/support-env-variables-dev-proxy

Conversation

Copy link
Contributor

Copilot AI commented Feb 27, 2026

  • Add env property to DevProxyTaskDefinition interface in task-provider.ts and pass to ShellExecution options
  • Add env property to task definition schema in package.json
  • Add dev-proxy-toolkit.env configuration setting in package.json for terminal-based startup
  • Update TerminalService to accept and apply environment variables when creating terminals
  • Add tests for new environment variable support in task-provider and terminal tests
  • Update README with configuration table and task example for env support
  • Update CHANGELOG with entries for new env setting and task property
  • Run code review and address feedback
  • Run CodeQL security scan (no alerts)
Original prompt

This section details on the original issue you should resolve

<issue_title>Support passing environment variables when starting Dev Proxy</issue_title>
<issue_description></issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Support passing environment variables when starting Dev Proxy Support passing environment variables when starting Dev Proxy Feb 27, 2026
@garrytrinder
Copy link
Member

@copilot update this PR to include changelog and readme updates following the guidelines in AGENTS.md

Copy link
Contributor Author

Copilot AI commented Feb 27, 2026

@copilot update this PR to include changelog and readme updates following the guidelines in AGENTS.md

Added CHANGELOG entries under [1.13.0] - Unreleased for the new env setting and task definition property. README was already updated in prior commits with the configuration table entry and task example. See 239caa4.

@garrytrinder garrytrinder force-pushed the copilot/support-env-variables-dev-proxy branch from 239caa4 to c72535b Compare March 2, 2026 10:09
@garrytrinder garrytrinder marked this pull request as ready for review March 2, 2026 10:14
Copilot AI and others added 4 commits March 2, 2026 13:10
Co-authored-by: garrytrinder <11563347+garrytrinder@users.noreply.github.com>
Co-authored-by: garrytrinder <11563347+garrytrinder@users.noreply.github.com>
Co-authored-by: garrytrinder <11563347+garrytrinder@users.noreply.github.com>
@garrytrinder garrytrinder force-pushed the copilot/support-env-variables-dev-proxy branch from c72535b to b127a3e Compare March 2, 2026 13:13
@garrytrinder
Copy link
Member

Closing in favour of a broader "Start with Options..." command. The env vars idea is good but should be part of an interactive launch experience rather than a standalone setting. See new issue.

@garrytrinder garrytrinder deleted the copilot/support-env-variables-dev-proxy branch March 2, 2026 13:46
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.

Support passing environment variables when starting Dev Proxy

2 participants