WIP: #104343: Refactor: transition from ex-GORM structs to sqlc structs #104344

Draft
Sybren A. Stüvel wants to merge 24 commits from pr/104343-refactor-structs into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

24 Commits

Author SHA1 Message Date
e63cf27d0f Fixed final tests 2024-11-29 16:52:31 +01:00
bf798ab34c Delete cmd/job-creator and cmd/shaman-checkout-id-setter
These two tools were necessary to work around certain limitations of
earlier versions of Flamenco, and are no longer needed. And they're getting
in the way of other development.
2024-11-29 16:52:15 +01:00
81a724c530 Fixed another test 2024-11-28 11:09:10 +01:00
75c5c8056e Another test fixed 2024-11-27 22:46:41 +01:00
525ce5aeb2 Fix jobs query tests 2024-11-27 22:35:40 +01:00
5d401767e5 Fix jobs tests 2024-11-27 14:33:14 +01:00
c46b8cfdc0 Fixed a test, many more failing 2024-11-24 00:03:38 +01:00
5e8c15a2bb Fixed compiler errors, unit tests likely still fail 2024-11-23 23:58:33 +01:00
2a3660d94f More refactoring, reducing how often a complete job/task is passed 2024-11-23 13:51:42 +01:00
0bb3bdc5a2 WIP: API implementation 2024-11-20 21:51:58 +01:00
86929effd9 Timeout checker tests working 2024-11-20 21:00:15 +01:00
7dca5f1a35 Task state machine is succeeding tests 2024-11-20 20:08:07 +01:00
44147a8ddc More work on the timeout checker, event bus, and task state machine 2024-11-19 11:48:24 +01:00
6fded65a79 Persistence service is compiling & testing again [TESTS OK] 2024-11-19 10:59:41 +01:00
e8851ff5c6 WIP on converting Job & Task types
Doesn't compile yet.
2024-11-19 10:59:30 +01:00
7eba2a8947 Fix test errors [TESTS OK] 2024-11-19 10:59:30 +01:00
c3d5180951 Fixed bunch of compiler errors 2024-11-19 10:59:29 +01:00
c86c25a4c3 More work on sleep schedules 2024-11-19 10:59:29 +01:00
4ea112f643 WIP on converting the sleep schedule
Doesn't compile yet.
2024-11-19 10:59:29 +01:00
7374584832 WorkerTags + handling them more often as value types [TESTS OK] 2024-11-19 10:59:29 +01:00
957e9458c2 Final conversion of Worker [TESTS OK] 2024-11-19 10:59:28 +01:00
e1cdacd458 WIP Worker and status types 2024-11-19 10:59:28 +01:00
0c20372297 errors.go 2024-11-19 10:59:15 +01:00
a2e374714e Refactor: transition from ex-GORM structs to sqlc structs [TESTS OK]
Ref: #104343

No functional changes
2024-11-19 10:59:12 +01:00