Commit Graph

6 Commits

Author SHA1 Message Date
bymyself
4e86485598 fix: address CodeRabbit review threads on persistence tests 2026-03-26 21:16:07 -07:00
GitHub Action
bb692f219d [automated] Apply ESLint and Oxfmt fixes 2026-03-26 03:04:34 +00:00
bymyself
4ed883ab0d fix: replace as any with typed casts, fix widget map callback types 2026-03-25 20:01:38 -07:00
bymyself
75caa1deb0 fix: replace no-explicit-any with typed Record casts in workflowPersistence.spec.ts 2026-03-25 19:28:41 -07:00
bymyself
1f835a3de6 fix: address CodeRabbit feedback + fix flaky tests in CI
- Replace (w: any) with typed (w: { name: string; value: unknown })
- Fix G3 test: use direct checkState() instead of clickEmptySpace()
  (logo overlay was intercepting pointer events on canvas)
- Fix G1 guard test: use Ctrl+S instead of saveWorkflow() for re-save
  (already-named workflows don't show save dialog)
- Run prettier/eslint to fix lint-and-format CI
2026-03-25 19:11:37 -07:00
bymyself
4147e6ac50 test: add 12 workflow persistence regression tests
Coverage for 10 bug gaps identified during deep persistence audit:

CRITICAL:
- PR #9531: Workflow data corruption from checkState during graph loading
  (pythongosssss fix — had ZERO tests, now covered with 2 tests)
- PR #9533: Desynced workflow/graph state during rapid tab switching

MEDIUM:
- PR #9380: Node output previews lost on tab switch
- 44bb6f13: Canvas not cleared before loading new workflow
- PR #7648: Widget values lost on graph change
- PR #9694: API format workflows fail with missing nodes
- PR #8259: Middle-click paste duplicates workflow
- PR #8715: Transient blob: URLs in serialization

LOW:
- PR #8963: Locale change breaks workflows
- Splitter panel size drift

All tests use Vue nodes with new menu enabled. Each test documents
which PR/commit it regresses and reproduces the exact user scenario.

Part of: Test Coverage Q2 Overhaul (REG-01)
2026-03-25 18:32:58 -07:00