Jack into your Jenkins to execute Pipeline scripts, provide Pipeline step autocompletions, pull Shared Library step documenation, run console groovy scripts across multiple nodes, and more! Honestly, not that much more.
Other
98
stars
31
forks
source link
Auto-refresh when switching from explorer causes usability issues #67
When working with jenkins-jack, switching between "editor" and "jenkins-jack" panes is a constant thing. It's frequent to switch back and forth a dozen times per minute. With large numbers of pipelines, jobs, and nodes, the auto-refresh is always happening, and causes significant performance degradation. It's running massive numbers of API calls and doing a lot of unnecessary and undesirable work every time we switch tabs. It produces load which is non-trivial on both the client and server side. Meanwhile, the list of pipelines, jobs, and nodes rarely change in many environments.
The suggestion is to either remove the auto-refresh, or make a configuration item to toggle it and default it to off. Something like auto_refresh_on_window_activation or whatever. Each pane already has a refresh button which should satisfy the majority of needs around refresh.
When working with jenkins-jack, switching between "editor" and "jenkins-jack" panes is a constant thing. It's frequent to switch back and forth a dozen times per minute. With large numbers of pipelines, jobs, and nodes, the auto-refresh is always happening, and causes significant performance degradation. It's running massive numbers of API calls and doing a lot of unnecessary and undesirable work every time we switch tabs. It produces load which is non-trivial on both the client and server side. Meanwhile, the list of pipelines, jobs, and nodes rarely change in many environments.
The suggestion is to either remove the auto-refresh, or make a configuration item to toggle it and default it to off. Something like
auto_refresh_on_window_activation
or whatever. Each pane already has a refresh button which should satisfy the majority of needs around refresh.