stack/.github/workflows
Bilal Godil 30dbdffc4a faster snapshot resume via mapped-ram + rotation opt-out
Snapshot resume drops from ~14s to ~5-7s with rotation, ~2.5s without.

Build uses QEMU's mapped-ram + multifd migration capability so the RAM
state is written at page-aligned offsets in a sparse file. Runtime
decompresses the shipped .savevm.zst once to a local .raw cache and
reloads via -incoming file: + migrate-incoming on subsequent starts,
avoiding the per-start zstd decode.

Adds EMULATOR_NO_ROTATION=1 for tests/CI that don't mind the placeholder
secrets; saves the full ~3s rotation window.

Misc runtime cleanups: tighter QMP/QGA poll intervals (1s → 0.2s),
shorter socat keep-alive windows, 1s settle before the post-rotation
health-check to avoid racing old Node processes, fallback path preserves
the CLI-generated runtime-config.iso instead of blowing away VM_DIR.

Build-time qmp_session keeps stdin open briefly after the caller's
commands so migrate-set-capabilities is actually processed before
socat closes — without this, mapped-ram was silently a no-op.

CI workflow publishes .savevm.zst alongside the .qcow2 (optional asset;
CLI falls back to cold boot when missing). Test + verify steps go
through the CLI now that ISO generation is owned by packages/stack-cli.
2026-04-15 13:04:15 -07:00
..
all-good.yaml Add Claude Code GitHub Workflow (#833) 2025-08-07 18:44:49 -07:00
auto-assign.yaml Run auto-assign on draft PRs 2025-04-10 10:18:47 -07:00
auto-update.yaml Run auto-update only once per day 2025-03-12 17:10:03 -07:00
check-prisma-migrations.yaml Speed up tests (#1063) 2025-12-28 11:25:04 -08:00
claude.yml Upgrade GitHub workflow scripts 2025-11-24 11:21:43 -08:00
db-migration-backwards-compatibility.yaml Fix cron jobs using dev env instead of test env in CI workflows (#1319) 2026-04-09 21:27:18 -07:00
docker-server-build-push.yaml Email outbox backend (#1030) 2025-12-12 10:26:38 -08:00
docker-server-build-run.yaml Sign up rules (#1138) 2026-02-03 11:08:24 -08:00
e2e-api-tests-local-emulator.yaml Replace npx with pnpm exec (#1300) 2026-04-08 17:08:55 -07:00
e2e-api-tests.yaml Replace npx with pnpm exec (#1300) 2026-04-08 17:08:55 -07:00
e2e-custom-base-port-api-tests.yaml Fix cron jobs using dev env instead of test env in CI workflows (#1319) 2026-04-09 21:27:18 -07:00
e2e-fallback-tests.yaml Backend fallback (cloud run) (#1306) 2026-04-11 00:57:37 +00:00
lint-and-build.yaml pin node version to 24 to fix mintlify lint issue on lint-and-build gh action 2026-04-07 10:11:57 -07:00
mirror-to-wdb.yaml Upgrade GitHub workflow scripts 2025-11-24 11:21:43 -08:00
npm-publish.yaml stack-cli npm publish 2026-03-13 09:26:12 -07:00
qemu-emulator-build.yaml faster snapshot resume via mapped-ram + rotation opt-out 2026-04-15 13:04:15 -07:00
reviewers-assignees.yml Update review assigner script 2025-09-10 12:05:04 -07:00
setup-tests-with-custom-base-port.yaml Retry setup tests on non-staging branches to prevent flakeyness 2026-04-13 14:32:49 -07:00
setup-tests.yaml Retry setup tests on non-staging branches to prevent flakeyness 2026-04-13 14:32:49 -07:00
swift-sdk-publish.yaml [Fix] [Feat] Update OAuth Sign-In and Get Token Functions to Work (#1130) 2026-01-28 02:17:27 +00:00
sync-main-to-dev.yml Upgrade GitHub workflow scripts 2025-11-24 11:21:43 -08:00
table-of-contents.yaml GH Actions push trigger only on main or dev branches 2025-03-12 10:52:35 -07:00