tabby/rules/use-basic-job.yml
Meng Zhang 185fe74ab4
refactor(webserver): simplify background job creation. (#2045)
* chore(webserver): extract layer mod

* extract cinfo / cwarn

* do not expose github / gitlab sync jobs

* every backend job should log to db

* simplify job construction

* update
2024-05-03 19:41:38 -07:00

10 lines
265 B
YAML

id: use-basic-job
message: Use BasicJob / CronJob for worker creation.
severity: error
language: rust
files:
- ./ee/tabby-webserver/src/service/background_job/**
ignores:
- ./ee/tabby-webserver/src/service/background_job/helper/mod.rs
rule:
pattern: WorkerBuilder