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 phase2 #869

Open
wants to merge 2 commits into
base: 18.0
Choose a base branch
from

Conversation

Xavier-Do
Copy link
Contributor

@Xavier-Do Xavier-Do commented Apr 15, 2024

Phase 2 of #859

Once 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 is, 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) even if it is not really in use anymore (except for upgrade partial maybe)

@C3POdoo C3POdoo requested a review from a team April 15, 2024 09:38
@Xavier-Do Xavier-Do changed the title 17.0 upgrade rebuild params phase2 xdo [IMP] less volatile reference databases phase2 Apr 15, 2024
@Xavier-Do Xavier-Do force-pushed the 17.0-upgrade-rebuild-params-phase2-xdo branch from c749ef9 to c0d5e31 Compare April 15, 2024 09:43
@Xavier-Do Xavier-Do force-pushed the 17.0 branch 2 times, most recently from 13e3d9d to e7d1cc9 Compare April 23, 2024 09:53
@Xavier-Do Xavier-Do force-pushed the 17.0-upgrade-rebuild-params-phase2-xdo branch from c0d5e31 to c46b63e Compare February 24, 2025 13:16
@Xavier-Do Xavier-Do changed the base branch from 17.0 to 18.0 February 24, 2025 13:18
@Xavier-Do Xavier-Do force-pushed the 17.0-upgrade-rebuild-params-phase2-xdo branch from c46b63e to 3ce4ca4 Compare February 25, 2025 08:01
@Xavier-Do Xavier-Do force-pushed the 17.0-upgrade-rebuild-params-phase2-xdo branch from 3ce4ca4 to 7f2859f Compare February 25, 2025 09:28
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.

1 participant