Failures and scaling
What keeps working when a part of the registry fails, and how it grows.
| When this fails | What still works | What you see |
|---|---|---|
| The API | skills install --frozen: the lock file has the versions and hashes, and packages come from the CDN or your local cache | new add and update fail with a clear message |
| The CDN or storage | installs from the local cache, ~/.cache/sypnia/skills/, kept by hash | other installs fail; the CLI never falls back to an unverified source |
| The checker | everything else | new versions stay checking; after three tries they go to a dead-letter queue and the team is alerted. Nothing is listed unchecked |
| The signer | everything else | new versions wait in checking. Nothing is published unsigned |
| Postgres | downloads of versions your lock file already holds | the API answers 503 |
| Something serves a different file | nothing is installed | the hash or the signature does not match, and the command exits with code 6 |
Growing
- Downloads are reads from a CDN of files that never change, so they grow without the registry noticing.
- The API keeps no state between requests and adds instances with load.
- Search is Postgres full-text search, enough for tens of thousands of skills.
- The checker takes versions from a queue; more versions mean more workers, never a slower API.