-
Notifications
You must be signed in to change notification settings - Fork 276
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
[JENKINS-65462] Do NOT trigger jobs for changes that status != GerritChangeStatus.NEW #432
base: master
Are you sure you want to change the base?
Conversation
chenhuahuan
commented
Apr 25, 2021
•
edited
Loading
edited
- Make sure you are opening from a topic/feature/bugfix branch (right side) and not your master branch!
- Ensure that the pull request title represents the desired changelog entry
- Please describe what you did
- Link to relevant issues in GitHub or Jira
- Link to relevant pull requests, esp. upstream and downstream changes
- Ensure you have provided tests - that demonstrates feature works or fixes the issue
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why?
The ticket doesn't seem to explain what the problem is and what the code fixes.
I would also like to see a unit test that recreates the issue.
Please take a look at the ticket description , you will understand the issue and why this Pull Request fixs it. |
I am getting a lot of connection timeouts in the existing unit tests with this "fix" applied. |
Doesn't make sense. What the timeout is about? It seems not related to the modification, is it some kind of CI environment issue? |
The timeout is about the tests not running for too long time, and there are many of the unit/integration tests that fires a new event and waits for the build to start. So if the build doesn't start then it will wait until the test times out. Which indicates that this change breaks a lot of assumptions about how the triggering is supposed to work. |
The check if it's in state "NEW" might be at the wrong location. I think i got the idea why it should be in. The first question is "When is a change interesting?" But one might be interested in ref updated "MERGED" events. I already started to do some adaption but it's not finalized yet. |
was this superseded by #481 ? |