yoi/.yoi/tickets/00001KXDMM975/thread.md

2.5 KiB

作成

LocalTicketBackend によって作成されました。


Intake summary

Marked ready by yoi ticket state.


State changed

Marked ready by yoi ticket state.


State changed

Ticket を yoi ticket が queued にしました。


State changed

State changed to inprogress.


Implementation report

Fixed not-found Workdir cleanup plan classification.

Root cause:

  • Cleanup plan converted WorkingDirectoryStatusKind::NotFound with format!("{:?}").to_lowercase(), producing notfound instead of the canonical API/status label not_found.
  • The action classifier only recognized missing / not_found, so the candidate fell through to workdir_dirty_discard, which the frontend disables by design.

Changes:

  • Added explicit workdir_status_kind_label mapping for WorkingDirectoryStatusKind.
  • NotFound now maps to not_found, so cleanup plan candidates become workdir_record_delete.

Validation:

  • cargo fmt --check
  • git diff --check
  • cargo check -q
  • cargo test -q -p yoi-workspace-server
  • targeted cleanup plan test
  • nix build .#yoi --no-link

State changed

State changed to done.


State changed

Ticket を closed にしました。


完了

Ticket 00001KXDMM975 (Allow not-found Workdir cleanup action) はすでに state: done に到達していたため、workspace Dashboard から close しました。

この Close action によって、実装作業、state 変更、Orchestrator/Companion launch、worker invocation は開始されていません。