MapColonies / MapColonies/jobnik-manager

Integrate Asynchronous Logic into Job State Machine

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
enhancement
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.