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

Don't use API-Tools from I-Builds for API checks in verification builds #2327

Merged

Conversation

laeubi
Copy link
Contributor

@laeubi laeubi commented Sep 9, 2024

No description provided.

@HeikoKlare
Copy link
Contributor

To better understand the proposal: Why shouldn't I-Builds perform API checks? That sounds unintuitive to me.

And note that (in my understanding) this change will not fix the issues metioned in eclipse-pde/eclipse.pde#1396

@laeubi
Copy link
Contributor Author

laeubi commented Sep 9, 2024

Why shouldn't I-Builds perform API checks?

I builds perform API check (but in a different way), but we are currently using the I-Build Results to run the api-checks in verification checks. No there is a binary incompatibility, this does not work as Tycho was compiled against the previous code-base.

@HeikoKlare
Copy link
Contributor

Thank you for clarification. Now I understand the purpose. Then only the commit message is misleading, since you can read it as "with this change, we do not make API checks in I-Builds (anymore)" (like I did).

@mickaelistria
Copy link
Contributor

For our fork of JDT in https://github.com/eclipse-jdtls/eclipse-jdt-core-incubator/ , which has PR rebased on top of master, we see some related failures. Are all platform builds currently broken too?

@HeikoKlare
Copy link
Contributor

Yes, all platform builds are currently broken.

@laeubi
Copy link
Contributor Author

laeubi commented Sep 9, 2024

Yes, all platform builds are currently broken.

... if the use the api-check profile :-)

Instead use the API-tools version Tycho is compiled against to avoid
being affected from binary incompatibilities of internal methods.
@HannesWell HannesWell changed the title Do not use the I-Builds for API checks Don't use API-Tools from I-Builds for API checks in verification builds Sep 9, 2024
@HannesWell
Copy link
Member

Thank you for clarification. Now I understand the purpose. Then only the commit message is misleading, since you can read it as "with this change, we do not make API checks in I-Builds (anymore)" (like I did).

I just updated the commit message of this change to hopefully make this more clear.

With that I think we should apply this because the current situation there is a very tight dependency loop between Tycho and the PDE API-tools that make it hard to evolve methods that are internal in API-Tools (in defense of Tycho the API tools currently don't provide a proper API just an internal provisional API).

So lets have this and see if this solves the issue.

@HannesWell HannesWell merged commit a0ed031 into eclipse-platform:master Sep 9, 2024
3 of 4 checks passed
@HannesWell
Copy link
Member

HannesWell commented Sep 9, 2024

The latest build of that PDE PR eclipse-pde/eclipse.pde#1397, which uses the api-checks profile, succeeded without a problem.
So I think that issue is resolved.

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.

4 participants