Repository navigation
Commit 3699c5f
authored
feat: project flag run execution with durable Temporal workflows (#8355)
* wip: temporal workflows and memoizing
* temporal client
* get workflow runners running
* work on reconciliation workflow
* fix up schemas for scan configs
* wip: image scanning
* limits on how many images we scan per project per timeframe
* after mutating a project, reconcile its image scans
* decision questions for rules
* generic text scanning activities
* add flag modules system
* add rhai-url, rhai-chrono and document
* add route to get project context
* oops we cant touch that migration
* fetch all projects for team members in flag context
* move scan runs to temporal workflow
* move more to temporal
* type flag_outcome
* reconcile workflow also runs rules
* pass AI results into rule context
* setup for automatically changing project status
* rule revisions and deployment
* reconciliation now updates project status
* simplify migration
* move project ID batching to temporal
* handle only-reconcile-in-review properly
* make sure retained flags work properly
* use run state from temporal
* get auto approval working wrt mod issues
* auto approval workflow
* allow blocking auto approval
* track auto-approval state
* mod queue route
* prepare
* fix ci
* fix FK when deleting existing flag runs
* address comments
* switch scheduled-queue state of truth to temporal
* split migration that touched main into new one
* add ContextField options to rules
* some cleanup
* fix upload ordering
* fix ci
* please lord let ci pass
* disable auto approve/withhold by default1 parent 0fc4aeb commit 3699c5f
158 files changed
Lines changed: 13048 additions & 2015 deletions
File tree
- .github/workflows
- apps
- frontend/src
- components
- project-review
- ui/moderation
- project-flag
- composables/queries
- pages
- [type]
- [project]
- moderation
- technical-review
- labrinth
- .sqlx
- migrations
- src
- database/models
- env
- models/v3
- queue/moderation
- routes
- internal
- delphi
- moderation
- project_flag
- tech_review
- v2
- v3
- project_creation
- projects
- test
- util
- workflow
- project_flag
- tests
- packages
- api-client/src/modules/labrinth
- moderation
- project-flags
- ui/src/utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| |||
0 commit comments