Skip to content

fix: prevent task detail crash on malformed output fields#267

Merged
dimavedenyapin merged 1 commit intomainfrom
fix/output-fields-crash
Apr 23, 2026
Merged

fix: prevent task detail crash on malformed output fields#267
dimavedenyapin merged 1 commit intomainfrom
fix/output-fields-crash

Conversation

@dimavedenyapin
Copy link
Copy Markdown
Contributor

Summary

  • normalize malformed task output fields from external and agent updates before they reach the renderer
  • make OutputFieldsDisplay fall back to derived labels when legacy fields are missing a name
  • add store and component regressions for malformed output field metadata

Test plan

  • pnpm test:run src/renderer/src/stores/task-store.test.ts src/renderer/src/components/tasks/OutputFieldsDisplay.test.tsx --project renderer
  • pnpm test:run
  • pnpm typecheck
  • pnpm build

@dimavedenyapin dimavedenyapin merged commit 344b05a into main Apr 23, 2026
1 check passed
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.

1 participant