Skip to content

Failures and scaling

What keeps working when a part of the registry fails, and how it grows.

Applies to EngineCloud
View as Markdown
When this failsWhat still worksWhat you see
The APIskills install --frozen: the lock file has the versions and hashes, and packages come from the CDN or your local cachenew add and update fail with a clear message
The CDN or storageinstalls from the local cache, ~/.cache/sypnia/skills/, kept by hashother installs fail; the CLI never falls back to an unverified source
The checkereverything elsenew versions stay checking; after three tries they go to a dead-letter queue and the team is alerted. Nothing is listed unchecked
The signereverything elsenew versions wait in checking. Nothing is published unsigned
Postgresdownloads of versions your lock file already holdsthe API answers 503
Something serves a different filenothing is installedthe 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.

    Search pages, sections and terms