Skip to main content
Apps has a native Start SSR candidate with the production catalogue, existing satellite providers, English/Vietnamese locale behavior, build-info and guarded central API forwarding. Registered public redirects run at the Worker Request URL boundary; the Router does not serialize their query strings. Cards and the native navigation adapter use document navigation. The retained portable gateway is predecessor source and cannot substitute for native acceptance. The request context, next/* ports (document-mode navigation), next-intl alias, Vite preset and central API forwarding come from @tuturuuu/start-bridge. start-bridge.routes.json maps each retained App Router file to the native module that owns it, and CI fails on any unmapped route.* or page.*.

Owning validation

.github/workflows/apps-cloudflare.yaml uses Bun 1.4.4 and Node 24.22.0. Root Vitest, coverage and the Vitest override are pinned to 5.0.5; Apps pins Vite+ and its Vite alias to 1.3.0. The owning job builds active dependencies, generates the exact checkout’s build metadata, runs native unit/types/lint and invokes build:cloudflare once for the frontend. The official Void SDK supplies the Cloudflare adapter; no separate adapter or RSC mode is added. No local release build is implied by this runbook. For cold local unit checks, restore with bun install --frozen-lockfile, then run ttr resources run -- bun run test from apps/apps. The isolated unit config selects workspace bun source exports in both client and SSR resolution; missing dependency dist exports must not trigger a local dependency build. This source-only check does not replace exact-commit CI or emitted acceptance. Shared Query public types require a single compatible materialized supplier identity. @tuturuuu/hooks declares React Query peer ^5.102.8 and exports queryOptions consumed by Web’s useQuery. Cold CI exposed incompatible QueryClient private fields between 5.104.4 and 5.102.8 despite preservation of all prior static dependency graph edges. Align Apps’ requested React Query 5.102.8 and use-intl 4.14.4 with the qualified shared materialized versions through the owning package manager. Keep this repair scoped to Apps rather than use a global version bump, cast, or suppression. Static graph equality and a frozen dry-run do not prove materialized peer compatibility. After dependency changes, require cold CI for the exact commit and acceptance of its emitted runtime. An intl context split is an inferred risk, not an observed failure: Apps’ bare next-intl alias can unify the provider. The artifact helper discovers the actual config through exactly one native .wrangler/deploy/config.json or Void-saved .void/preview-deploy-config.json. Both runtime harnesses use the shared scripts/ci/apps-native-runtime-pointer.mjs reader. Saved pointer bytes retain the original .wrangler/deploy relative base; never create a replacement pointer. Missing, duplicate, malformed, symlinked or escaping pointers fail closed. The focused reader regression suite covers both layouts and rejection cases; receipt/source-SHA validation remains mandatory at its existing CI and browser boundaries. Both configPath and an explicitly empty auxiliaryWorkers array are required. The config, Worker main and assets must stay within the output tree; ASSETS must use dist/client, Worker-first routing and no SPA fallback. Static robots/sitemap bytes must match the checked-out public sources. Added resources, routes, accounts, environments, secret declarations, unknown config fields and symlinks fail closed. A new adapter field needs review against its actual emitter; do not relax the contract to get a green job. Void 1.1.12’s owning Cloudflare Vite plugin 1.64.0 unconditionally emits no_bundle: true and one ESModule rule with exactly **/*.js and **/*.mjs. The source-derived fixture includes those fields and the exact serialized empty normalizer defaults. Producer configPath/userConfigPath metadata points to the original .void-wrangler.jsonc; it is sealed information, never dereferenced on restore. The deploy pointer and emitted main/assets paths have independent containment checks. The fixture is not observed build output or runtime evidence. The Apps emitted-config contract also requires upload_source_maps to be exactly JSON true. This reviewed emitted normalizer value is not an authored Apps setting or proof of retained-state provenance. The regressions in scripts/ci/apps-native-artifact.test.py reject false, number 1, null, string and object substitutes and unrelated fields, and check raw emitted config bytes through sealing and restore. Artifact validation does not qualify source-map upload, dry-run, hosted runtime or publication. The checked name <staging-worker> is the candidate’s source-declared sandbox name. This check does not establish an existing hosted Worker, account, route, binding, credential, rollback version or provisioning authority. Staging keeps TUTURUUU_NOINDEX=1. The candidate returns HTTP 503 for the canonical host unless the separately admitted canonical-host flag is enabled. Apps has no no-staging override. Generated Worker binding declarations and their compatibility harness live in runner temporary storage. They must not overwrite the checked-out app source. The owning type-check and applicable exact-source shared CI gates remain required.

Actual emitted acceptance

cloudflare/native-built-worker.test.mjs runs the emitted Worker with disposable local auth/API fixtures through the owning Wrangler/Miniflare emitted-module adapter. Every runtime Worker has an outbound deny service permitting only those exact fixture endpoints. A second instance of the same compiled Worker exercises its real API handler against an unadmitted origin and must receive 599 without fixture forwarding; the primary HTTP/SSR/RPC suite must record zero unexpected requests. No runtime commit-hash override is supplied. It covers bilingual signed/anonymous SSR, the real compiled loader RPC, build identity, all 30 registered redirects, guard/central status/method/body/cookie behavior and multiple response cookies. It includes 120 query assertions: duplicate/interleaved/numeric names, __proto__, literal JSON, next, tracking, empty/repeated source, encoded slash, spaces and literal plus. The default source=apps is appended only when the name is absent. scripts/ci/apps-native-browser.runtime.mjs opens the emitted configuration in local workerd through the official Wrangler/Miniflare adapter and invokes the frozen verifyNativeBrowserNavigation helper. The helper loads the real catalogue, attaches each regression query to an actual card anchor and clicks it, checking Worker 307 Location and final browser URL for all 30 destinations. Only external destination HTML is fulfilled with a disposable fixture. Other browser/provider egress is denied. Existing Web Playwright owns the browser driver; this does not add an Apps dependency or change the lock. Its availability and Chromium setup must pass in the exact source job. Both new and restored artifacts run this gate. The qualified source baseline passed 9 HTTP/runtime groups and 6 browser groups on both original and restored artifacts. Each artifact passed 120 redirect and 120 browser-anchor cases using finite fixtures. These results apply to that source and artifact only. They do not qualify a later HEAD, hosted runtime, canonical cutover, an exact Chromium binary hash, internal descendant-process closure or historical failure causes. The runtime filename is intentionally outside generic source-only test discovery; no artifact-dependent suite may silently run or skip in a job that never builds or restores the artifact. The Python artifact suite is source-only and explicitly selected by the owning workflow.

Seal and restore

scripts/ci/apps-native-artifact.py hashes the complete dist tree and deploy redirect under the exact checkout SHA. Runtime acceptance and Wrangler dry-run must leave those bytes unchanged. Packing copies only checked member bytes and its receipt; it does not invoke a build or deploy. A fresh restore job checks the same source SHA and frozen dependencies, downloads the single archive and rejects duplicates, traversal, symlinks, nonregular files, extra/missing paths, hash mismatches and archive size/count excess before admitting output. It restores only dist and the deploy redirect into clean owned output. The restored configuration, Wrangler dry-run, emitted HTTP/RPC suite and ordinary browser-anchor suite must pass again, followed by a final full hash comparison. A missing or skipped native/runtime/browser gate is not acceptance.

Failed-job sealed source diagnostics

The owning Meet, Calendar and Apps jobs may retain a separate *-debug-sealed-source-<source-sha>-<run-id>-<attempt> artifact for three days. Retention requires job failure, a successful canonical seal, and a successful verify/pack step. Build or canonical config/seal failure produces no debug archive. Meet seals before emitted runtime startup; accepted packing still follows all existing runtime and bundle gates and re-verifies the seal. Calendar and Apps retain their existing seal and acceptance ordering. Debug packing reuses the canonical receipt and external expected source SHA; checkout HEAD must match. The receipt records immutable file hashes. Meet and Calendar verify the packed archive after extraction against the same receipt; Apps uses its canonical per-member verified pack command. The adjacent bounded metadata records the expected source SHA, checkout HEAD, event SHA (GITHUB_SHA), workflow source SHA (explicit github.workflow_sha step environment), event name (GITHUB_EVENT_NAME), run and attempt, plus archive and receipt hashes. No resealing, rebuilding, normalization repair or acceptance bypass is permitted. Changed bytes fail closed. The normal success archives and restore jobs remain separate and never consume these debug names. The retained payload is limited to the already approved normal artifact members and receipt, plus that metadata. Config vars remain constrained by each canonical validator: Meet public service URLs and secret names only, Calendar empty vars and required secret names, Apps the noindex marker and no secret bindings. Calendar and Apps build auth bindings are synthetic fixtures. Meet’s build uses fixtures on pull requests and existing public Supabase URL/publishable-key bindings otherwise; this does not admit private credentials, raw environment files, or additional config. If a new field introduces private data, retain only a reviewed bounded manifest/hash/file graph instead of that data. These are DEBUG sealed source, NOT qualified release artifacts. A retained archive does not make a failing runtime gate pass, establish a compiled typed module graph, or qualify deployment. An actual failed-run upload, download and receipt verification remain separate execution evidence.

Delivery remains separate

This workflow validates and retains artifacts; it has no publish job, provider credential or automatic traffic switch. Preserve the current canonical Vercel artifact and route. Before any staging write, the integration owner must obtain current hosted account/Worker/domain/routes/bindings/secret-name and deployment mapping, confirm the proposed sandbox is admitted, capture rollback artifacts and approve the scoped staging plan. No new Worker/resource/provider is provisioned by this preparation. After exact-commit CI and staging acceptance, the owner must complete synthetic SSO/session-refresh/MFA, workspace permission/visibility, bilingual hydration, command launcher, theme, static font/design and telemetry/consent acceptance. The ordinary-anchor helper does not certify all of those behaviors. Canonical promotion requires its own target admission, rollback qualification and existing release gates. Publish only the already qualified restored artifact through the existing Wrangler path after one final hash check; ordinary Void CLI deployment rebuilds/preflights and cannot stand in for exact-artifact publication. Do not borrow Meet’s no-staging exception or another SHA’s success.