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

[IMP] less volatile reference databases #859

Merged
merged 2 commits into from
Apr 15, 2024

Conversation

Xavier-Do
Copy link
Contributor

@Xavier-Do Xavier-Do commented Mar 22, 2024

One a new batch is triggered, even if the commit head didn't change, the upgrade builds a frequently restarted because the reference builds are not the same once one of them changed.

It's not a big issue, but it can generate useless load when passing pr from draft to ready for review, or starting a new batch manually, ...

This pr proposes to have reference batches on each base branches, that will be used as reference by dev branches instead of taking the last one.

The idea to search the latest batch created before the base batch was considered, but this won't work well for freshly rebased branches since the last done may change. The easiest solution is to store all last done base batch on each base bach.

The question ss, should we filter them per category?
1- before storing them?
2- store all of them and filter when needed
The actual state of the database would make 1 more logical, but looking at the current code it is possible to upgrade from the trigger from another category (use nightly databases)

This will only contains the model change, logic change will be contained in #869 to allow an incremental testing of changes

@Xavier-Do Xavier-Do changed the title 17.0 upgrade rebuild params xdo [WIP] less volatile reference databases Mar 22, 2024
@Xavier-Do Xavier-Do force-pushed the 17.0-upgrade-rebuild-params-xdo branch 4 times, most recently from fbdd32d to eae1dcf Compare March 26, 2024 15:04
@Xavier-Do Xavier-Do marked this pull request as ready for review March 26, 2024 16:10
@Xavier-Do Xavier-Do changed the title [WIP] less volatile reference databases [IMP] less volatile reference databases Apr 15, 2024
@C3POdoo C3POdoo requested a review from a team April 15, 2024 06:52
@Xavier-Do Xavier-Do force-pushed the 17.0-upgrade-rebuild-params-xdo branch 4 times, most recently from c749ef9 to 51feeb0 Compare April 15, 2024 09:36
@d-fence d-fence merged commit 83acc43 into 17.0 Apr 15, 2024
2 checks passed
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