Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Unable to implement multiple branches with `forkTask`

Open
#94 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from conductor-oss/javascript-sdk

All issues in conductor-oss/javascript-sdk

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.