8000 T36 — Follow a box's logs and list exited tasks · Issue #2897 · gominimal/minimal · GitHub
[go: up one dir, main page]

Skip to content

T36 — Follow a box's logs and list exited tasks #2897

Open

Description

@mitodrummer

Task

slice size difficulty model who estimated lines
Run tasks and wait on them M routine standard an agent 280 (160 code, 120 tests)

A person follows a box's output with logs -f, and sees exited tasks in min task list until a prune.

Covers:

  • BCLI-012
  • BCLI-015

Layers:

  • client:
    • crates/minimal/src/cli.rs: the verb's arguments and help in the one command model
    • crates/minimal/src/cmd/mod.rs: dispatches the verb
    • crates/minimal/src/cmd/boxes.rs: the logs verb for every box and its -f follow
    • crates/minimal/src/task.rs: min task list keeps exited tasks until a prune
    • crates/minimal/src/tests.rs: the in-process minimald test harness gains this layer's tests
    • cargo nextest run -p minimal type_noun_logs_follow
    • cargo nextest run -p minimal task_list_shows_exited_until_pruned

Waits on:

Plan block
### T36 — Follow a box's logs and list exited tasks
  slice: S2
  kind: task
  covers: BCLI-012, BCLI-015
  size: M
  est: 160 code, 120 tests
  executor: agent
  difficulty: routine
  model: standard
  diagnostics: `min task list` shows an exited task with its exit code, as "exited (3)", until `min box prune` removes it, pinned by task_list_shows_exited_until_pruned
  observ
8000
ability: the command's existing tracing span records the verb, the box id it resolved and the outcome
  layers:
    - client:
      - crates/minimal/src/cli.rs: the verb's arguments and help in the one command model
      - crates/minimal/src/cmd/mod.rs: dispatches the verb
      - crates/minimal/src/cmd/boxes.rs: the logs verb for every box and its `-f` follow
      - crates/minimal/src/task.rs: `min task list` keeps exited tasks until a prune
      - crates/minimal/src/tests.rs: the in-process minimald test harness gains this layer's tests
      test: cargo nextest run -p minimal type_noun_logs_follow
      test: cargo nextest run -p minimal task_list_shows_exited_until_pruned
  produces: none
  consumes: none
  proof: A person follows a box's output with `logs -f`, and sees exited tasks in `min task list` until a prune.
  depends on:
    - blocked by #2892

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind:taskA task the plan skill rendered; the body carries ## Taskmodel:standardA standard model: work that needs care, or routine work that is largesize:M200 to 500 net lines; one PR

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0