From 5dd6c5c6106c34854f14958e1db04c8ca31c0290 Mon Sep 17 00:00:00 2001 From: Alec Thomas Date: Fri, 20 Feb 2026 16:12:44 +1100 Subject: [PATCH] fix: put job id before queue in job name (#132) Co-Authored-By: Claude Opus 4.6 --- internal/jobscheduler/jobs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/jobscheduler/jobs.go b/internal/jobscheduler/jobs.go index 03c45e7..ae821df 100644 --- a/internal/jobscheduler/jobs.go +++ b/internal/jobscheduler/jobs.go @@ -23,7 +23,7 @@ type queueJob struct { run func(ctx context.Context) error } -func (j *queueJob) String() string { return fmt.Sprintf("job-%s-%s", j.queue, j.id) } +func (j *queueJob) String() string { return fmt.Sprintf("job-%s-%s", j.id, j.queue) } func (j *queueJob) Run(ctx context.Context) error { return errors.WithStack(j.run(ctx)) } // Scheduler runs background jobs concurrently across multiple serialised queues.