Skip to main content
← Back to list
01Issue
BugOpenSwamp CLIPublic
AssigneesNone

Relationships

#4393 model output logs shows the latest log version instead of the output's own artifact version

Opened by zack · 11/4/2026

src/libswamp/models/output_logs.ts (around lines 210-222) picks the output's log artifacts from output.artifacts.dataArtifacts, then reads them with deps.findDataByName and deps.getContent by type, definitionId and name only. No version is passed, so the repository returns the latest version. For an older output of a behavior that has run since, model output logs prints the newer run's log, not the log that output produced. The artifact ref carries its version (DataArtifactRef.version, and sha256 when present); passing artifact.version to both calls, and checking sha256 when present, would show the output's own log. Found while planning swamp-club#4390.

02Bog Flow
◉OPEN○TRIAGED○IN PROGRESS○SHIPPED

Open

11/4/2026, 5:01:05 PM

No activity in this phase yet.

03Sludge Pulse

Sign in to post a ripple.