ticket: close yoi local backend migration
This commit is contained in:
parent
2eb396d22c
commit
a8b012f9e7
|
|
@ -2,12 +2,12 @@
|
||||||
id: 20260605-203006-yoi-local-ticket-backend-migration
|
id: 20260605-203006-yoi-local-ticket-backend-migration
|
||||||
slug: yoi-local-ticket-backend-migration
|
slug: yoi-local-ticket-backend-migration
|
||||||
title: Yoi-local Ticket backend migration
|
title: Yoi-local Ticket backend migration
|
||||||
status: open
|
status: closed
|
||||||
kind: task
|
kind: task
|
||||||
priority: P1
|
priority: P1
|
||||||
labels: [ticket, backend, migration, cli]
|
labels: [ticket, backend, migration, cli]
|
||||||
created_at: 2026-06-05T20:30:06Z
|
created_at: 2026-06-05T20:30:06Z
|
||||||
updated_at: 2026-06-05T20:32:09Z
|
updated_at: 2026-06-05T22:13:53Z
|
||||||
assignee: null
|
assignee: null
|
||||||
legacy_ticket: null
|
legacy_ticket: null
|
||||||
---
|
---
|
||||||
|
|
@ -0,0 +1,32 @@
|
||||||
|
Completed the Yoi-local Ticket backend migration.
|
||||||
|
|
||||||
|
Child tickets completed:
|
||||||
|
- `yoi-ticket-cli-parity`: added top-level `yoi ticket` commands for create/list/show/comment/review/status/close/doctor against the Rust Ticket backend.
|
||||||
|
- `builtin-yoi-local-ticket-backend-config`: introduced canonical backend provider config `provider = "builtin:yoi_local"`.
|
||||||
|
- `migrate-ticket-storage-to-yoi-tickets`: moved active Ticket records from `work-items/` to `.yoi/tickets/` and made `.yoi/tickets` the default/configured root.
|
||||||
|
- `remove-tickets-sh`: deleted the transitional `tickets.sh` mutation path and updated active docs/instructions/tests to use `yoi ticket ...`.
|
||||||
|
|
||||||
|
Final authority model:
|
||||||
|
|
||||||
|
```toml
|
||||||
|
[backend]
|
||||||
|
provider = "builtin:yoi_local"
|
||||||
|
root = ".yoi/tickets"
|
||||||
|
```
|
||||||
|
|
||||||
|
- `yoi` binary + `crates/ticket` backend own active Ticket operations.
|
||||||
|
- Active storage is `.yoi/tickets/`.
|
||||||
|
- Repository-root `work-items/` is no longer present and is not an active mutable backend.
|
||||||
|
- `tickets.sh` is removed.
|
||||||
|
- Historical records may still mention old paths/commands as history, but active instructions and validation use `yoi ticket ...`.
|
||||||
|
|
||||||
|
Final validation points across the sequence included:
|
||||||
|
- `cargo test -p ticket`
|
||||||
|
- `cargo test -p yoi ticket`
|
||||||
|
- `cargo test -p pod ticket --lib`
|
||||||
|
- `cargo check --workspace --all-targets`
|
||||||
|
- `cargo fmt --check`
|
||||||
|
- `cargo build -p yoi`
|
||||||
|
- `target/debug/yoi ticket doctor`
|
||||||
|
- `nix build .#yoi --no-link`
|
||||||
|
- absence checks for `tickets.sh` and repository-root `work-items/` after final cleanup.
|
||||||
|
|
@ -51,4 +51,44 @@ Plan:
|
||||||
- Delete the shell compatibility CLI and update active docs/workflows/validation to `yoi ticket doctor`.
|
- Delete the shell compatibility CLI and update active docs/workflows/validation to `yoi ticket doctor`.
|
||||||
|
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
<!-- event: close author: hare at: 2026-06-05T22:13:53Z status: closed -->
|
||||||
|
|
||||||
|
## Closed
|
||||||
|
|
||||||
|
Completed the Yoi-local Ticket backend migration.
|
||||||
|
|
||||||
|
Child tickets completed:
|
||||||
|
- `yoi-ticket-cli-parity`: added top-level `yoi ticket` commands for create/list/show/comment/review/status/close/doctor against the Rust Ticket backend.
|
||||||
|
- `builtin-yoi-local-ticket-backend-config`: introduced canonical backend provider config `provider = "builtin:yoi_local"`.
|
||||||
|
- `migrate-ticket-storage-to-yoi-tickets`: moved active Ticket records from `work-items/` to `.yoi/tickets/` and made `.yoi/tickets` the default/configured root.
|
||||||
|
- `remove-tickets-sh`: deleted the transitional `tickets.sh` mutation path and updated active docs/instructions/tests to use `yoi ticket ...`.
|
||||||
|
|
||||||
|
Final authority model:
|
||||||
|
|
||||||
|
```toml
|
||||||
|
[backend]
|
||||||
|
provider = "builtin:yoi_local"
|
||||||
|
root = ".yoi/tickets"
|
||||||
|
```
|
||||||
|
|
||||||
|
- `yoi` binary + `crates/ticket` backend own active Ticket operations.
|
||||||
|
- Active storage is `.yoi/tickets/`.
|
||||||
|
- Repository-root `work-items/` is no longer present and is not an active mutable backend.
|
||||||
|
- `tickets.sh` is removed.
|
||||||
|
- Historical records may still mention old paths/commands as history, but active instructions and validation use `yoi ticket ...`.
|
||||||
|
|
||||||
|
Final validation points across the sequence included:
|
||||||
|
- `cargo test -p ticket`
|
||||||
|
- `cargo test -p yoi ticket`
|
||||||
|
- `cargo test -p pod ticket --lib`
|
||||||
|
- `cargo check --workspace --all-targets`
|
||||||
|
- `cargo fmt --check`
|
||||||
|
- `cargo build -p yoi`
|
||||||
|
- `target/debug/yoi ticket doctor`
|
||||||
|
- `nix build .#yoi --no-link`
|
||||||
|
- absence checks for `tickets.sh` and repository-root `work-items/` after final cleanup.
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
Loading…
Reference in New Issue
Block a user