ticket: close runtime snapshot fix

This commit is contained in:
Keisuke Hirata 2026-07-14 02:59:59 +09:00
parent 6ca0d48327
commit ddbcd595ef
No known key found for this signature in database
3 changed files with 39 additions and 2 deletions

View File

@ -1,8 +1,8 @@
--- ---
title: 'Use live Worker snapshot for runtime observation' title: 'Use live Worker snapshot for runtime observation'
state: 'inprogress' state: 'closed'
created_at: '2026-07-13T17:48:09Z' created_at: '2026-07-13T17:48:09Z'
updated_at: '2026-07-13T17:48:47Z' updated_at: '2026-07-13T17:59:59Z'
assignee: null assignee: null
queued_by: 'yoi ticket' queued_by: 'yoi ticket'
queued_at: '2026-07-13T17:48:47Z' queued_at: '2026-07-13T17:48:47Z'

View File

@ -0,0 +1,10 @@
Runtime observation snapshots now prefer the live execution backend snapshot. The real Worker backend returns a WorkerHandle-built Snapshot containing session-log entries, greeting, status, and in-flight state; the Runtime falls back to the old stub only when no live backend handle exists.
Validation:
- cargo fmt --check
- cargo check -q
- cargo test -q -p worker-runtime --features fs-store,ws-server
- cargo test -q -p yoi-workspace-server
- cd web/workspace && deno task check && deno task test
- git diff --check
- nix build .#yoi --no-link

View File

@ -39,4 +39,31 @@ Ticket を `yoi ticket` が queued にしました。
State changed to `inprogress`. State changed to `inprogress`.
---
<!-- event: state_changed author: hare at: 2026-07-13T17:59:59Z from: inprogress to: closed reason: closed field: state -->
## State changed
Ticket を closed にしました。
---
<!-- event: close author: hare at: 2026-07-13T17:59:59Z status: closed -->
## 完了
Runtime observation snapshots now prefer the live execution backend snapshot. The real Worker backend returns a WorkerHandle-built Snapshot containing session-log entries, greeting, status, and in-flight state; the Runtime falls back to the old stub only when no live backend handle exists.
Validation:
- cargo fmt --check
- cargo check -q
- cargo test -q -p worker-runtime --features fs-store,ws-server
- cargo test -q -p yoi-workspace-server
- cd web/workspace && deno task check && deno task test
- git diff --check
- nix build .#yoi --no-link
--- ---