Skip to main content
← Back to list
01Issue
BugIn ProgressSwamp CLIPublic
Assigneeszack

Relationships

#4465 Dashboard data item page cannot show an item once its behavior definition is deleted, though the data remains

Opened by zack · 11/5/2026

Description

The dashboard's data item page (opened from a step log's Open log link, or any data link) reads the item with data.get and data.versions by behavior name. When the behavior that wrote the item has been deleted, for example a per-run ephemeral behavior that a workflow's cleanup job removes, both requests fail with Behavior not found, although the data is still stored and data query returns it.

Found while fixing swamp-club#4464, which moved the inline step log to a run-pinned data.query. The Open log link on that panel still leads to this page, so for an orphaned log the panel shows the log but Open log shows Behavior not found.

Cause

  • DataItemPage in packages/dashboard/src/views/DataDetail.tsx sends data.get and data.versions with modelIdOrName set to the behavior name.
  • The serve handlers resolve the behavior definition first (resolveModelTarget in src/serve/handlers/data_handlers.ts) and fail when it is gone.
  • serve already authorizes orphaned data on its recorded owner name and type (CanonicalResources.modelOwners), which data.query and data.list use.

Expected

The data item page shows an item and its versions whenever the data is still stored, whether or not its behavior exists. Options: a run-scoped drawer item kind for step artifacts (like runReport), or reading the page through data.query with the item's recorded modelId and name.

Steps to reproduce

  1. Run a workflow whose step uses a per-run inline behavior, then delete that behavior's auto-definition (as verify-reviews' cleanup job does).
  2. Open the run in the dashboard, expand the step, click Open log.
  3. The drawer shows Behavior not found.
02Bog Flow
✓OPEN✓TRIAGED◉IN PROGRESS○SHIPPED+ 1 MOREASSIGNED+ 5 MOREREVIEW+ 2 MORECODE_CONFORMANCE_REVIEW

In Progress

11/6/2026, 12:10:46 AM

Click a lifecycle step above to view its details.

03Sludge Pulse
zack assigned zack11/5/2026, 11:22:22 PM

Sign in to post a ripple.