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

Upload eventfile and unit test results #1389

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

laeubi
Copy link
Contributor

@laeubi laeubi commented Sep 19, 2023

@mickaelistria
Copy link
Contributor

Thank you @laeubi .
Sorry for the inconvenience, I indeed really forgot about that block and didn't spot the issue earlier.

@@ -8,6 +8,15 @@ on:
branches: '**'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one might also want to trigger this workflow on PRs...

In a previous discussion with @rgrunber , we agreed that we don't want it at the moment, to avoid the risk of disturbing current activity on JDT, and the failure here proves it was wise to be cautious.
We may discuss enabling it for PRs later if there is a demand for it from JDT contributors; but at the moment Jenkins seems sufficient and reliable enough.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If reporting problems is "disturbing" it might be better to delete verification checks altogether ;-)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Jenkins does already report problems well enough. The ci.yml here is more added so that contributors can have GitHub builds on their forks for free, to validate their changes, before pushing a PR (that would then be verified on Jenkins).

Copy link
Contributor

@akurtakov akurtakov Nov 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not upload test results from jenkins on pr as a comment?

@stephan-herrmann
Copy link
Contributor

Two questions from a github-naive user:

one might also want to trigger this workflow on PRs...

What issues would be detected by this workflow beyond what the jenkins job does?

Is the original intention to run additional verification after each PR merge? For what benefit?

@mickaelistria
Copy link
Contributor

The original intention is captured in #1254 : "an easily be used to enable validation in forks, just by enabling GitHub actions on the forked repository. So it makes it almost free for contributors to get some CI validation, and thus to provide higher quality PRs more easily."

@stephan-herrmann
Copy link
Contributor

The original intention is captured in #1254 : "an easily be used to enable validation in forks, just by enabling GitHub actions on the forked repository. So it makes it almost free for contributors to get some CI validation, and thus to provide higher quality PRs more easily."

Sure, but what should be the result from all this here on the original repo? Should validations run before and after each PR merge??

@mickaelistria
Copy link
Contributor

Sure, but what should be the result from all this here on the original repo?

The expected result here would be a GitHub build running only for branches (master and so on) when changes happen, and with a successful result. It's not meant to replace Jenkins build nor to add extra redundant checks to PR validations; nothing new happens for PRs.

@rgrunber
Copy link
Contributor

As mentioned in #1254 (comment) , we could have the job only run on forks (stay silent on the original repo until a migration away from Jenkins does happen) if having the additional job running becomes annoying.

@laeubi
Copy link
Contributor Author

laeubi commented Sep 20, 2023

What issues would be detected by this workflow beyond what the jenkins job does?

In general having run the verification on different systems/configuration gives better confidence that we are not coding against a single configuration specific setup (e.g. Jenkins uses Redhat Linux, Github uses latest Ubuntu Linux), beside that Github offers runner for Windows+Mac while Jenkins only offers Linux by default.

Also from time to time we see the Jenkins instances where down, then its good to have at least the alternative verification at hand.

Is the original intention to run additional verification after each PR merge?

This is more a side-effect, without that users would have to do all the setup on their own fork with that one only needs to enable Action runs.

For what benefit?

The only benefit is for those who don't know how to run a maven commandline.

@laeubi
Copy link
Contributor Author

laeubi commented Nov 29, 2023

@mickaelistria @akurtakov @rgrunber @stephan-herrmann any interest in improving github actions or should we close this?

@akurtakov
Copy link
Contributor

If/when we get them not failing I will push them.

@stephan-herrmann
Copy link
Contributor

Can someone with sufficient github knowledge please review this?

Otherwise #1254 is due for a revert, IMHO, as we keep getting bogus error mails upon every successful merge, which in the end means that no committer will pay any attention to such mails any more.

@laeubi
Copy link
Contributor Author

laeubi commented Dec 14, 2023

If/when we get them not failing I will push them.

Everything is green...

@akurtakov
Copy link
Contributor

Let's have this one and see what(if anything) still annoys people after that.
@stephan-herrmann I am looking to have eclipse-platform/eclipse.platform.ui#1412 (comment) like comments in jdt.

@akurtakov akurtakov merged commit f64cfac into eclipse-jdt:master Dec 14, 2023
9 checks passed
@akurtakov
Copy link
Contributor

I've rebased #1698 to see the effects there.

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.

5 participants