Skip to content

Makes bootstrap env parameter compatible with older clients.#1434

Merged
jglogan merged 1 commit intoapple:mainfrom
jglogan:bootstrap-envfix
Apr 21, 2026
Merged

Makes bootstrap env parameter compatible with older clients.#1434
jglogan merged 1 commit intoapple:mainfrom
jglogan:bootstrap-envfix

Conversation

@jglogan
Copy link
Copy Markdown
Contributor

@jglogan jglogan commented Apr 21, 2026

  • Closes [Bug]: New env bootstrap parameter breaks XPC API compatibility. #1433.
  • Renames env parameter to dynamicEnv to differentiate these special-case environment variables from the standard container environment.
  • Use [String: String] instead of [String: String]?.
  • Default to [:] when an down-revision client calls bootstrap without supplying dynamicEnv.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Motivation and Context

Preserve XPC API compatibility, disambiguate dynamicEnv vs regular container environment variables.

Testing

  • Tested locally
  • Added/updated tests
  • Added/updated docs

- Closes apple#1433.
- Renames `env` parameter to `dynamicEnv` to differentiate
  these special-case environment variables from the standard
  container environment.
- Use `[String: String]` instead of `[String: String]?`.
- Default to `[:]` when an down-revision client calls
  bootstrap without supplying `dynamicEnv`.
@github-actions github-actions Bot added the cli label Apr 21, 2026
@jglogan jglogan merged commit d15fe22 into apple:main Apr 21, 2026
4 checks passed
@jglogan jglogan deleted the bootstrap-envfix branch April 21, 2026 03:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: New env bootstrap parameter breaks XPC API compatibility.

2 participants