Production Checklist
Use product-specific QA, but keep Tynd release gates aligned with what the tooling actually validates/builds.
Project inputs
Section titled “Project inputs”-
tynd config showshows expected merged environment config. -
backendandfrontendDirresolve inside the intended project. - Window/menu/tray behavior is configured in backend
app.start, nottynd.config.ts. -
.bun-versionpins the exact Bun runtime intended for packaging. - Package lock is enforced by the package-manager CI step.
-
@tynd/host-srcis a dev dependency on the same release line as@tynd/cli. - Requested native APIs/plugins are minimal and plugin permissions use least privilege.
-
bundle.identifieris stable reverse-DNS when installers/updater are used. - Explicit
iconpath exists when custom branding is required.
tynd validate --ciRemember: validate --ci checks config/path/package/Bun pin/host plan/host sources/bundler inputs. It does not validate bun.lock, run app tests/typechecking, invoke Cargo, check the Rust version, or inspect every installer/signing tool.
- Build on every shipped OS/architecture; cross-compilation is unsupported.
- Raw executable exists under
release/<platform>-<arch>/. - Installer target list is valid for that host.
- Rust 1.95+ and the platform build tools are installed on the build host; the directory set in
TYND_CACHE_DIRis cached in CI so the host is not recompiled from scratch. - Requested format prerequisites are installed on the build host.
- App installs, launches, upgrades, and uninstalls on representative machines.
- Checksums/provenance cover exact published bytes.
tynd buildtynd build --bundle all.tynd/cache is staging, not a hash-skip guarantee. Use tynd clean --dry-run then tynd clean --yes when a clean generated state is required.
Platform signing
Section titled “Platform signing”Windows
Section titled “Windows”-
bundle.sign.windows.certificateis a file, subject, or SHA-1 thumbprint accepted by Tynd. - Password uses
env:NAME. -
signtoolis onPATH; no registry/SDK auto-discovery is assumed. - Raw executable and every eligible installer verify from its platform release directory.
signtool verify /pa /v release\win32-x64\MyApp.exe- PKCS#12 Developer ID identity is available.
- Password and App Store Connect API-key path use secrets/environment references.
- Required entitlements are explicit.
-
.appand.dmgsignatures verify. - Notarization is accepted and ticket stapled.
- Updater archive is
<binary>-<version>-macos.zip.
codesign --verify --deep --strict release/darwin-arm64/MyApp.appspctl --assess --type execute --verbose release/darwin-arm64/MyApp.app- Decide/apply distribution-specific package signatures outside Tynd when required.
- WebKitGTK/runtime dependencies match supported distros.
Signed updates
Section titled “Signed updates”- App-scoped Ed25519 private key is backed up and never committed.
-
updater.endpointsare stable HTTPS andpublicKeysmatch the signing key. - Each platform directory contains exactly one publishable updater payload.
- macOS was built with
--bundle macosso the signed app archive exists. -
tynd updater publish <version> --target manifest-onlycreatesmanifest.jsonand.sig. - Manifest signature, artifact signature, and patch/reconstructed release signature failures are rejected.
- A signed N-1 install updates to N and relaunches on every shipped OS/architecture.
- Full-payload route works even when patches are enabled.
- macOS app archive swap/rollback is exercised on a real machine.
External publication requirements:
- GitHub target needs
ghand an existingv<version>release. - S3/R2 targets need
awsplus complete credentials/profile. - Local QA server requires a previously generated signed manifest.
Runtime safety
Section titled “Runtime safety”- Plugin API/command permissions remain default-deny and minimal.
- Untrusted workloads run out-of-process through a deliberate sidecar protocol.
- Secrets use keyring/vault facilities, not plain JSON store.
- CSP does not add unsafe directives without product review.
- Unsaved-change and single-instance flows behave under forced close/second launch.
- Sidecars are explicit, versioned, and covered by artifact provenance.
- Startup, steady memory, and package size meet documented product budgets.
User-flow QA
Section titled “User-flow QA”- Window/WebView creation, navigation, dialogs, menus, tray, shortcuts, and shutdown used by the app work on each target OS.
- Keyboard navigation, focus, screen-reader, contrast, reduced-motion, and locale/RTL behavior are checked where supported.
- Offline launch works when the updater endpoint is unavailable.
- WebView/runtime absence produces an actionable launch/install error; CLI preflight is not expected.
- Debug/MCP evaluation and external-launch capabilities are not enabled in shipped production configuration.
Diagnostics before publication
Section titled “Diagnostics before publication”tynd info --jsontynd validate --citynd doctortynd reportinfo/doctor intentionally avoid registry, WebView, network, and broad toolchain checks. Exercise requested installer/signing commands themselves for those prerequisites.
Release artifacts
Section titled “Release artifacts”- npm distribution includes the six
@tynd/tooling-<os>-<arch>packages withtynd,tynd-mcp, andtynd-bundler. -
@tynd/cliand@tynd/mcpremain tiny launchers; no TypeScript server/CLI bundle or postinstall downloader is published. -
@tynd/host-srcis published at the same version as@tynd/cli; no prebuilt host package is published. - Docs/changelog/NOTICE match actual Rust/TypeScript dependency ownership.
- Checksums/signatures are generated after final signing/notarization.