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

[12.0][IMP] module_analysis: Remove automatic analyse at installation and update #2858

Merged
merged 5 commits into from
Feb 23, 2024

Conversation

thomaspaulb
Copy link
Contributor

@thomaspaulb thomaspaulb commented Feb 23, 2024

Analyse can take some time and a cron task can do it every day if needed, no need to recompute it in real time.

Backport from:

#2609

commit

(main motivation, tests take ages without this mod - tests took 20+ mins, now 8mins)

@thomaspaulb thomaspaulb force-pushed the 12.0-module_analysis-remove_hook branch from 61030f4 to db0f3b2 Compare February 23, 2024 20:06
@legalsylvain
Copy link
Contributor

Thanks for the backport. The cron is missing. Could you add it ?
Thanks !

florian-dacosta and others added 2 commits February 23, 2024 21:24
Analyse can take some time and a cron task can do it every day if needed, no need to recompute it in real time
…cause the analysis is partial (it also make the update slower) ; Add instead a cron task that is executed nightly to update analysis automatically
@thomaspaulb thomaspaulb force-pushed the 12.0-module_analysis-remove_hook branch from db0f3b2 to a6fb9d4 Compare February 23, 2024 20:31
@thomaspaulb
Copy link
Contributor Author

@legalsylvain Done, I had to cherry-pick a couple of other ones as well.

@thomaspaulb thomaspaulb changed the title [12.0][IMP] Remove automatic analyse at installation and update [12.0][IMP] module_analysis: Remove automatic analyse at installation and update Feb 23, 2024
Copy link
Contributor

@legalsylvain legalsylvain left a comment

Choose a reason for hiding this comment

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

Lgtm. Thanks !

@thomaspaulb
Copy link
Contributor Author

Looks like the other PR already got enough positive reviews, so I'll merge this.

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 12.0-ocabot-merge-pr-2858-by-thomaspaulb-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 3add588 into OCA:12.0 Feb 23, 2024
8 of 9 checks passed
@OCA-git-bot
Copy link
Contributor

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

@thomaspaulb thomaspaulb deleted the 12.0-module_analysis-remove_hook branch February 23, 2024 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants