why

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package why implements the causal-explainer endpoint (data-plane-memory A3):

GET /v1/jobs/:id/runs/:run_id/why?task=<task-name-or-id>[&partition=<value>]

It returns a field-by-field explanation of why the given task in the run executed, hit the cache, or re-ran — diffing the persisted HashInput blobs and joining trigger-side causation from the event store.

Fan-out: a fanned step has N task_runs rows for one (run, task), so `?task=` alone cannot name an instance. Without `partition` the response is the GROUP summary (partition count, status histogram, first failure, aggregate timing); with `partition=<value>` it is that one instance's full explanation. An unknown partition value is a 404 whose message lists the available values.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(c *echo.Context) error

Get handles GET /v1/jobs/:id/runs/:run_id/why?task=<task>.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL