-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Epic: JetBrains Prebuilds for Maven #6740
Comments
The |
@U1F984 yes, but there are several issues:
|
If it is unfeasible to store the system directory in /workspace maybe Shared project indexes could be used. However this is an ultimate edition feature. |
@akosyakov can you link to full workspace back-up issues, and incremental prebuild work which might be blocking this issue? |
System config and cache directories were moved under We need to add ability to include JB backend into prebuilds. There following things to consider:
As a prototype, for the start we could support only IntelliJ indexing and it in .gitpod.yml as an experimental feature. |
It should be in |
We are currently trying out Gitpod as maintainers of https://github.com/testcontainers/testcontainers-java/ and the IntelliJ integration is a big improvement for us a Java developer. However, one of my main use cases is to review and try out PRs and because of the nature of our repository, IntelliJ will take 10 minutes or more to index the project. This makes using workspaces as throwaway instances for trying out things very hard for me. So I just tried to explain our use case and highlight how such a feature would considerably unblock our Gitpod adoption 🙂 |
We don't support it natively yet, but I got it working in this branch: https://github.com/akosyakov/spring-petclinic Important bits:
This task downloads IntelilJ backend which MUST be aligned with Line 11 in 63d893c
Then it configures to move indexes to the same directory which will be used by real backend in regular workspace and runs warm up. If something does not work (hangs) you can run the same task in regular workspace to trace with jstack. Important thought you should use another folder, since only one backend can lock the project folder at the same time. Please capture then warmup task logs and jstack output and share here. |
We shipped an experimental support of indexing for IntelliJ IDEA using Prebuilds. |
Adding note that we have: To move prebuild configurations to the project page. It might therefore make sense to move the JetBrains prebuilds configurations also to that page in the UI rather than in the configuration. |
Renamed the title of this issue, it was created a long time ago when our understanding of JetBrains Gateway was just forming. We can see now the opportunity to focus on Maven for the time being to get the Prebuilds and opening IDE experience working really well. I'll scope this issue down now to just Maven. However, we'll come back and open a companion issue for Gradle also in time. Learnings from integrating Maven fully with Gitpod will then also carry over. |
@andreafalzetti has been doing some analysis to compare:
Will share on the issue. JetBrains mentioned improving the warmup features in February, we'll need to make sure our changes and the JetBrains changes are compatible. |
Work currently paused, waiting on some input from JetBrains. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
We haven't yet investigated this, this ticket is a placeholder for any changes required on our side to make indexing easier for IntelliJ and/or document any processes that improve the performance.
Remaining
Completed
Value & measuring the impact
Considerations
Related issues:
The text was updated successfully, but these errors were encountered: