8000 chore(mfile): BoxSpec says lifetime and timeout are not read, but minimald reads both · Issue #4034 · gominimal/minimal · GitHub
[go: up one dir, main page]

Skip to content

chore(mfile): BoxSpec says lifetime and timeout are not read, but minimald reads both #4034

Done

Description

@agent-137

Two doc comments on mfile::spec::BoxSpec (crates/mfile/src/spec.rs) say the daemon ignores keys that it reads:

minimald reads both:

  • ends_with_entrypoint and timeout_of in crates/minimald/src/box_actor/host.rs read them.
  • end_on_timeout in crates/minimald/src/box_actor.rs ends a box at its timeout.
  • until_stopped keeps a box after its entrypoint returns.

The user docs (docs/reference/minimal-dot-toml.md#timeout, and the [sessions.<name>] table in #4033) match the code.

Fix: rewrite the two doc comments, and the enum's, to say what minimald does with each key, and drop the pointer to #3114 if that task is done.

Found while tracing the entry keys for #4033.


This is a residual of epic #2236 (BOX).

Activity

  1. added
    kind:chore
    release:0.8.0
    on Dec 4, 2026
  2. added
    priority:nice-to-have
    on Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind:chorepriority:nice-to-haverelease:0.8.0

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0