8000 TEL-047: `min box spec` lists the injected `TRACEPARENT` · Issue #2036 · gominimal/minimal · GitHub
[go: up one dir, main page]

Skip to content

TEL-047: min box spec lists the injected TRACEPARENT #2036

Open

Description

@bryan-minimal

Decision (arch#103, option 2): the host telemetry environment decides whether a box gets TRACEPARENT. The box's
reported environment should then show it. min box spec does not exist yet (spec 24); this issue tracks adding
TRACEPARENT to its environment section, with the same source label as other injected variables, when it lands.

Tracked from spec 25 (#1988).

Activity

  1. bryan-minimal commented on Nov 17, 2026

    @bryan-minimal
    MemberAuthor

    Triage, 2026-11-17: the blocker named here is gone; min box spec exists. What is left: show the injected TRACEPARENT, with its source label, in its output, then remove the TEL-047 known gap and correct its covered_by text.

  2. bryan-minimal commented on Nov 17, 2026

    @bryan-minimal
    MemberAuthor

    Looked at closing this today. It needs a decision before any code, so writing the options down.

    Why it is not a small fix. min box spec prints a spec: an entry's expanded spec, or the one stored for a box (BCLI-021, BCLI-022). The trace context is not part of either. The daemon decides on TRACEPARENT at each exec, and whether it is sent depends on the daemon's own telemetry switch (TEL-009) and on whether that request opted out (TEL-045). min box spec can see neither: the entry form never contacts a daemon, and the stored-spec reply carries no telemetry field. So the command cannot truthfully show a value, and a line in its JSON or YAML output would change the documented min/v1/spec format.

    Options

    1. Always print a labelled line with no value, saying the host's telemetry environment sets TRACEPARENT at each exec, with a matching field in JSON and YAML. Honest about being per exec; changes the output format, so BCLI-021 and BCLI-022 need a sentence.
    2. The same line, shown only when telemetry is on. Needs a new field in the stored-spec reply, and the entry form still has no daemon to ask.
    3. Change TEL-047: the place that reports injected environment is a per-exec view (min box show, or an environment report), not min box spec.

    I lean to 3, or 1 with the BCLI wording updated. Whoever owns spec 25 and spec 28 should pick.

    One correction either way. TEL-047, its known-gap entry, and three places in spec 25 say min box spec is "spec 24's future work". Spec 24 is the egress proxy; min box spec is specified in spec 28 and exists.

  3. added
    priority:nice-to-have
    on Nov 18, 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

    priority:nice-to-have

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0