Skip to content

Add expiration job summary metrics - #640

Open
awyoo wants to merge 1 commit into
ritik4ever:mainfrom
awyoo:codex/expiration-job-metrics-259
Open

Add expiration job summary metrics#640
awyoo wants to merge 1 commit into
ritik4ever:mainfrom
awyoo:codex/expiration-job-metrics-259

Conversation

@awyoo

@awyoo awyoo commented Jun 8, 2026

Copy link
Copy Markdown

Closes #259

Summary

  • log a structured expiration-job summary after each run with checked, expired, errors, and durationMs fields
  • return the same run counters from expireStaleReservations for callers and tests
  • guard individual stale-reservation expiration with warn-level bounty-specific error logging
  • add focused Vitest coverage for a run that checks three bounties and expires two

/claim #259

Payout address: 0xe80506A1431B3B4aAca8B260838481deBbdF75Ab

Verification

  • git diff --check
  • npm --prefix backend test -- reservationExpirationJob.test.ts

Not run: full npm --prefix backend run typecheck is blocked by existing upstream syntax/type errors in src/app.ts, src/index.ts, src/validation/schemas.ts, and metrics exports outside this PR.

@vercel

vercel Bot commented Jun 8, 2026

Copy link
Copy Markdown

@awyoo is attempting to deploy a commit to the ritik4ever's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add expiration job metrics: count of expired bounties per run

1 participant