Orchestrate eject: preflight, config strip, Mimir cleanup#265
Orchestrate eject: preflight, config strip, Mimir cleanup#265timtalbot wants to merge 3 commits into
Conversation
…r cleanup Wire up the full eject flow for --dry-run=false: preflight validation, control room config snapshot, ptd.yaml field stripping, Mimir password deletion from the control room secret store, and eject record generation. Closes #248
# Conflicts: # lib/eject/eject.go
|
@claude review |
|
Claude finished @timtalbot's task —— View job Code Review:
|
Address review feedback on #265: remove unused Bundle type and variable from eject.Run, and wrap os.WriteFile calls in tests with require.NoError for fail-fast on setup errors.
Summary
Wires up the full
ptd eject --dry-run=falseflow, turning the eject command from a documentation-only tool into one that actually disconnects the workload from the control room.control_room_*fields exist in config before proceedingeject-record.jsoncapturing what happened (snapshot, timestamps, success/failure of each step)sever→eject/removalthroughout;sever.go→mimir.gomimir.go)Test plan
Closes #248