Skip to content

Repository files navigation

JFlow

Run

git clone https://github.com/jererobles/jflow.git
cd jflow
yarn install
yarn dev

Build

yarn build

GitHub Pages

  • Every push builds and deploys the app to GitHub Pages.
  • The default branch updates the main site.
  • Pull requests also publish a preview at pr-preview/pr-<number>/.

To Do

  • define execution flow
    1. workflow start
    2. all blocks on the top level are executed in parallel
    3. for each block, all their expressions are computed in parallel
    4. after all expressions in a block are computed, if: a. the subsequent step is a block, then the block is executed b. the subsequent step is a fork, then the fork is evaluated
    5. (3) and (4) are repeated until all blocks are executed
    6. workflow end
  • define meta language
  • define states
    1. pending
    2. running
    3. completed (success, skipped, failed)
    4. cancelled
  • write models
  • write parser
  • write runner
  • query execution state
  • build basic UI
  • implement basic block types
  • first manual e2e test
  • fixme: having both enums and classes for types is silly

About

Lightweight Google Workflows clone

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Contributors

Languages