Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve #122 -- Add Django-RQ support for async image processing #124

Merged
merged 11 commits into from
Jan 20, 2024

Conversation

krtko1
Copy link
Contributor

@krtko1 krtko1 commented Sep 5, 2023

  • django-rq: add django-rq support
  • django-rq: test django-rq support

@krtko1
Copy link
Contributor Author

krtko1 commented Sep 5, 2023

resolves #122

@codecov
Copy link

codecov bot commented Sep 6, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (5aabd50) 100.00% compared to head (c781277) 100.00%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #124   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           13        13           
  Lines          449       459   +10     
=========================================
+ Hits           449       459   +10     
Flag Coverage Δ
celery 84.31% <40.00%> (-0.99%) ⬇️
cleanup 84.96% <40.00%> (-1.01%) ⬇️
dj4.1 84.96% <40.00%> (-1.01%) ⬇️
dj4.2 84.96% <40.00%> (-1.01%) ⬇️
django-rq 84.31% <80.00%> (?)
dramatiq 84.31% <40.00%> (-0.99%) ⬇️
drf 92.81% <40.00%> (-1.18%) ⬇️
macos-latest 85.18% <40.00%> (-1.01%) ⬇️
py3.10 84.96% <40.00%> (-1.01%) ⬇️
py3.12 84.96% <40.00%> (-1.01%) ⬇️
py3.8 84.96% <40.00%> (-1.01%) ⬇️
py3.9 84.96% <40.00%> (-1.01%) ⬇️
ubuntu-latest 84.96% <40.00%> (-1.01%) ⬇️
windows-latest 77.04% <40.00%> (-1.26%) ⬇️

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.

Copy link
Owner

@codingjoe codingjoe left a comment

Choose a reason for hiding this comment

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

Excellent, this looks like a promising start. I approved the CI run for you. Unfortunately, the setup isn't working yet. Redis is currently only installed for dramatiq:

- name: Install redis
if: matrix.extras == 'dramatiq'

A little … || matrix.extras == 'django-rq' should do the trick.

tests/testapp/settings.py Outdated Show resolved Hide resolved
tests/testapp/urls.py Outdated Show resolved Hide resolved
pictures/tasks.py Outdated Show resolved Hide resolved
@codingjoe codingjoe changed the title django rq Resolve #122 -- Add Django-RQ support for async image processing Sep 6, 2023
@krtko1 krtko1 marked this pull request as ready for review September 7, 2023 14:27
@krtko1 krtko1 requested a review from codingjoe September 26, 2023 05:36
@krtko1
Copy link
Contributor Author

krtko1 commented Oct 31, 2023

@codingjoe Can you look at this?

@krtko1
Copy link
Contributor Author

krtko1 commented Nov 9, 2023

ping?

Copy link
Owner

@codingjoe codingjoe left a comment

Choose a reason for hiding this comment

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

Hi, please excuse the delay. I took me a little while to catch up with all my notifications on GitHub.

tests/testapp/settings.py Outdated Show resolved Hide resolved
tests/testapp/settings.py Outdated Show resolved Hide resolved
@codingjoe
Copy link
Owner

Hi @krtko1 the CI suite still fails. Let me know if you ned any help to fix it. I merged the latest main branch into your feature branch, to enable Python 3.12 tests as well. Cheers! Joe

tests/testapp/settings.py Dismissed Show dismissed Hide dismissed
Copy link
Owner

@codingjoe codingjoe left a comment

Choose a reason for hiding this comment

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

OK, I took the liberty and pushed this over the finish line. Took me a minute, since I have never used Django-RQ. Buuut, I think I managed well. Enjoy!

@codingjoe codingjoe merged commit 33562b8 into codingjoe:main Jan 20, 2024
24 checks passed
@krtko1 krtko1 deleted the django-rq branch January 20, 2024 11:27
@krtko1
Copy link
Contributor Author

krtko1 commented Jan 20, 2024

Thanks a lot

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