Skip to content

[8.15] Tests tracks selectively based on PR changes (#858)#946

Closed
gbanasiak wants to merge 1 commit intoelastic:8.15from
gbanasiak:backport/8.15/pr-858
Closed

[8.15] Tests tracks selectively based on PR changes (#858)#946
gbanasiak wants to merge 1 commit intoelastic:8.15from
gbanasiak:backport/8.15/pr-858

Conversation

@gbanasiak
Copy link
Contributor

Backport

This will backport the following commits from master to 8.15:

Questions ?

Please refer to the Backport tool documentation

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.

(cherry picked from commit 714442d)

# Conflicts:
#	it/logs/test_logs_unmapped.py
#	it/test_custom_parameters.py
#	pyproject.toml
@gbanasiak gbanasiak added the backport This PR is a backport of some other PR label Dec 5, 2025
@gbanasiak gbanasiak enabled auto-merge (squash) December 5, 2025 11:51
@gbanasiak gbanasiak closed this Dec 5, 2025
auto-merge was automatically disabled December 5, 2025 11:55

Pull request was closed

@gbanasiak gbanasiak deleted the backport/8.15/pr-858 branch December 5, 2025 15:51
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants