Skip to content

feat: WebSocket nodes, Wait node, and sync fixes#41

Open
moosebay wants to merge 2 commits intomainfrom
backup/ws-feature-all-changes
Open

feat: WebSocket nodes, Wait node, and sync fixes#41
moosebay wants to merge 2 commits intomainfrom
backup/ws-feature-all-changes

Conversation

@moosebay
Copy link
Contributor

@moosebay moosebay commented Mar 6, 2026

  • Add WebSocket connection and send flow nodes (client + server)
  • Add Wait flow node with duration support
  • Add WebSocket request page and API
  • Fix sync insert handler to be idempotent (upsert on duplicate)
  • Fix node event publishers to emit correct insert/update/delete types
  • Fix wait node copy/paste (missing FlowWaitNodes in mergeFlowData)
  • Fix WS send Select infinite render (React Aria isOpen workaround)
  • Fix server panic on closed channel in WS connection executor
  • Delete dead code (insert_flow.go, update_flow.go)
  • Refactor flow local runner

By submitting a PR to this repository, you agree to the terms within the Contributor Covenant Code of Conduct. Please see the contributing guidelines for how to create and submit a high-quality PR for this repo.

Description

Describe the purpose of this PR along with any background information and the impacts of the proposed change. For the benefit of the community, please do not assume prior context.

Provide details that support your chosen implementation, including: breaking changes, alternatives considered, changes to the API, etc.

If the UI is being changed, please provide screenshots.

References

Include any links supporting this change such as a:

  • GitHub Issue/PR number addressed or fixed
  • StackOverflow post
  • Related pull requests/issues from other repos

If there are no references, simply delete this section.

Testing

Describe how this can be tested by reviewers. Be specific about anything not tested and reasons why.

Please include any manual steps for testing end-to-end or functionality not covered by unit/integration tests.

Also include details of the environment this PR was developed in (platform/browser version).

Checklist

  • I have added a Version Plan for new/changed functionality in this PR
  • All checks for formatting and tests are passing

moosebay added 2 commits March 7, 2026 00:45
…updates

WebSocket Support:
- Add WebSocket Connection and Send flow nodes (client + server)
- Add WebSocket request page and API
- Add drag-and-drop from file tree to flow canvas for WebSocket items
- Add WS echo server integration test, migrate to coder/websocket

Wait Node:
- Add Wait flow node with configurable duration

Flow Runner Overhaul:
- Extract flow execution into flowexec/flowresult packages (~900 lines)
- Wire runner abstractions into strategies with shared helpers
- Fix CANCELED status not sent when stopping a flow

Bug Fixes:
- Fix WS Send node dropdown empty when no selection exists
- Fix @lezer/common override for CodeMirror highlight crash
- Fix sync insert handler idempotency, node event publisher types
- Fix wait node copy/paste, server panic on closed WS channel

Dependencies:
- Update all npm packages to latest (ESLint pinned to v9, syncpack to v13)
- Update Scoop dependencies (7zip, gcc, go, nodejs, etc.)
- Fix eslint-plugin-better-tailwindcss v4 config changes
- Fix @types/react FormEvent deprecation
- Fix matchRoute return type change
…ow node docs

- Add DeltaResetButton to GraphQL top-bar (name), query editor, and variables editor
- Replace inline URL with delta-aware GraphQLUrl component in top-bar
- Wire delta-aware delete and send in GraphQL top-bar
- Add onStay hooks to all route files (HTTP, GraphQL, WS, Flow, Credential) for tab creation
- Fix tab active state: use exact route matching to prevent parent highlighting on delta pages
- Add GraphQL delta to file system sidebar (FileKind enum, model, converters, migration, UI)
- Fix GraphQL header delta service: Create now passes delta fields, add UpdateDelta method
- Fix header delta RPC handler to call UpdateDelta instead of Update
- Add UpdateGraphQLHeaderDelta sqlc query
- Fix converter.go missing GraphQL/WebSocket/GraphQLDelta cases in ToAPIFileKind
- Add NEW_FLOW_NODE.md comprehensive checklist for adding new flow node types
@moosebay moosebay force-pushed the backup/ws-feature-all-changes branch from 12a30ab to 3d58fae Compare March 7, 2026 02:58
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