Skip to content

Conversation

@HannesWell
Copy link
Member

@HannesWell HannesWell commented Apr 27, 2025

The current api-problems matcher seems not to work anymore.

I have the impression that could be because the current pattern doesn't match the print-out, which is in the 'raw'-view
[ERROR] [API ERROR] File MANIFEST.MF at line 7: The minor version should be incremented in version 1.1.600, since new APIs have been added since version 1.1.500 (location: /home/runner/work/eclipse.platform.ui/eclipse.platform.ui/bundles/org.eclipse.e4.core.commands/META-INF/MANIFEST.MF)
respectively in the 'default' view:
Error: [API ERROR] File MANIFEST.MF at line 7: The minor version should be incremented in version 1.1.600, since new APIs have been added since version 1.1.500 (location: /home/runner/work/eclipse.platform.ui/eclipse.platform.ui/bundles/org.eclipse.e4.core.commands/META-INF/MANIFEST.MF)

Although the new pattern matches the different beginning of the line better, it looks like the pattern still does not match. But according to the documentation of problem-matchers everything else seems to be in place.

That workflow run shows that the matcher is added:
https://github.com/eclipse-platform/eclipse.platform.ui/actions/runs/14694871712/job/41235517380

So probably the pattern still does not work somehow.

@laeubi
Copy link
Contributor

laeubi commented Apr 28, 2025

@HannesWell the pattern matcher was always fragile, I therefore recommend to simply remove this entirely. We already have issues reported by Jenkins now in a much better way.

@HannesWell
Copy link
Member Author

I was hoping for a quick fix, but it looks like something more has to be done and I doubt it's worth the time now. I'll change this PR to remove the problem matcher part this evening.
If somebody want's to fix it later, this can then cleanly be reverted.

The defined pattern seems not to match and cannot easily be fixed.
And because in Jenkins API-problems are displayed more reliably, the
entire matcher is just removed.
@HannesWell HannesWell force-pushed the fix-api-problem-matcher branch from 23e1394 to bc93b15 Compare April 28, 2025 16:38
@HannesWell HannesWell changed the title [Build] Fix 'api-problems' problem-matcher for shared Github workflow [Build] Remove unusable 'api-problems'-matcher for shared GH workflows Apr 28, 2025
@HannesWell
Copy link
Member Author

Updated this PR to just remove the problem-matcher along with it's download-step, as suggested.

@HannesWell HannesWell merged commit 21df76d into eclipse-platform:master Apr 28, 2025
4 of 5 checks passed
@HannesWell HannesWell deleted the fix-api-problem-matcher branch April 28, 2025 16:57
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