You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dev/testing-and-release.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# Testing And Release
2
2
3
3
> Owner: WA2DC maintainers
4
-
> Last reviewed: 2026-03-19
4
+
> Last reviewed: 2026-05-07
5
5
> Scope: Validation commands, CI expectations, and packaging constraints.
6
6
7
7
## Validation matrix
@@ -24,8 +24,8 @@ CI executes the following on `ubuntu-latest`, `macos-latest`, and `windows-lates
24
24
Release pipeline builds packaged binaries from an ESM runtime bundle plus a pkg-safe CJS bootstrap:
25
25
26
26
- esbuild bundles `src/runner.js` to `out.js` (ESM) for Node smoke checks
27
-
- esbuild also bundles `src/runner.js` to `out.js` (ESM) for pkg, then writes `out.cjs` as a tiny bootstrap that dynamically imports `out.js`
28
-
-`pkg` produces platform binaries from `out.cjs` with `--no-bytecode`
27
+
- esbuild also bundles `src/runner.js` to `out.js` (ESM) for pkg, then writes `out.cjs` as a tiny bootstrap that loads `out.js` from pkg's virtual filesystem and dynamically imports it
28
+
-pinned `@yao-pkg/pkg` produces platform binaries from `out.cjs` with `--no-bytecode`
29
29
- packaged builds also stage `build/runtime/` as a sidecar for runtime-only media dependencies (`sharp`, `canvas`, `jsdom`, `lottie-web`) so native image normalization and Discord sticker rendering remain available in packaged runtimes
30
30
- release builds publish a signed `${binary}.runtime.tar.gz` archive for each packaged binary so `/update` can refresh the sidecar automatically
31
31
- packaged startup may download that signed runtime archive on demand when a packaged install is missing `runtime/`
0 commit comments