8000 fix(min): a task applies or refuses nesting, volumes, otel and the other box keys it now drops · Issue #4038 · gominimal/minimal · GitHub
[go: up one dir, main page]

Skip to content

fix(min): a task applies or refuses nesting, volumes, otel and the other box keys it now drops #4038

Done

Description

@agent-137

A task entry ([tasks.<name>], or a [boxes.<name>] entry of a task-rooted type) accepts nesting, volumes, file_imports, github_imports, otel, on_oom, restart and the [machine] table. The task path neither applies nor refuses them, and nothing tells the user.

The task's stored spec is built by put_task_spec and then put_expanded_spec (crates/minimal/src/task.rs). put_expanded_spec keeps only secrets, env_vars, patches and, since #4037, io.exec_enabled (take_expanded_sections in crates/minimal/src/cmd/boxes/create.rs). The other keys never reach the box.

Two consequences:

  • Spec 29 BOX-076 says the daemon carries [[file_imports]], [[github_imports]] and [otel] in the stored spec and warns once for each. A task never carries them, so that warning never fires.
  • machine, on_oom, restart, nesting and volumes are dropped silently.

#4037 handles the same keys on the session path (#4036). Whatever this issue settles for tasks should match the session path's final shape, carried and warned or refused, so that one entry key behaves the same on every box.

Found in arch-review of #4037 (condition C3).


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

Activity

  1. added
    kind:bug
    release:0.8.0
    on Dec 4, 2026
  2. removed
    release:0.8.0
    on Dec 4, 2026
  3. added
    priority:should-have
    release:0.8.0
    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:bugpriority:should-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