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

[16.0][ADD] queue_job_chunk: add module #20

Closed
wants to merge 40 commits into from

Conversation

clementmbr
Copy link
Member

Adds the notion of queue job chunks, essentially a queue job with some metadata.
Useful to store the JSON received by an API request before their treatment in odoo.

cc @florian-dacosta @kevinkhao @bealdav @sebastienbeau

Copy link
Member

@bealdav bealdav left a comment

Choose a reason for hiding this comment

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

LGTM , unit tests are there

@rvalyi
Copy link
Member

rvalyi commented May 27, 2024

what about squashing a few commits like the "wip" ones or some of the README adjustments? Nowadays people try to have a clean and meaningful module history in the OCA, this is useful when using git blame to hunt for an explanation or when porting modules from serie to serie...

except RetryableJobError:
raise
except Exception as e:
if DEBUG_MODE:
Copy link
Contributor

Choose a reason for hiding this comment

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

Could be replaced with something like

    if "pdb" in config.get("dev_mode"):

Instead of hardcoded constant

Copy link
Contributor

@kevinkhao kevinkhao left a comment

Choose a reason for hiding this comment

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

code review LGTM cleaner without component

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@bealdav
Copy link
Member

bealdav commented Jun 11, 2024

Probably need to go to queue-job repository ? !!

Copy link

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Oct 13, 2024
@github-actions github-actions bot closed this Nov 17, 2024
@sebastienbeau sebastienbeau reopened this Jan 17, 2025
@clementmbr
Copy link
Member Author

PR moved to OCA/queue#737

@clementmbr clementmbr closed this Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved ready to merge stale PR/Issue without recent activity, it'll be soon closed automatically.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants