feat: publish command Node Results #339

Closed
opened 2026-07-15 15:56:38 +02:00 by dries · 0 comments
Owner

Parent

#337

What to build

Publish a canonical Node Result for command nodes and require successful commands to write exactly one valid JSON value to stdout. Keep collectors temporarily available so this expand step remains compatible with existing workflows.

Acceptance criteria

  • Command run details expose exactly id, name, started, ended, status, and output as the canonical result envelope.
  • Known timestamps are RFC 3339 UTC and unavailable timestamps are null.
  • Valid stdout preserves every JSON value type in output.
  • Empty or malformed command stdout fails without rerunning and exposes an error output.
  • Existing collector workflows continue to run during the migration.
  • Workflow service integration tests prove the behavior and coverage does not drop.

Blocked by

None — can start immediately.

## Parent #337 ## What to build Publish a canonical Node Result for command nodes and require successful commands to write exactly one valid JSON value to stdout. Keep collectors temporarily available so this expand step remains compatible with existing workflows. ## Acceptance criteria - [ ] Command run details expose exactly `id`, `name`, `started`, `ended`, `status`, and `output` as the canonical result envelope. - [ ] Known timestamps are RFC 3339 UTC and unavailable timestamps are null. - [ ] Valid stdout preserves every JSON value type in `output`. - [ ] Empty or malformed command stdout fails without rerunning and exposes an error output. - [ ] Existing collector workflows continue to run during the migration. - [ ] Workflow service integration tests prove the behavior and coverage does not drop. ## Blocked by None — can start immediately.
dries closed this issue 2026-07-16 00:56:11 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
dries/ocman#339
No description provided.