← Back to list
01Issue
FeatureOpenSwamp CLIPublic
AssigneesNone
Relationships
#4391 workflow run: show artifact attributes for runs through serve, and let a run leave out the "Data produced" box
Opened by robin · 11/4/2026
Problem
Follow-up to #4347. With that fix, local swamp workflow run and workflow resume show each artifact's
attributes in the "Data produced" box, as behavior run does. Two gaps remain.
- Runs through
swamp servestill show a bare box.src/serve/deps.ts(createWorkflowRunDeps) doesn't supply the completed-run step-output reader. Serve runs on behalf of a principal, so the reader must apply the caller's data-read decision as acanReadpolicy (ascreateWorkflowHistoryGetDepsalready accepts). Otherwise a remote caller could see attributes of records they may not read. - The box can't be left out. This is the first proposal in #4347. Some workflows return one
fixed-name record that repeats on every run, and for them the box is noise. Ideas:
--quietcovering it, or aworkflow runflag;- a resource-spec marker (for example
display: false), so a behavior author can keep the data handle (fordata list --workflowand report pointers) without it appearing in the run summary.
Proposed solution
- Supply the step-output reader in serve's workflow run and resume paths, with the principal's
canReadpolicy, so remote clients get the same box as local runs. - Decide on a way to leave the box out. A behavior-author marker keeps the decision with the person who knows the record isn't user-facing. A CLI flag is simpler but leaves it to each caller.
Alternatives considered
- Leaving serve as it is: remote and local runs keep printing different summaries.
- Hiding the box by returning no data handles: this breaks the link between the run and its data.
02Bog Flow
Open
No activity in this phase yet.
03Sludge Pulse
Sign in to post a ripple.