Skip to content

Version Packages#64

Merged
BCook98 merged 1 commit into
mainfrom
changeset-release/main
Jun 17, 2026
Merged

Version Packages#64
BCook98 merged 1 commit into
mainfrom
changeset-release/main

Conversation

@BCook98

@BCook98 BCook98 commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

kit@2.14.0

Minor Changes

  • b5f722c: host: detect CPU steal at callback-deadline kills (detection only)

    The per-callback kill switch is wall-clock only, and a true fuel/instruction
    budget is impossible on this stack (wazero v1.12.0 / extism v1.7.1 expose no
    fuel/epoch/gas metering API). So a CPU-steal-throttled VM can blow the deadline
    on a guest running pure, well-behaved guest code, and that kill is booked as a
    fault that can quarantine a healthy game.

    This change MEASURES host-stolen CPU at the kill site and records it alongside
    the existing deadline metric — detection only, no behavior change:

    • A failure-tolerant, build-tagged steal sampler reads ONLY the /proc/stat
      aggregate hypervisor-STEAL field (Linux; a no-op ok=false stub elsewhere),
      sampled at callback BOUNDARIES, never per-instruction. cgroup throttling is
      deliberately NOT read: steal blames the host (the eventual exonerate case),
      whereas cgroup throttle blames the guest (a runaway you must not exonerate).
    • A new NON-BREAKING optional StealMetrics extension interface is recorded via
      a type assertion at the wall-clock-kill site, so existing Metrics implementers
      compile and run unchanged. fault(), quarantine, and End() are untouched; the
      existing GameCallbackDeadline record is never replaced or suppressed.

@BCook98
BCook98 merged commit c4a1af3 into main Jun 17, 2026
6 checks passed
@BCook98
BCook98 deleted the changeset-release/main branch June 17, 2026 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant