Skip to content

fix(fleet): store augmented command in session file#612

Merged
Wirasm merged 2 commits into
mainfrom
kild/fix/list-fleet-flags
Feb 26, 2026
Merged

fix(fleet): store augmented command in session file#612
Wirasm merged 2 commits into
mainfrom
kild/fix/list-fleet-flags

Conversation

@Wirasm

@Wirasm Wirasm commented Feb 26, 2026

Copy link
Copy Markdown
Owner

Summary

  • kild list showed the base agent command without fleet flags (--agent-id, --agent-name, --team-name) because AgentProcess stored the command before fleet_agent_flags() appended them
  • Use the already-computed fleet_command (which includes fleet flags when applicable) instead of the base agent_command when constructing AgentProcess

Test plan

  • cargo fmt --check passes
  • cargo clippy --all -- -D warnings passes
  • cargo test --all passes (3 pre-existing env-dependent test failures unrelated to this change)
  • Create a fleet worker session, verify kild list --json shows the full command including --agent-id, --agent-name, --team-name

Closes #607

The session file stored the base agent command before fleet flags were
appended, so `kild list` showed a command missing --agent-id,
--agent-name, and --team-name flags. Use the already-computed
fleet_command instead so the stored command matches what actually runs.

Closes #607
@Wirasm Wirasm merged commit 4204db0 into main Feb 26, 2026
6 checks passed
@Wirasm Wirasm deleted the kild/fix/list-fleet-flags branch February 26, 2026 23:25
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.

bug: kild list shows command without fleet flags

1 participant