nexthub
Projects
Explore
Sign in
githubnext/chopin
Public
Let's compose rich plans together
Star
Subscribe
Code
Documents
Automations
Delivery
Changes
13
Tasks
0
Issues
11
Files
Commits
999+
Changes
13
Add background job runner and owner fencing
KC
Krzysztof Cieslak
authored
2 months ago
committed by
Krzysztof Cieślak
35c4119
Patch
Parent
a545acb
18
files changed
+1697
-31
Stacked
Split
apps/server/src/agent
/active-owner.test.ts
+182
−0
apps/server/src/age
nt/active-owner.ts
+215
−0
apps/server/src/
jobs/registry.ts
+23
−1
apps/server/src/jo
bs/runner.test.ts
+382
−0
apps/server/src
/jobs/runner.ts
+659
−0
apps/server/src/jo
bs/service.test.ts
+1
−0
apps/server/src/
jobs/service.ts
+45
−14
apps/server/
src/main.ts
+98
−12
apps/server/src/st
orage/contract.ts
+12
−1
apps/server/src/stora
ge/memory/adapter.ts
+15
−0
apps/server/src/sto
rage/memory/jobs.ts
+12
−2
apps/server/src/
storage/model.ts
+7
−0
apps/server/src/
storage/port.ts
+2
−0
apps/server/src/storage/
postgres/adapter.test.ts
+1
−0
apps/server/src/storag
e/postgres/adapter.ts
+30
−0
apps/server/src/stor
age/postgres/jobs.ts
+8
−1
apps/server/src/storage
/postgres/migrations.ts
+3
−0
apps/server/src/storage/postgres/migra
tions/005_background_job_failures.sql
+2
−0