Skip to content

Add execution_id to the Sidekiq middleware#6199

Merged
alistair-white-horne-tng merged 1 commit intonextfrom
alistair/job-tagging
Mar 5, 2026
Merged

Add execution_id to the Sidekiq middleware#6199
alistair-white-horne-tng merged 1 commit intonextfrom
alistair/job-tagging

Conversation

@alistair-white-horne-tng
Copy link
Copy Markdown
Contributor

This means that all jobs will have improved logging:

  • jid is the same across retry runs of the same job (this already existed in the previous implementation). This is now also sent to Sentry.
  • execution_id is the replacement for tx_id. This changes between retry runs, but still doesn't tag the Start #perform and Completed #perform log messages. This is seemingly much more difficult.

MAV-4085

@alistair-white-horne-tng alistair-white-horne-tng added this to the v7.2.0 milestone Mar 5, 2026
@alistair-white-horne-tng alistair-white-horne-tng requested a review from a team as a code owner March 5, 2026 13:48
@alistair-white-horne-tng alistair-white-horne-tng added operations Improving live support refactor Improving maintainability labels Mar 5, 2026
This means that all jobs will have improved logging:
- `jid` is the same across retry runs of the same job (this already
  existed in the previous implementation). This is now also sent to 
  Sentry.
- `execution_id` is the replacement for `tx_id`. This changes between
  retry runs, but still doesn't tag the `Start #perform` and
  `Completed #perform` log messages. This is seemingly much more
  difficult.

Jira-Issue: MAV-4085
@alistair-white-horne-tng alistair-white-horne-tng merged commit 0b63965 into next Mar 5, 2026
13 checks passed
@alistair-white-horne-tng alistair-white-horne-tng deleted the alistair/job-tagging branch March 5, 2026 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

operations Improving live support refactor Improving maintainability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants