You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(resolvables): target config resolution and cascade target deletes
Add support for resolvable target configs ($ref references to resource
properties) and cascade target deletes on destroy.
Target config resolution:
- Targets can reference resource properties via $res/$ref (e.g., a
Grafana target resolving its endpoint from a Compose stack)
- TargetUpdater FSM gains a Resolving state for config $ref resolution
- DAG edges enforce ordering: target resolves before its resources start
- Resolve cache strips resolvable metadata before passing config to plugins
- Non-blocking retries in resolve cache using SendAfter
Cascade target deletes:
- On destroy, targets with $ref dependencies are automatically deleted
(plain targets like docker/us-east-1 survive destroy)
- BFS discovery of transitive cascade chains via FindTargetsDependingOnMany
- Cascade-failed targets properly marked as Failed in FormaCommandPersister
- IsCascade/CascadeSource fields on target and resource updates for CLI display
Also includes:
- DB-agnostic idempotent target create (replaces SQLite-specific constraint matching)
- StateNotStarted as initial TargetUpdater FSM state
- Mutation test timeout increased to 90 minutes
0 commit comments