Repository navigation
AutoTestPR /exclude: merge platform into existing ProblemList line - #8039
Merged
Merged
Conversation
Instead of appending a duplicate line when the test is already listed, append the new platform (and issue URL if different) comma-separated to the existing line. Fixes adoptium#8038 Signed-off-by: Sophia Guo <sophia.gwf@gmail.com>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the change to merge exclusions into existing ProblemList entries.
No open issues 🎉
What changed in this PR
Updates AutoTestPR’s /exclude handling to merge exclusions into an existing ProblemList entry rather than create duplicate test lines, addressing #8038.
Changes:
- Merges new platforms and issue URLs into existing entries while preserving order and leaving unchanged entries untouched.
- Adds tests for merging, repeated requests, new-test appends, and ignoring commented lines.
| File | Description |
|---|---|
scripts/disabled_tests/tests/test_exclude_openjdk.py |
Adds coverage for merging exclusions and preserving append behavior. |
scripts/disabled_tests/exclude_openjdk.py |
Adds ordered, comma-separated merging and updates existing entries in place. |
Review effort: Balanced
sophia-guo
requested review from
andrew-m-leonard and
smlambert
and
a balanced review from Copilot
November 24, 2026 18:11
karianna
approved these changes
Nov 27, 2026
sophia-guo
requested review from
andrew-m-leonard and
smlambert
and removed request for
andrew-m-leonard and
smlambert
December 1, 2026 14:54
smlambert
approved these changes
Dec 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #8038
When
/excludeis used for a test that already has a line in the target ProblemList file, the new platform(s) are now appended (comma-separated, existing order kept) to that line instead of adding a second line, which madeduplicate_finder.shfail.Example:
compiler/vectorapi/VectorMaskCompareNotTest.java https://bugs.openjdk.org/browse/JDK-8368206 linux-riscv64,aix-ppc64+/exclude ... x86-64_linux jdk=25becomes... linux-riscv64,aix-ppc64,x86-64_linux.Assist-by IBM Bob