Skip to content

fix: max_age metric excludes locked jobs#114

Merged
effron merged 2 commits into
mainfrom
fix-max-age-excludes-locked-jobs
Jun 15, 2026
Merged

fix: max_age metric excludes locked jobs#114
effron merged 2 commits into
mainfrom
fix-max-age-excludes-locked-jobs

Conversation

@effron

@effron effron commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

This pr #96 made a change to how max_age is calculated, where it started including the run_at's of jobs that were currently locked. This made our max_age monitor go off even when we had a single long-running job in the queue, instead of showing us when the queue was backed up.

This restores the previous behavior where max_age only includes jobs that are pending, and not actively being worked off.

@effron effron requested review from a team, CelticMajora and smudge June 15, 2026 14:32

@CelticMajora CelticMajora left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 🎉

@effron effron merged commit a5375ed into main Jun 15, 2026
48 checks passed
@effron effron deleted the fix-max-age-excludes-locked-jobs branch June 15, 2026 14: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.

2 participants