28 Commits

Author SHA1 Message Date
8ea37122c5 Refine task insertion logic for previous commits 2025-02-16 17:42:27 -06:00
b2958b72b6 Attempt to clean up packageconf handling around system tasks 2025-02-16 16:51:06 -06:00
ee26b576c4 Queue source and build checks as system tasks 2025-02-16 13:14:11 -06:00
ba5e74caef Small cleanup around task_mutex_ 2025-02-10 16:07:09 -06:00
a558f51b5d Source and build check fine-tuning 2025-02-08 20:13:38 -06:00
d334bdebd8 Break the loop early (and thus hold the lock for less time) if we have all the data we need 2025-02-08 17:58:29 -06:00
ae22b08ad7 Space out build checks a little more; only check once an hour 2025-02-08 16:46:47 -06:00
731bbda848 Limit the lock context when checking sources and builds 2025-02-08 16:43:52 -06:00
8371277873 Also add support for automatically retrying failed source and build checks up to a certain point (1h for source builds, several days for build checks) 2025-02-08 02:01:22 -06:00
85b0703e62 Enable new source check and build check tasks again 2025-02-08 01:10:28 -06:00
6eada27b20 Cleanup of CI database objs 2025-02-01 14:52:21 -06:00
b5a5d66aad yo dawg, I heard you like locks, so I locked your lock inside your lock 2025-01-30 00:55:47 -06:00
9a2d090eb4 build_check -> binary_check 2025-01-29 22:38:12 -06:00
a089918462 Actually add support for build statuses 2025-01-29 14:16:32 -06:00
03fdd33084 Further cleanup around source check timestamps 2025-01-29 13:20:48 -06:00
d6fa2d3792 Clear tasks before doing a pull and build all 2025-01-29 00:58:29 -06:00
a4567f33d3 Ensure source checks are retried if failed 2025-01-29 00:00:53 -06:00
12cf91e4b2 Add a task save lock 2025-01-27 17:42:37 -06:00
20a701641a General cleanup around task locking for a pkgconf 2025-01-26 17:56:13 -06:00
c0b95cf54f Don't sync tasks without jobstatuses, it'll be taken care of later 2025-01-25 17:27:27 -06:00
27da8b7df0 Make jobstatus_map a shared pointer, hopefully resolving nullptr issues 2025-01-25 17:01:10 -06:00
966bdcd1cb Centralize exec() in db_common for gradual backoff retries 2025-01-25 13:11:03 -06:00
775e5bddb7 Centralize the database thread connection code 2025-01-24 23:50:40 -06:00
10d43282b6 Add the same to PackageConf syncs, and make logic more robust 2025-01-24 22:45:16 -06:00
d3d19f4f2a Add exponential backup for task retries 2025-01-24 22:39:16 -06:00
0dd70c9545 add missing type decl 2025-01-24 20:54:41 -06:00
5df6fb4fc4 Fix bad task locks 2025-01-24 20:52:07 -06:00
9ff2bd6fcd MEGAcommit adding a FULL web interface 2025-01-24 19:06:37 -06:00