Skip to content

[9.0] Restore ci#965

Open
NickDris wants to merge 23 commits into9.0from
restore-ci
Open

[9.0] Restore ci#965
NickDris wants to merge 23 commits into9.0from
restore-ci

Conversation

@NickDris
Copy link
Contributor

No description provided.

NickDris and others added 16 commits December 12, 2025 17:12
Implements test execution based on PR changes by integrating
pytest-rally plugin's --track-filter option. Tests will now only run
for tracks affected by changes in the top-level directories of the
repository.

- Updates test command configurations to support dynamic track
filtering arguments
- Adds pytest track markers to associate test classes and methods
 with specific tracks
- Implements CI workflow changes to detect changed tracks and
pass them as filter arguments
- Defines RUN_FULL_CI_WHEN_CHANGED env variable which
point to files that when changed full CI is executed.
- Github workflows now execute CI with the additional --revision
option, effectively building Elasticsearch from sources using 
a revision SHA and according to [Rally --revision rules](https://esrally.readthedocs.io/en/stable/command_line_reference.html#revision)
- es-version added to root directory which determine what is the
value of the --revision argument that will be used in CI.
…orkflow [stateful] (#925)

- determine-es-revision job was changed to determine-es-build job
that now configures the --source-build-release argument together with
the --revision argument if the es-version file contents is equal to
'latest' or 'current'
- show determined arguments in the respective jobs for easy debug
* Fix an error where ci arguments were not applied properly

* Test the change

* Test failed retry with another fix

* Previous fix failed retry

* Revert es-version to current

* Keep the indents if if/else
Refactored backport cli to include all requirements existing at the moment for
automated backporting of PRs.

Supporting label and remind commands and --dry-run for testing.
After merging backport PR we noticed workflow failures 
because of missing values for --lookback-days 
and --pending-reminder-age-days. Also --pr-mode arg 
was incorrectly placed in the single PR case.
@NickDris NickDris added the backport This PR is a backport of some other PR label Dec 12, 2025
@NickDris NickDris marked this pull request as ready for review December 12, 2025 15:23
@NickDris NickDris changed the title Restore ci [9.0] Restore ci Dec 12, 2025
NickDris and others added 7 commits December 12, 2025 17:51
Refactored backport cli to include all requirements existing at the moment for
automated backporting of PRs.

Supporting label and remind commands and --dry-run for testing.
* Fix an error where ci arguments were not applied properly

* Test the change

* Test failed retry with another fix

* Previous fix failed retry

* Revert es-version to current

* Keep the indents if if/else
@NickDris
Copy link
Contributor Author

NickDris commented Dec 19, 2025

This is blocked by elastic/elasticsearch#139648
Removing the 9.0 label, to block backporting attempts

@NickDris NickDris added the blocked This item cannot be finished because of a dependency label Dec 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of some other PR blocked This item cannot be finished because of a dependency

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants