Skip to content

Fix(listener): record gha_job_queue_duration_seconds against JobAvailable receipt time - #23

Closed
Okabe-Junya wants to merge 3 commits into
mercari-masterfrom
Okabe-Junya/fix/job-queue-duration-uses-jobavailable-time
Closed

Okabe-Junya wants to merge 3 commits into
mercari-masterfrom
Okabe-Junya/fix/job-queue-duration-uses-jobavailable-time

Conversation

@Okabe-Junya

Copy link
Copy Markdown
Member

Fix #19: GitHub does not populate QueueTime on JobStarted messages, so use the JobAvailable receipt time instead.

@Okabe-Junya Okabe-Junya changed the title fix(listener): record gha_job_queue_duration_seconds against JobAvailable receipt time Fix(listener): record gha_job_queue_duration_seconds against JobAvailable receipt time May 12, 2026
@Okabe-Junya Okabe-Junya self-assigned this May 12, 2026
@Okabe-Junya
Okabe-Junya force-pushed the Okabe-Junya/fix/job-queue-duration-uses-jobavailable-time branch from 23c3f71 to e2f1629 Compare May 12, 2026 08:21
…b message

Adds debug logging to JobAvailable / JobAssigned / JobStarted / JobCompleted
parse paths so we can verify which message types carry a populated QueueTime
from the GitHub message bus. Helps validate the fix in the parent commit.

No functional change; only Info-level log fields are extended.
@Okabe-Junya
Okabe-Junya deleted the Okabe-Junya/fix/job-queue-duration-uses-jobavailable-time branch May 25, 2026 00:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant