The 1.0 checklist
What vcon-server needs before release 1.0, the first release for production: each item's state, what is left, and the evidence.
Release 1.0 is the first release of vcon-server for production. These are the things it needs. Each item states what is done and what is left, and links its evidence: a page of this site, a file in the repository, a test or a CI job. An item is stated as done only when a CI job runs its evidence. What is built says what works today, and the roadmap lists the next milestones.
A test in the repository holds this page to the code: each link must lead to a page and heading of the site, a file in the repository, a test its file defines or a job its workflow defines.
Several servers on one PostgreSQL database
State: Partly done.
The catalogs can be kept in PostgreSQL, a preview behind the postgres
cargo feature, which the release binaries have. CI runs the store's
conformance suite and a server on PostgreSQL 16 and 18. Several servers
serve one database: each store or replace, tenant create and new pack
file records itself under way, recovery keeps what another server may
still have under way for an hour, and one server at a time holds the
purge sweep and the pack run under a lease timed by the database's
clock. CI runs two server processes on one database on PostgreSQL 16
and 18.
Left: a command that moves a data directory's tenants into PostgreSQL and back; and tests in CI that cut the connection to PostgreSQL at each step of a write and fail over from a primary to a standby, with every acknowledged write read back once.
Evidence:
- the limits of the preview
- CI job
backends-postgresin ci.yml - test
a_second_server_on_another_host_serves_the_database_beside_the_firstin serve.rs - the rule for writes under way in pending.rs
- test
a_postgres_catalog_with_s3_objects_conformsin catalog_tests.rs, which runs the conformance suite's checks of writes under way on PostgreSQL - schema versions of the PostgreSQL catalog, version 14
A backup restored in CI
State: Partly done.
CI follows the backup how-to on a live server whose objects are in the data directory: it backs the data directory up, changes it, restores the backup, checks the restored copy and serves it. A test takes a backup while vCons are being written, checks it and serves it.
Left: the same in CI with the objects in an S3 bucket, with Parquet storage and with the catalogs in PostgreSQL; a backup taken before a master key rotation; a backup made by the previous release; and, in each, a comparison of every restored vCon with what was stored.
Evidence:
- restore the data directory
- objects in an S3 bucket, which CI does not run yet
- CI job
docsin ci.yml, which runs each how-to against a live server - the how-tos each CI run follows, in docs_test.py
- test
a_backup_taken_under_write_load_checks_whole_and_servesin serve.rs
Keys kept in a KMS or an HSM
State: Partly done.
The master key is a file the server reads at start and keeps in locked
memory. Since 0.4.18 the registry reaches the root of the key hierarchy
through one interface for wrapping keys, KeyWrap, whose one backend,
FileWrap, is the master key file. Since 0.4.19 the library also has
BackendWrap, which puts a key backend (a KMS or an HSM, whose key never
leaves it) at the root: the registry gets a random root key of its own,
which the backend wraps and the on-disk format key-wrap keeps, and each
tenant key is wrapped under a key-encryption key of its own that the
backend wraps. No key backend ships yet: key_wrap.backend takes only
file, and a start refuses a registry whose root a key backend wraps.
Left: backends for HashiCorp Vault Transit, OpenBao, PKCS#11 (for HSMs), AWS KMS, Azure Key Vault and Google Cloud KMS; a server and commands that open a registry under one; and a key rotation drill for each. CI tests the first five against a local service. Google Cloud KMS has no local service: CI tests its backend against recorded responses, and a maintainer runs its drill by hand.
Evidence:
- keys
- the key file and the derivation, in envelope.rs
KeyWrap,FileWrap,BackendandBackendWrap, in key_wrap.rs- test
a_root_made_then_opened_is_the_same_keyin backend_tests.rs - the formats, with
key-wrap - key rotation, with
rekey master --to-backend file
An outside review of the cryptography
State: Not started.
The threat model, the trust boundaries and the evidence for them are in the assurance case. No reviewer from outside the project has read the envelope format, the key hierarchy, key rotation or purge.
Left: a specification of the envelope format and the key hierarchy, with test vectors that a second implementation checks in CI; the review itself; and its report, published with each finding fixed or tracked.
Evidence:
- the threat model
- the security policy, in SECURITY.md
Published scale numbers
State: Partly done.
The scale harness, vcon-scale, measures the ingest rate, the read
latency percentiles, the bytes on disk per vCon and the server's peak
memory against a running server over HTTPS. CI runs it at 100,000 vCons on
each change and fails on any request answered with an error. The
scale numbers page shows each committed result with its
machine and commit; a test holds the page to the result files. CI also
tests the number of round trips each call of the store makes to
PostgreSQL.
Left: runs at 10 million and 100 million vCons on stated hardware, and runs with S3, Parquet and PostgreSQL storage.
Evidence:
-
CI job
scalein ci.yml -
test
the_page_table_is_the_committed_resultsin page.rs -
the driver script, scale-run.sh
-
test
a_store_call_costs_a_fixed_number_of_round_tripsin catalog_tests.rs
A frozen HTTP API, configuration and on-disk format
State: Partly done.
The HTTP API is described in OpenAPI, and a test holds every route to the
HTTP API page. Every table of the configuration file refuses a key it does
not know. On-disk formats lists every on-disk
format with its version and what each release wrote, and a test holds the
page to the code. The repository keeps a data directory written by each
released binary from 0.4.0 to 0.4.21; on every change, CI opens each one
with the new build, checks it, reads every kept version back byte-equal,
and refuses a catalog one version past the build. From 0.4.6 to 0.4.21 it
also keeps each release's deployment with its catalogs in PostgreSQL and
its objects in Parquet storage, which CI restores and opens the same way on
PostgreSQL 16 and 18. CI also upgrades the previous release to this one and
back. Stability states what 1.0 keeps unchanged
and which changes break a client, and scripts/contract_diff.py tells a
breaking change from an additive one, against any release tag, for the
HTTP API and its problem types, the command line and its exit codes, the
configuration keys, types and defaults, the MCP tools and their
arguments, the environment variables, the on-disk formats and the audit
records. The command line, the configuration, the MCP tools, the
environment variables, the on-disk formats and the audit records each
have a snapshot under contract/, which a test writes from its source and
holds equal to it. The Contract job
runs the comparison against the newest release tag on every pull request
and prints each change; it does not block a merge yet.
Left: the Contract job made a required check, so that a breaking change
cannot merge, which is the 1.0 step itself.
Evidence:
-
the classifier, in contract_diff.py
-
its tests, in test_contract_diff.py
-
CI job
contractin contract.yml -
the configuration snapshot, in config.json
-
the command-line snapshot, in cli.json
-
the OpenAPI description, in openapi.json
-
test
every_route_is_on_the_http_api_page_and_every_row_is_a_routein docs_pages.rs -
test
every_format_of_this_build_is_on_the_page_with_its_versionin formats.rs -
the data of each release, in manifest.json and the directories beside it
-
the PostgreSQL data of each release, in manifest.json and the directories beside it
-
test
every_fixture_has_its_test_module_and_every_module_a_fixturein formats.rs -
CI job
backends-postgresin ci.yml, which restores each release's PostgreSQL data on PostgreSQL 16 and 18 -
test
a_failed_upgrade_from_0_4_2_keeps_none_of_its_stepsin v6_tests.rs -
CI job
docsin ci.yml, which runs the upgrade how-to from the previous release
Source of this page: website/content/docs/production-checklist.md