Skip to content
RRepody

How Repody is built and shipped

A product is only as good as the way it changes. Every change goes through a chain of automatic checks; every release is built, scanned, signed, verified and then deployed.

  1. Continuous integration01
  2. Security02
  3. Release03
  4. Deployment04
01

Continuous integration

On every change, only the touched parts are checked, but completely.

  1. 01Change detectionJobs only run for the code that changed.
  2. 02RuffFormatting and linting of the Python backend.
  3. 03PyrightStrict static typing of the backend.
  4. 04Architecture contractsimport-linter checks that each layer only imports what it is allowed to.
  5. 05PytestUnit and integration tests on a real PostgreSQL, Alembic migrations included.
  6. 06API contractThe OpenAPI specification is regenerated and compared; so are the interface's types.
  7. 07Biome and ESLintFormatting and linting of the interface.
  8. 08TypeScriptStrict typing of the interface.
  9. 09VitestInterface tests, including the theme engine's contrast.
  10. 10knipNo unused file, export or dependency.
  11. 11Deployment checksHelm chart, kustomize, bake and Compose validated; docs and links checked.
  12. 12Build and bootThe images are built and the whole stack starts in containers.
02

Security

A dedicated pipeline scans the code and the images.

  1. 01Trivy, repositoryDependencies, secrets and configuration scanned.
  2. 02Trivy, imagesEvery built image is scanned.
  3. 03BlockingA high or critical vulnerability fails the pipeline.
  4. 04Every weekThe scans run again each week on the released code, so a new vulnerability is found without waiting for a change.
  5. 05Dated exceptionsAn accepted finding carries its reason and an end date; past it, the pipeline fails again.
03

Release

Every master commit is built once, signed and run on staging; a version tag promotes those exact images to production.

  1. 01Built onceImages are built and signed only for a master commit whose tests passed.
  2. 02Docker BakeThe three images built together, with cache.
  3. 03SBOM and provenanceBuildKit attestations attached to every image.
  4. 04cosign signingKeyless signature, bound to the pipeline's OIDC identity.
  5. 05Helm valuesDigests published for Kubernetes deployments.
  6. 06PromotionA version tag checks the master signature and adds the version to the same digests: nothing is rebuilt.
04

Deployment

Every release goes to staging first, then to production, checked at every step.

  1. 01Protected environmentProduction deploys go through a dedicated GitHub environment.
  2. 02Signature verificationThe three images are verified before anything happens.
  3. 03Private networkThe pipeline joins the admin network through identity federation, no stored key.
  4. 04Waited startDocker Compose waits until every service is healthy, ten minutes at most.
  5. 05Public checkThe pipeline checks the application answers from the internet.
  6. 06Backup firstEvery database is dumped before anything changes.
  7. 07A real runThe pipeline sends a real document through extraction on the GPU and checks the report, the credits and the isolation.
  8. 08RollbackRedeploying the previous release is the same command, rehearsed on staging.

Day to day

  • Typed everywhere

    Strict Python and TypeScript; the interface derives its types from the API.

  • Tracked dependencies

    Dependabot on npm, Python, Docker, Compose and actions, with a few days' delay before a release is proposed; everything pinned.

  • Checked documentation

    Guides, commands and links checked on every change.

  • Written decisions

    Architecture choices have their record, with context and alternatives.

  • Full local environment

    The whole platform starts in one command, observability included.

  • Design system

    Tokens, components and interface rules documented and applied everywhere.

  • Failure drills

    Workers killed, the database and the queue restarted mid-run, rollbacks rehearsed: on staging, with real runs.

  • Measured, not assumed

    Queries timed on half a million runs; memory and the model's real token counts measured under load.

See Repody on your own documents

A 30-minute demo, then a pilot on your files and your rules.