Global agent env vars are silently dropped when the `launch` block is present
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 86/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- kubernetes, rust
- Domain
- backend, infrastructure
Research direction
Start in crates/buzz-backend-kubernetes/src/env.rs and trace the merged environment map produced by commands/agents_deploy.rs::build_deploy_payload. Compare the launch-present and launch-absent paths, then verify that global, persona, and agent variables reach the pod when a launch block is present without being duplicated.
Written by the indexing model from the issue text.
Description
Severity: medium — silent, and the global config is the documented place for
shared credentials.
crates/buzz-backend-kubernetes/src/env.rs:
if agent.launch.is_some() {
env.extend(launch.env.clone());
} else {
env.extend(agent.env_vars.clone());
}
The desktop always sends a launch block, so the top-level env_vars — which
commands/agents_deploy.rs::build_deploy_payload fills with the merged
global + persona + agent env — is ignored. A credential placed in the global
agent config never reaches the pod, with no error anywhere.
Expected: either merge the top-level env_vars in both branches, or stop
sending the merged map at the top level and put it only in launch.env.
- Dominant language
- Rust
- Stars
- 33.7k
- Forks
- 4.4k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 239
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from block/buzz
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
workflow_sink's mention parser never masks code regions — @name inside a code span wakes the agent Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 Half a day Newbie friendliness 88/100
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100