-
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
Do not consume eclipse-theia without any quality gate #15320
Comments
Sorry but a broken image should NEVER be pushed if it's breaking In alternative, it should check directly the PR of Theia as well to eagerly track potential future failures. I think also this topic has already been discussed but I never saw happy paths / more tests on upstream as well as it was decided |
The fact that we're building against master every night does not cause the builds to be non-repeatable: we could easily record the commit hash or even tag the built state, even if the hash changes every night. |
I think we should build against theia master every night: I want to know as soon as possible if our code does not work with theia master. |
We could treat updating to the latest theia master like a PR: i.e. it would have to pass the quality gates. |
We need to start nightly builds procedure. If we have failed test during nightly test NO PUSH any image and rising problem via emails/chats. In this case we will detect problem ASAP. |
I think we should split this issue in 2 tasks:
|
FYI I asked on Tuesday call of Theia dev meeting about reporting status check of che-theia in upstream theia and ppl are ok to try |
Preferred solution will be implemented in #15291 |
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
Is your task related to a problem? Please describe.
Currently, che-theia:next (build from che-theia master branch) is being build nightly with lastest bits from https://github.com/eclipse-theia/theia without any checking, that changes in upstream eclipse-theia are working with other Che components.
This approach is not good, as it often breaks development (nightly) version of Che.
This approach also causes our builds to be non-reproducible. che-theia built on one day, could be completely different than che-theia built day later, even though there were 0 changes in the codebase.
Describe the solution you'd like
We should figure out some mechanism in che-theia master branch of tracking commits from upstream eclipse-theia which are used for building che-theia.
This way we could periodically send PR to che-theia to update upstream dependency (commit hash?).
This would allow us have build reproducibility and we can also leverage the PR check job (quality gate) in this process.
Describe alternatives you've considered
Another possibility is to intoduce this quality gate in th nightly build just before pushing che-theia images into docker registry. This would allow us prevent breaking Che as it is, but it's more reacive approach, than directly tracking the upstream dependency in code. And this approach doesn't solve the build reproducibility issue.
The text was updated successfully, but these errors were encountered: