Skip to content

Conversation

@amureki
Copy link
Collaborator

@amureki amureki commented Nov 21, 2025

Prometheus client became optional in dramatiq:
https://github.com/Bogdanp/dramatiq/releases/tag/v2.0.0

I think we don't need to cover all our dependencies's subdependencies, so it is fine to drop it.

Prometheus client became optional in dramatiq:
https://github.com/Bogdanp/dramatiq/releases/tag/v2.0.0

I think we don't need to cover all our dependencies's subdependencies, so it is fine to drop it.
@amureki amureki self-assigned this Nov 21, 2025
Copilot AI review requested due to automatic review settings November 21, 2025 08:06
@codecov
Copy link

codecov bot commented Nov 21, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (1a64de0) to head (164a6e6).

Additional details and impacted files
@@             Coverage Diff              @@
##             main      #234       +/-   ##
============================================
+ Coverage   89.06%   100.00%   +10.93%     
============================================
  Files          13        13               
  Lines         494       494               
============================================
+ Hits          440       494       +54     
+ Misses         54         0       -54     
Flag Coverage Δ
celery 85.02% <ø> (?)
cleanup 88.46% <ø> (?)
dj5.1 88.46% <ø> (ø)
dj5.2 88.46% <ø> (ø)
django-rq 85.02% <ø> (?)
dramatiq 85.02% <ø> (?)
drf 96.35% <ø> (?)
macos-latest 88.66% <ø> (ø)
py3.10 88.46% <ø> (ø)
py3.12 88.46% <ø> (ø)
py3.13 88.46% <ø> (ø)
py3.9 88.46% <ø> (ø)
ubuntu-latest 88.46% <ø> (ø)
windows-latest 81.58% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copilot finished reviewing on behalf of amureki November 21, 2025 08:07
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR removes the optional Prometheus middleware from the dramatiq broker configuration in test settings, following dramatiq v2.0.0's change that made Prometheus client an optional dependency.

Key Changes

  • Removed dramatiq.middleware.Prometheus from the DRAMATIQ_BROKER middleware list

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@amureki amureki marked this pull request as ready for review November 21, 2025 08:08
@amureki amureki requested a review from codingjoe November 21, 2025 08:08
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