OCA / queue

Asynchronous Job Queue
GNU Affero General Public License v3.0
175 stars 451 forks source link

[12.0][IMP] queue_job: track error in chatter #577

Closed MiquelRForgeFlow closed 9 months ago

MiquelRForgeFlow commented 9 months ago

When job fails, it shows in chatter:

Selection_2215

Later, the job does a retry. If the retry succeeds, the error is deleted. If not succeeds but the error is different, the error changes. In both cases, you cannot know what was the first error. Let's put in the chatter to have better history.

PCatinean commented 9 months ago

I second this, db size should not be an issue with the autovacuum and exception info is indeed quite important

MiquelRForgeFlow commented 9 months ago

@simahawk @guewen please! Once merged, I will do forward ports...

OCA-git-bot commented 9 months ago

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). 🤖

etobella commented 9 months ago

/ocabot merge patch

OCA-git-bot commented 9 months ago

Hey, thanks for contributing! Proceeding to merge this for you. Prepared branch 12.0-ocabot-merge-pr-577-by-etobella-bump-patch, awaiting test results.

OCA-git-bot commented 9 months ago

Congratulations, your PR was merged at 3ec3e8f529bad6f6e5cee1180b99120d7f057734. Thanks a lot for contributing to OCA. ❤️