Unable to implement multiple branches with `forkTask`
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- api
Research direction
Start in src/sdk/builders/tasks/forkJoin.ts and compare forkTask's signature and generated structure with the linked Conductor fork-task documentation example. Reproduce the multiple-branch case, then verify that the builder accepts List[List[Task]] and produces the expected workflow definition.
Written by the indexing model from the issue text.
Description
Hi 👋
I think that perhaps the implementation of forkTask limits the developer to creating a single branch.
The fork example in the docs shows that forkTasks should be List[List[Task]] but I believe the signature here limits this to [List[Task]] ( note this is an array with a single item, not a List[] ).
Am I reading this correct? I can't seem to get forkTask() to create the output I'm after, but not sure if that's user error or an issue with the library.
In the meantime I'm implementing this manually.
- Dominant language
- TypeScript
- Stars
- 58
- Forks
- 20
- Avg merge
- 6d 5h
- Merged PRs (30d)
- 3
Getting set up
We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from conductor-oss/javascript-sdk
-
bug documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
conductor-oss/javascript-sdk#173 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 88/100
conductor-oss/javascript-sdk#140 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
conductor-oss/javascript-sdk#139 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 91/100
conductor-oss/javascript-sdk#138 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
conductor-oss/javascript-sdk#137 ·
All issues in conductor-oss/javascript-sdk
Similar issues
-
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
supabase/agent-skills#611 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
polka-codes/test#345 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 92/100
GoogleChromeLabs/project-sesame#217 ·
Maintainers usually reply within 12 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
solana-foundation/solana-com#2202 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100