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

Add Celery as an executor and refactor threading logic #41

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

torkashvand
Copy link
Collaborator

  • Implement Celery for task execution
  • Refactor code to improve thread handling and structure

@torkashvand torkashvand force-pushed the feature/add-celery-as-executor branch 3 times, most recently from cb6aaff to 56d491f Compare November 11, 2024 13:45
Copy link

codecov bot commented Nov 11, 2024

Codecov Report

Attention: Patch coverage is 85.86957% with 13 lines in your changes missing coverage. Please review.

Project coverage is 86.98%. Comparing base (266deac) to head (3033fc5).

Files with missing lines Patch % Lines
lso/worker.py 64.28% 3 Missing and 2 partials ⚠️
lso/routes/playbook.py 85.00% 2 Missing and 1 partial ⚠️
lso/tasks.py 84.21% 2 Missing and 1 partial ⚠️
lso/playbook.py 89.47% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #41      +/-   ##
==========================================
+ Coverage   85.71%   86.98%   +1.26%     
==========================================
  Files           7        9       +2     
  Lines         133      169      +36     
  Branches        6       12       +6     
==========================================
+ Hits          114      147      +33     
  Misses         15       15              
- Partials        4        7       +3     

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

@torkashvand torkashvand force-pushed the feature/add-celery-as-executor branch 16 times, most recently from f37f48a to 6f3f0f9 Compare November 12, 2024 11:13
@torkashvand torkashvand changed the title DRAFT:Add Celery as an executor and refactor threading logic Add Celery as an executor and refactor threading logic Nov 12, 2024
@torkashvand torkashvand force-pushed the feature/add-celery-as-executor branch 2 times, most recently from 30c8e15 to 12895fe Compare November 13, 2024 16:19
README.md Outdated Show resolved Hide resolved
env.example Outdated Show resolved Hide resolved
lso/config.py Show resolved Hide resolved
lso/tasks.py Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
Mohammad Torkashvand and others added 2 commits November 14, 2024 15:33
- Implement Celery for task execution
- Refactor code to improve thread handling and structure
Co-authored-by: Karel van Klink <[email protected]>
Mohammad Torkashvand added 2 commits November 14, 2024 15:33
Add input validation to sanitize data at API level.
Write a test for incorrect playbook paths.
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