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

Relationships

#2311 data.latest().attributes fails with 'No such key' in workflow assert steps

Opened by mellens · 9/21/2026

Summary

data.latest("<name>", "<dataName>").attributes.<field> works in normal CEL contexts (model method inputs, swamp data query) but fails with "No such key: attributes" when used in a workflow type: assert step's expr field.

Reproduction

Workflow orca-racers-compare has assert steps that trigger the bug:

- name: assert-no-peeks
  task:
    type: assert
    expr: 'data.latest("race-comparison", "comparison").attributes.racers.all(r, r.peekViolations.size() == 0)'

The same CEL expression works when used as an input in a type: model_method step in the same workflow.

Workaround

Run Jev directly via swamp model method run jev ask --input-file instead of using the workflow assert step, or avoid .attributes traversal in assert expressions.

Expected behavior

data.latest().attributes should resolve identically in assert step CEL expressions and model method input CEL expressions.

02Bog Flow
OPENTRIAGEDIN PROGRESSSHIPPED

Open

9/21/2026, 3:08:07 PM

No activity in this phase yet.

03Sludge Pulse

Sign in to post a ripple.