-
Notifications
You must be signed in to change notification settings - Fork 110
Closed
Labels
greenkeepingCall it tech debt, greenkeeping, technical improvements.Call it tech debt, greenkeeping, technical improvements.team-cliTickets relevant to the flox CLI teamTickets relevant to the flox CLI team
Description
Acceptance criteria
Make it possible to:
- Programatically and manually identify an activation from the
.floxenvironment path - Manually delete all activation state without deleting the remote environment cache
- Garbage collect activation state when a watchdog has died and the environment is no longer used
Why
Debugging bad activation state is hard because (corresponding to numbers above):
- You can't inspect the relevant
activations.jsonunless you can get$_FLOX_ACTIVATION_STATE_DIRfrom a working activation. - The crude option of deleting
~/.cache/flox/runto reset activation state also delete state for remote environments.
And:
- We can't currently garbage collect the activations registry because we don't have an index of all activations or any mapping from the environment registry (create a follow-up ticket if not solved in this ticket)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
greenkeepingCall it tech debt, greenkeeping, technical improvements.Call it tech debt, greenkeeping, technical improvements.team-cliTickets relevant to the flox CLI teamTickets relevant to the flox CLI team