What
Tenant config rollback safety workflow.
Why
A bad tenant config rollout has no automated detection-and-rollback workflow.
Scope
In scope:
- Define and implement the workflow steps described against tenantConfigService.ts
- Error handling and retry behavior for each step
- Observability (logging/tracing) for workflow execution
- Tests covering the happy path and at least one failure path
Out of scope:
- Redesigning the underlying service being orchestrated
- Building unrelated workflows not described in this issue
- New UI beyond what's needed to observe workflow status
Acceptance Criteria
Technical Context
- Relevant files:
tenantConfigService.ts
- New surface area: this is part of the Mastra AI integration (greenfield) — coordinate with whichever foundation/infra issues (agent runtime bootstrap, tool registry, auth scoping) have landed so far
What
Tenant config rollback safety workflow.
Why
A bad tenant config rollout has no automated detection-and-rollback workflow.
Scope
In scope:
Out of scope:
Acceptance Criteria
Technical Context
tenantConfigService.ts