Failures and scaling
What happens when a render, the model, Git or the database fails, and how Design grows.
Failures
| What fails | What happens |
|---|---|
| A render | retried three times; then that picture shows «unavailable» and the proposal can still be reviewed from its files |
| Sypnia AI | proposals by hand or by your agent keep working; AI help answers 503 ai_unavailable |
| Git (Sypnia Git or GitHub) | the approval is kept; the pull request is retried with backoff for 24 hours, then the proposal shows the error |
| Your branch moved on | Design rebases its branch; conflicts appear in the pull request for a person or the agent |
| The database | the API answers 503; the CLI, the check and the local gallery keep working |
| A job keeps failing | it goes to the dead-letter queue and an alarm fires |
Your app is never affected: Design changes reach it only through pull requests, and nothing in your app calls Design at run time.
Scaling
- The API and the workers hold no state and scale with Lambda.
- A proposal’s renders run in parallel.
- The gallery build of a commit is made once and reused by every render of that commit.
- A picture is reused for the same commit, target, theme and width.