Different routes have different promises
A task-history page can remain useful while new submissions are paused. Conversely, an apparently responsive frontend should not accept work if its command database is unavailable. Readiness should follow the promise made by each route or worker role.
What to do next
- 01
Define admission prerequisites
List the local dependencies required to save commands, apply authorization and enforce limits. Decide whether you can safely queue during upstream downtime, and impose a bounded backlog if you offer that behavior.
- 02
Split service roles
Keep history and download access separate from new-command admission where the architecture allows it. Workers can be dispatch-unready while the web application remains able to explain existing tasks and show previously delivered assets.
- 03
Test partial degradation
Disable the command database, the queue and the upstream dependency separately. Confirm each failure blocks only operations whose promises cannot be met, with clear user messages and no silently accepted unsaved action.
A concrete example
Illustrative example: a queue outage leaves the application's database and outbox working. Under a bounded saved-command policy it can accept a limited backlog. If the database fails instead, it refuses new commands because it cannot preserve approval durably.
Before you call it ready
- Readiness matches the route's promise.
- Backlogs are explicitly bounded.
- Existing task views remain available when safe.
When to stop or choose another method
Stop returning Action saved when the application cannot durably record it, even if the frontend and health endpoint are responsive.
