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

Incremental flow analysis #3

Closed
wants to merge 16 commits into from
Closed

Conversation

svanoort
Copy link
Member

Splits out the incremental flow analysis/caching from #2 so that it can be reviewed & worked on separately. Depends on #2 though.

TODO:

  • Basic incremental flow analysis
  • Pluggable flowscanner implementation
  • Basic test for incremental flow analysis
  • Test for incremental flow analysis with parallel flows that may be in progress

@svanoort
Copy link
Member Author

Closing this one out because it doesn't seem like this analysis on in-progress pipelines is the bottleneck it used to be now (thanks to internal improvements done)

@svanoort svanoort closed this Jan 20, 2017
@jglick jglick deleted the incremental-flow-analysis branch February 1, 2017 22:40
svanoort pushed a commit that referenced this pull request Jun 15, 2018
jglick added a commit that referenced this pull request Jun 3, 2022
…r882853693

Example from `ExecutorStepDynamicContextTest.parallelNodeDisappearance`:

```
"Computer.threadPoolForRemoting [#3]" #89 daemon prio=5 os_prio=0 tid=0x00007f30d0c6a800 nid=0x6d0f9 in Object.wait() [0x00007f31047fe000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:460)
	at hudson.remoting.AsyncFutureImpl.get(AsyncFutureImpl.java:97)
	- locked <0x00000000f83dd1e8> (a hudson.remoting.AsyncFutureImpl)
	at org.jenkinsci.plugins.workflow.support.steps.ExecutorStepDynamicContext.resume(ExecutorStepDynamicContext.java:108)
	at org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecution.onResume(ExecutorStepExecution.java:201)
	at org.jenkinsci.plugins.workflow.flow.FlowExecutionList$ParallelResumer.lambda$run$5(FlowExecutionList.java:369)
	at org.jenkinsci.plugins.workflow.flow.FlowExecutionList$ParallelResumer$$Lambda$350/265274739.run(Unknown Source)
	at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
	at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
	at …
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant