Skip to content

Fix parallel gateway branch limit via dedicated join-source table#90

Draft
Copilot wants to merge 9 commits intomasterfrom
copilot/fix-parallel-gateway-limit
Draft

Fix parallel gateway branch limit via dedicated join-source table#90
Copilot wants to merge 9 commits intomasterfrom
copilot/fix-parallel-gateway-limit

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 3, 2026

source_node_instance_id and source_node_key in ei_node_instance are varchar(128) with a composite index, capping the number of parallel branches at ~5–6 before hitting InnoDB's 767-byte index prefix limit.

Changes

  • New table ei_node_instance_join_source (parallel-plugin) — stores per-branch join associations as individual rows instead of comma-concatenating into core fields; eliminates the branch-count ceiling without touching the core DDL
  • JoinSourcePO / JoinSourceMapper — persistence layer for the new table
  • BranchMergeStrategy — writes join-source rows on merge; ParallelNodeInstanceHandler reads them back to reconstruct additionalSourceNodeKeys
  • RuntimeProcessor.getHistoryElementList — reads additionalSourceNodeKeys from NodeInstancePO.properties to emit all incoming sequence-flow edges for join nodes, restoring complete history for parallel/inclusive flows
  • Integration testsgetHistoryElementList and getHistoryUserTaskList verified against parallel and inclusive gateway flows

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: liangchenhui <30490037+liangchenhui@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix concurrency limit issue in parallel gateway Fix parallel gateway concurrent branch limit (Issue #89) Mar 3, 2026
Co-authored-by: liangchenhui <30490037+liangchenhui@users.noreply.github.com>
Co-authored-by: liangchenhui <30490037+liangchenhui@users.noreply.github.com>
Copilot AI changed the title Fix parallel gateway concurrent branch limit (Issue #89) Fix parallel gateway join-source tracking via new plugin table instead of widening core fields Mar 4, 2026
…flow history

Co-authored-by: liangchenhui <30490037+liangchenhui@users.noreply.github.com>
Copilot AI changed the title Fix parallel gateway join-source tracking via new plugin table instead of widening core fields Fix parallel gateway: use new join-source table for complete getHistory support Mar 4, 2026
…st for parallel/inclusive gateway flows

Co-authored-by: liangchenhui <30490037+liangchenhui@users.noreply.github.com>
Copilot AI changed the title Fix parallel gateway: use new join-source table for complete getHistory support Fix getHistoryElementList for parallel/inclusive gateway: emit all join-node incoming edges Mar 4, 2026
Copilot stopped work on behalf of liangchenhui due to an error March 5, 2026 03:58
Copilot AI and others added 2 commits March 5, 2026 04:17
…pl classes

Co-authored-by: liangchenhui <30490037+liangchenhui@users.noreply.github.com>
…ist test

Co-authored-by: liangchenhui <30490037+liangchenhui@users.noreply.github.com>
Copilot AI changed the title Fix getHistoryElementList for parallel/inclusive gateway: emit all join-node incoming edges Add InMemory DAO implementations behind extracted interfaces Mar 5, 2026
…backed Impl classes\"

Co-authored-by: liangchenhui <30490037+liangchenhui@users.noreply.github.com>
Copilot AI changed the title Add InMemory DAO implementations behind extracted interfaces Revert InMemory DAO implementations and interface extraction Mar 5, 2026
Copilot AI changed the title Revert InMemory DAO implementations and interface extraction Revert InMemory DAO refactor (wrong branch) Mar 6, 2026
Copilot AI changed the title Revert InMemory DAO refactor (wrong branch) Fix parallel gateway branch limit via dedicated join-source table Mar 6, 2026
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.

2 participants