MapColonies / MapColonies/jobnik-manager
Integrate Asynchronous Logic into Job State Machine
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
Currently, the job state machine operates statically, lacking asynchronous functions to handle manager logic. This limits its functionality and future extensibility. We should integrate asynchronous logic directly into the state machine, following the pattern demonstrated in the [XState workflow-async-function example](https://github.com/statelyai/xstate/blob/main/examples/workflow-async-function/main.ts). This will enable better control and facilitate future integration with related child machines
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the job state machine in the jobnik-manager server, then compare its manager logic with the linked XState workflow-async-function example. Determine how asynchronous behavior should fit the existing machine and future child-machine integration. Done means the state machine supports the requested asynchronous manager logic and remains extensible for related child machines.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100