Skip to content

DX: Surface Step-Specific Context (Diffs & Env) #61

Description

@alexhraber

Objective

Provide immediate, high-fidelity environmental and state context at the point of failure, removing the need for manual 'log diving' or build metadata hunting.

The Problem

Failures are often non-deterministic or dependent on specific environment variables, secret versions, or subtle diffs in the commit. The current UI separates the 'What' (Logs) from the 'How' (Env/Diff), forcing the developer to mentally merge these two data sources to understand the failure.

Proposed Solution: Step-Specific Contextual Overlays

Inject a 'Contextual Sidecar' into the step view:

  • Localized Diff: Surface only the changes in the files touched by the specific failing step.
  • Env Snapshot: Display a filtered view of environment variables relevant to that step's execution.
  • State Provenance: Show the specific version of the agent and container image used for that execution.

Success Metric

Decrease in 're-run and pray' behavior by providing sufficient context to hypothesize the fix on the first attempt.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions