ticket: use base32 project record ids
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
---
|
||||
title: "CLI: rename pod-command crate to insomnia"
|
||||
state: "closed"
|
||||
created_at: "2026-05-31T06:45:50Z"
|
||||
updated_at: "2026-05-31T06:49:44Z"
|
||||
---
|
||||
|
||||
## Background
|
||||
|
||||
The single-binary CLI migration introduced a small helper crate named `pod-command` for typed Pod runtime command resolution (`current_exe() + ["pod"]`, plus executable-only `INSOMNIA_POD_COMMAND` override).
|
||||
|
||||
The user decided this helper crate should be named after the installed/runtime binary surface, `insomnia`, rather than `pod-command`.
|
||||
|
||||
## Requirements
|
||||
|
||||
- Rename the `pod-command` crate/package to `insomnia`.
|
||||
- Keep the existing typed runtime command behavior intact:
|
||||
- default runtime command is current executable plus `pod` prefix arg;
|
||||
- `INSOMNIA_POD_COMMAND` remains executable-only and is not shell parsed.
|
||||
- Update workspace membership, workspace dependencies, crate dependencies, imports, lockfile, and tests.
|
||||
- Do not rename the `tui` package/crate in this ticket.
|
||||
- Do not reintroduce an `insomnia-pod` binary/alias.
|
||||
- Do not change Pod runtime process model, flags, or protocol.
|
||||
|
||||
## Acceptance criteria
|
||||
|
||||
- No active code or Cargo metadata references the `pod-command` crate/package.
|
||||
- The helper crate is available as package/crate `insomnia`.
|
||||
- Existing spawn/restore code uses the renamed crate without behavior changes.
|
||||
- Focused tests for the renamed helper crate pass.
|
||||
- `cargo fmt --check`, relevant `cargo test`/`cargo check`, `./tickets.sh doctor`, and `git diff --check` pass.
|
||||
@@ -0,0 +1,20 @@
|
||||
Renamed the runtime command helper crate/package from `pod-command` to `insomnia` to align the shared helper crate with the installed binary name.
|
||||
|
||||
Implementation:
|
||||
- Renamed `crates/pod-command` to `crates/insomnia`.
|
||||
- Changed package name from `pod-command` to `insomnia`.
|
||||
- Updated workspace membership and workspace dependencies.
|
||||
- Updated `client` and `pod` crate dependencies/imports from `pod_command` to `insomnia`.
|
||||
- Kept `PodRuntimeCommand` behavior unchanged: default runtime command remains current executable plus `pod`, and `INSOMNIA_POD_COMMAND` remains executable-only.
|
||||
- Updated test helper names to avoid stale `pod_command` wording.
|
||||
|
||||
Validation:
|
||||
- `cargo fmt --check`
|
||||
- `cargo test -p insomnia`
|
||||
- `cargo test -p client -p insomnia`
|
||||
- `cargo test -p pod --lib discovery::tests`
|
||||
- `cargo test -p pod --test spawn_pod_test`
|
||||
- `cargo check -p tui -p pod -p client -p insomnia`
|
||||
- `./tickets.sh doctor`
|
||||
- `git diff --check`
|
||||
- `git grep -n "pod-command\|pod_command" -- ':!work-items' ':!docs' ':!Cargo.lock' || true`
|
||||
@@ -0,0 +1,35 @@
|
||||
<!-- event: create author: tickets.sh at: 2026-05-31T06:45:50Z -->
|
||||
|
||||
## Created
|
||||
|
||||
Created by tickets.sh create.
|
||||
|
||||
---
|
||||
|
||||
<!-- event: close author: hare at: 2026-05-31T06:49:44Z status: closed -->
|
||||
|
||||
## Closed
|
||||
|
||||
Renamed the runtime command helper crate/package from `pod-command` to `insomnia` to align the shared helper crate with the installed binary name.
|
||||
|
||||
Implementation:
|
||||
- Renamed `crates/pod-command` to `crates/insomnia`.
|
||||
- Changed package name from `pod-command` to `insomnia`.
|
||||
- Updated workspace membership and workspace dependencies.
|
||||
- Updated `client` and `pod` crate dependencies/imports from `pod_command` to `insomnia`.
|
||||
- Kept `PodRuntimeCommand` behavior unchanged: default runtime command remains current executable plus `pod`, and `INSOMNIA_POD_COMMAND` remains executable-only.
|
||||
- Updated test helper names to avoid stale `pod_command` wording.
|
||||
|
||||
Validation:
|
||||
- `cargo fmt --check`
|
||||
- `cargo test -p insomnia`
|
||||
- `cargo test -p client -p insomnia`
|
||||
- `cargo test -p pod --lib discovery::tests`
|
||||
- `cargo test -p pod --test spawn_pod_test`
|
||||
- `cargo check -p tui -p pod -p client -p insomnia`
|
||||
- `./tickets.sh doctor`
|
||||
- `git diff --check`
|
||||
- `git grep -n "pod-command\|pod_command" -- ':!work-items' ':!docs' ':!Cargo.lock' || true`
|
||||
|
||||
|
||||
---
|
||||
Reference in New Issue
Block a user