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

[JENKINS-67351] Do not load Pipelines during PlaceholderTask.getCauseOfBlockage in normal scenarios #188

Merged
merged 4 commits into from
Dec 17, 2021

Conversation

dwnusbaum
Copy link
Member

@dwnusbaum dwnusbaum commented Dec 15, 2021

See JENKINS-67351 and jenkinsci/workflow-api-plugin#188. Amends #185.

One of the stack traces related to JENKINS-67351 (from the jenkinsci-users mailing list) indicated that a build being accessed in PlaceholderTask.getCauseOfBlockage was not yet loaded because FlowExecutionList$ItemListenerImpl.onLoaded had not executed yet. I did not think this was possible in #185 (comment), and we do not want to be loading Pipelines while the queue lock is held in normal scenarios.

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main 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

@dwnusbaum dwnusbaum added the bug label Dec 15, 2021
@dwnusbaum
Copy link
Member Author

Leaving in draft until jenkinsci/workflow-api-plugin#188 is released.

@dwnusbaum dwnusbaum marked this pull request as ready for review December 17, 2021 18:22
@dwnusbaum dwnusbaum requested a review from car-roll December 17, 2021 18:22
@dwnusbaum dwnusbaum requested a review from jglick December 17, 2021 18:29
@car-roll car-roll merged commit 5dab75a into jenkinsci:master Dec 17, 2021
@KalleOlaviNiemitalo
Copy link

There is a typo in the PR title; it refers to the nonexistent JENKINS-67531, rather than JENKINS-67351. This has propagated to the 1107.v5dab75aaccbd release notes and to the plugin page, as well.

@dwnusbaum dwnusbaum deleted the JENKINS-67351 branch December 20, 2021 14:11
@dwnusbaum dwnusbaum changed the title [JENKINS-67531] Do not load Pipelines during PlaceholderTask.getCauseOfBlockage in normal scenarios [JENKINS-67351] Do not load Pipelines during PlaceholderTask.getCauseOfBlockage in normal scenarios Dec 20, 2021
dwnusbaum added a commit to dwnusbaum/workflow-durable-task-step-plugin that referenced this pull request Jan 14, 2022
…getCauseOfBlockage in normal scenarios (jenkinsci#188)"

This reverts commit 5dab75a.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants