Skip to Content
Payload Bay
Releases

Release readiness

The initial implementation is reviewed in PR #13 and has not been released. A working preview is not a published installation or a completed coverage gate.

Verified mechanisms include real SMTP owner/login flows, tenant/permission boundaries, durable acceptance and delivery/retry/replay, actual workerd execution, scoped live UI, local usage/policy and retention. The test ledger and preflight record exact source checkpoints and counts.

Release packaging now includes a separate non-root one-shot migrator and an operator Compose definition using published-image references. Migration tests explicitly mount historical synthetic SQL; missing CI-generated release SQL fails. PostgreSQL17 archive tests preserve binary events, pinned publications, pending jobs, encrypted secrets and original security-definer ownership/ACLs. A separate fresh-cluster exercise restores roles before owned database objects. These are mechanism tests, not a published-image installation certificate.

Verified source checkpoint

PR #13 source commit 3194ddad55c25e8e525fceff06b504aca2f441b5 completed CI run 43614090655 with all 589 checks passing. Its old coverage reporter also reported 310 of 310 executable files above the 80% line/function minima, but a later audit reproduced a source-map placeholder false positive and missing server-function attribution. That historical coverage result is not sufficient release evidence. Acceptance requires a complete run with normalized multi-source maps, genuine trusted-server counters and the placeholder guard; the 80% minima remain unchanged. Current exact-commit checks are available on PR #13.

The maintainer has requested merge preparation only. Keep the PR open, with automatic merge disabled; do not publish images, create a release or deploy the persistent instance without renewed approval.

Dependency review (2026-11-14)

The dependency audit is separate from functional CI. This review found advisories that predate the last successful CI; that run did not establish dependency-audit clearance. Compatible updates now pin Nodemailer 10.1.4, DOMPurify 3.4.18 and Undici 7.30.1. Root overrides cover the exact transitive versions pinned by Monaco and Scalar; remove them when upstream requirements include the fixes. The refreshed npm audit reports no high or critical advisories. The pinned production Node image was checked independently: the old Node 22.23.3 image contains Undici 6.28.1. All release/fixture Dockerfiles and CI now use the Node 22.23.5 security release with an immutable image digest; its bundled Undici 6.29.1 addresses the built-in fetch exposure that an npm override cannot fix. Historical bootstrap image coordinates below the manifest's evidence field remain unchanged.

The operator, preview, development, migration-acceptance and restore-client images also pin PostgreSQL 17.12, the 2026-11-12 security update, by immutable digest. The first release starts with a fresh cluster; existing pre-release operators must follow the upstream reindex and full-backup guidance when updating an older PostgreSQL 17 cluster. No existing database or volume is upgraded as part of this source change.

Four lower-severity findings remain visible, without an audit-ignore rule:

DependencyCurrent path and exposureFollow-up
deepmerge 4.3.1Low severity; React Email → html-to-text merges formatter options. email-renderer.tsx passes only rendered HTML to toPlainText, never caller-supplied merge options. No patched upstream release is available in this review.Update when fixed; re-evaluate before adding configurable formatter options.
esbuild 0.18.20Moderate severity; Drizzle's legacy development loader uses transform APIs, not the affected HTTP development server. The executor uses the separate patched 0.28.2 version.Update the loader through Drizzle; never expose this legacy esbuild server.
glob 13.0.6Moderate severity; c8/test-exclude uses repository-controlled paths in the coverage process. No customer request or script supplies its patterns or cancellation signal.Adopt the upstream coverage dependency update; avoid an unverified major override.
minimatch 10.2.6Moderate severity; coverage and TypeScript lint tooling consume developer-controlled repository globs. Customer input does not reach these patterns.Adopt compatible upstream tooling updates; re-evaluate if this becomes a runtime matcher.

Dependency update (2026-12-02)

All pinned dependencies were refreshed to their latest releases except the items below. bun audit went from 13 advisories (1 critical) to 5 moderate ones, all in the table above. The critical cross-spawn advisory affected only Windows batch spawning in developer tooling; a root override to 7.1.2 removes it.

  • ESLint is on 10. ESLint 10 resolves the nearest config per file, so the nested apps/web/eslint.config.mjs (a re-export of the root config) made the root files patterns for apps/web match nothing and dropped the 22 Next.js rules without any error. The nested file is removed; the lint result matches ESLint 9.
  • tailwind-variants is pinned to 4.0.2 (4.1.0 is available) to match the single copy HeroUI 3.2.8 pins exactly; a newer direct pin installs a duplicate copy. Nothing in the application imports it directly.
  • @types/bun 1.4 and @types/nodemailer 8 are adopted; typecheck passes.
  • Blocked: TypeScript 7. packages/domain/src/shared-code.ts uses the TypeScript compiler API at run time (transpileModule, createSourceFile, the AST factory), and 7.x no longer exports it. typescript-eslint and eslint-config-next also declare typescript <6.1.0. Staying on 6.0.3 until that module moves to another transpiler or a pinned 6.x compiler package and the lint presets accept 7.
  • @types/node stays on 22.x to match the Node 22.23.5 runtime image.
  • Held: workerd 1.20261203.1 (and 1.20261201.1). This version refuses to start unless it can load system CA certificates ("TLS configuration: No CA certificates were loaded from the system"), even though the executor uses no TLS, and the pinned Node slim image has none. The executor supervisor then fails with runtime_startup_failed. workerd stays on 1.20261013.1 until the image either provides certificates or a workerd release no longer requires them.
  • 2026-12-04 refresh: TypeScript 6.0.3, Motion 15, GitHub Action pins and the Node, PostgreSQL 17.12 and Mailpit image digests. PostgreSQL 18, Node 24 and @types/node 24+ are not adopted because the supported runtime stays on Node 22 and PostgreSQL 17.
  • Held: Bun 1.4.5. Bun 1.4 reports more functions per file, so the unit lane's per-file 0.8 function-coverage gate fails (for example api-query-schemas.ts 0/3) although all 69 tests pass. Bun stays on 1.3.14 until those files gain direct tests; the gate is not lowered.
  • Held: react-aria-components 1.23.0. With 1.23.0 the browser lane fails two focus-dependent acceptance tests: UX67 (the focused "Workspace members" tooltip does not appear) and the ui-catalog nested Sheet (focus does not move into the sheet after its entry animation). Master and the same tree on 1.22.1 pass all 112 browser tests. Stays on 1.22.1 until HeroUI's focus handling is verified against 1.23.
  • The release manifest carries the updated package pins.

These are scoped exposure assessments, not a claim of a vulnerability-free application. Re-run the audit before publishing the actual release candidate.

What a first release still needs

  • License system (license keys and entitlement checks for paid plans).
  • Hosted landing and marketing site.
  • Documentation site published and live.
  • Published image set (app, worker, executor, migrator) and a protected release environment.
  • Release SQL generated by the master workflow after merge.
  • Clean install, bootstrap, first delivery, upgrade and backup/restore acceptance on the published image digests.
  • Real gVisor or Kata isolation verification on an operator host.
  • Hosted billing and plan integration.
  • Physical-device keyboard and touch certification.

Remaining release gates

Before merge/publication:

  • Product licensing is the unchanged GNU AGPLv3 (AGPL-3.0-only), with its license included in runtime images. Commercial redistribution remains allowed under the license's source-sharing obligations.
  • The release policy defines versioning, support, security fixes, publication ownership and first-alpha acceptance.
  • Migration authentication was configured on 2026-11-03: DEPLOY_KEY is an encrypted secret in the master-only migration-generation environment, with one dedicated repository write key. The maintainer approved enabling deploy keys for the organization and the ruleset retains its other protections. Generated SQL commits may bypass that ruleset and trigger complete CI. The local private key was deleted. The actual first master workflow run remains the end-to-end verification of this configuration.

After approved merge:

  • Produce the master-CI-owned release SQL after approved merge; never generate an ordinary release migration locally or replace it with development push.
  • Publish coordinated app, worker, executor and migrator image digests without credentials or proprietary UI sources in final artifacts.
  • Prove clean installation, one-time bootstrap and first delivery using those published digests and restricted runtime database logins.
  • Prove pending-job/code-revision upgrade and complete backup/restore against the actual release; document rollback compatibility rather than promising downgrade.
  • Record exact schema, SDK, executor protocol/date, image and host-runtime evidence in the release manifest. Historical bootstrap images are not release digests.

Ordinary restricted Docker is the approved trusted-publisher default. Optional runsc remains a separate operator-host validation; no hostile-tenant sandbox or physical Android keyboard certification is claimed. Hosted billing/licensing and commercial plan integration remain separate future work.

Coordinated candidate images

The manual Build Release Candidate workflow is prepared for use after the implementation is approved and merged. Select the master workflow and provide the full master commit SHA. It rejects unmerged source, absent release SQL/journal, database-source changes after migration generation, and any SHA without a complete successful master CI run. The branch preview remains separate; no candidate workflow has been executed yet.

The workflow builds app, worker, executor and migrator together on Linux amd64. All UI dependencies are public; no UI installer credential is used. All four final images must use the non-root node identity. The packaged real release SQL must install and repeat successfully on disposable PostgreSQL17 before any images are pushed. This cannot run against the current unmerged implementation, which deliberately has no CI-generated release SQL.

Successful runs push unique candidate tags and export candidate/images.env with the exact source SHA and immutable image digest for each service, together with the operator Compose and repository source manifest. The source manifest is a template/readiness record; images.env records that run's actual published coordinates. A partial push can leave some images behind but cannot produce a successful candidate run. No floating version tag or GitHub release is created.

Use those four digests for the independent operator install, real owner/email bootstrap, first HTTP delivery, pending-job/code-pin upgrade and backup/restore acceptance. Candidate publication and repeated SQL alone do not certify those flows, optional host runsc or a hostile public multi-tenant service. ARM image publication and multi-platform certification are not claimed by this workflow.

Additional preparation (in progress)

The maintainer approved a deeper security audit, additional recovery drills, a repeatable published-candidate acceptance runner and provider examples. The new acceptance runner and integration examples do not certify unpublished images. The outbound-only private receiver Runner is tracked separately in #18; its protocol prototype is not a shipped Core feature or a first-alpha promise.

Edit this page

On this page