Skip to content

fix(workflows): fail closed on unknown persisted states - #125

Merged
tt-a1i merged 1 commit into
mainfrom
codex/issue-118-fail-closed-workflow-state
Aug 24, 2026
Merged

fix(workflows): fail closed on unknown persisted states#125
tt-a1i merged 1 commit into
mainfrom
codex/issue-118-fail-closed-workflow-state

Conversation

@tt-a1i

@tt-a1i tt-a1i commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • map missing or unrecognized persisted Workflow run and agent states to uncertain instead of success
  • preserve the known legacy agent aliases completed and failed
  • reject terminal run projections that still contain agents without terminal evidence
  • cover malformed, forward-version, and safeStringify truncation artifacts

Validation

  • node --test --experimental-strip-types extensions/workflows/dashboard.test.ts
  • bun run check
  • bun run test (Node: 893 passed; Vitest: 30 passed)
  • git diff --check

Closes #118

@tt-a1i
tt-a1i merged commit fd339bb into main Aug 24, 2026
2 checks passed
@tt-a1i
tt-a1i deleted the codex/issue-118-fail-closed-workflow-state branch August 24, 2026 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

workflows: persisted-state normalization fails open — unknown/missing states become completed/done

1 participant