• Joined on 2024-09-12
jacs created pull request goffee/goffee#4 2026-06-23 19:47:14 -04:00
command scheduler
jacs created pull request goffee/core#34 2026-06-23 19:46:24 -04:00
scheduler
jacs created pull request goffee/cup#19 2026-06-23 19:44:31 -04:00
scheduler
jacs created branch scheduler in jacs/goffee 2026-06-23 19:17:19 -04:00
jacs pushed to scheduler at jacs/goffee 2026-06-23 19:17:19 -04:00
b47dbcce70 command scheduler
jacs pushed to scheduler at jacs/cup 2026-06-23 19:15:16 -04:00
1a7fc564ff scheduler
jacs pushed to scheduler at jacs/core 2026-06-23 19:12:45 -04:00
987e8b98d0 scheduler updates
d156e3785d add maxruns and option for loop forever
Compare 2 commits »
jacs created repository jacs/goffee 2026-06-22 22:36:34 -04:00
jacs pushed to scheduler at jacs/cup 2026-06-22 12:46:43 -04:00
a5a9f4ba50 add maxruns and option for loop forever
jacs created pull request goffee/cup#18 2026-06-21 22:15:15 -04:00
Wires the scheduler into the cup application following the exact conventions of the Asynq queue integration
jacs created branch scheduler in jacs/cup 2026-06-13 19:59:28 -04:00
jacs pushed to scheduler at jacs/cup 2026-06-13 19:59:28 -04:00
3d051e9617 Wires the scheduler into the cup application following the exact conventions of the Asynq queue integration. A new testmac/config/scheduler.go file provides GetSchedulerConfig() with enable flag, polling interval, and rate limit. A new testmac/register-scheduler.go file registers task handlers (send_email and flaky_task as samples) on the Schedulermux, creates the DB-backed store via core.ResolveGorm(), and launches the scheduler in a goroutine — only when EnableScheduler: true. The scheduler tables are migrated alongside other models in run-auto-migrations.go via db.AutoMigrate(&scheduler.QueueItem{}, &scheduler.ProcessedItem{}).
jacs pushed to develop at jacs/cup 2026-06-13 19:28:54 -04:00
f4476d3e89 queue system settings expanded. Update debug to goffee log system
fc57baff78 update to new core session system
df80e29f6e update to new core session system
f5ab92b1cf recover basic login demo paths
911c1ce734 add new flag COOKIE_SECURE
Compare 35 commits »
jacs pushed to main at jacs/cup 2026-06-13 19:28:07 -04:00
f3047b1d36 update go versions
dfb8fb800c Merge pull request 'develop' (#17) from develop into main
f4476d3e89 queue system settings expanded. Update debug to goffee log system
fc57baff78 update to new core session system
df80e29f6e update to new core session system
Compare 35 commits »
jacs created pull request goffee/core#32 2026-06-13 19:21:35 -04:00
Scheduler as a first-class core module feature, following the same pattern used for the Asynq queue system
jacs created branch scheduler in jacs/core 2026-06-13 19:19:14 -04:00
jacs pushed to scheduler at jacs/core 2026-06-13 19:19:14 -04:00
3710fbe343 Create a scheduler as a first-class core module feature, following the same pattern used for the Asynq queue system. The new core/scheduler/ subpackage contains QueueItem and ProcessedItem GORM models (tables queue_items and processed_items), a Store for database operations (enqueue, claim batch with SELECT FOR UPDATE SKIP LOCKED, result recording, stuck recovery), a Semaphore kill switch, and the polling Scheduler loop with configurable interval and rate limit. The core/scheduler.go wrapper exposes a Schedulermux struct (analogous to Queuemux) with SchedulerInit(), AddWork(), SetStore(), and RunScheduler() methods, plus global accessors ResolveSchedulerStore() and SchedulerSemaphoreSetGreen/Red/IsGreen() so controllers can enqueue work and control the semaphore without importing the subpackage directly.
jacs pushed to develop at jacs/core 2026-06-13 19:15:05 -04:00
b757aef6b1 get queue configurations from config in cup
75ddca3e7d migrated from cup session to core/session.go, Contains the new SessionUser struct and the CreateAuthTokenHashedCacheKey utility function
7c164ef58f fix typo
d6dafa5ab6 fix typo
8604ce94ff fix order
Compare 33 commits »
jacs pushed to main at jacs/core 2026-06-13 19:11:02 -04:00
ec47943a39 Merge pull request 'develop' (#31) from develop into main
b757aef6b1 get queue configurations from config in cup
75ddca3e7d migrated from cup session to core/session.go, Contains the new SessionUser struct and the CreateAuthTokenHashedCacheKey utility function
7c164ef58f fix typo
d6dafa5ab6 fix typo
Compare 30 commits »
jacs pushed to main at jacs/goffeetabler 2026-05-10 20:41:54 -04:00
58bd5490e2 form generator