reorg files
This commit is contained in:
@@ -13,9 +13,9 @@ webhook -> repository -> reducer -> durable task -> worker -> workflow -> integr
|
||||
```
|
||||
|
||||
`engine/reducer.py` is the pure job state machine. `engine/repository.py` applies its transitions
|
||||
atomically to SQLite and persists the resulting tasks. `worker.py` executes those tasks and passes
|
||||
an explicit `JobRun` into the functions under `workflows/`. The top-level Gitea, Git, OpenCode,
|
||||
development, and CodeGraph modules own external effects.
|
||||
atomically to SQLite and persists the resulting tasks. `application/worker/` executes those tasks
|
||||
and passes an explicit `JobRun` into the functions under `workflows/`. Modules under
|
||||
`integrations/` own external effects, while `api/` contains the FastAPI host and routes.
|
||||
|
||||
Jobs and workflows are immutable snapshots. Workflows return their final comment body directly;
|
||||
progress and resource links are emitted as state-machine events through `JobRun`. The `jobs` table
|
||||
|
||||
Reference in New Issue
Block a user