softwarefactory-project-zuul[bot]
3340ef9c91
Merge pull request #10053 from AlanCoding/dropsies
...
Intentionally drop job event websocket messages in excess of 30 per second (configurable)
SUMMARY
The UI no longer follows the latest job events from websocket messages. Because of that, there's no reason to send messages for all events if the job event rate is high.
I used 30 because this is the number of events that I guesstimate will show in one page in the UI.
Needs the setting added in the UI.
This adds skip_websocket_message to event event_data. We could promote it to a top-level key for job events, if that is preferable aesthetically. Doing this allows us to test this feature without having to connect a websocket client. Ping @mabashian @chrismeyersfsu
ISSUE TYPE
Feature Pull Request
COMPONENT NAME
API
UI
ADDITIONAL INFORMATION
Scenario walkthrough:
a job is producing 1,000 events per second. User launches it, the screen fills up in, say 1/4 of a second. The scrollbar indicates content beyond the bottom of the screen. Now, for 3/4ths of a second, the scrollbar stays still. After that, it updates the scrollbar to the current line number that the job is on. The scrollbar continues to update the length of the output effectively once per second.
Reviewed-by: Alan Rominger <arominge@redhat.com>
Reviewed-by: Chris Meyers <None>
Reviewed-by: Jake McDermott <yo@jakemcdermott.me>
2021-06-08 20:10:45 +00:00
softwarefactory-project-zuul[bot]
a6383e7f79
Merge pull request #10324 from shanemcd/default_queue_name
...
Introduce distinct controlplane instance group
Reviewed-by: Alan Rominger <arominge@redhat.com>
Reviewed-by: Shane McDonald <me@shanemcd.com>
Reviewed-by: Matthew Jones <bsdmatburt@gmail.com>
Reviewed-by: Yanis Guenane <None>
Reviewed-by: Bianca Henderson <beeankha@gmail.com>
2021-06-08 19:18:35 +00:00
Shane McDonald
3063073395
Merge pull request #9980 from fosterseth/fix_t4958_rename_collection
...
Rename awx_collection modules
2021-06-08 15:12:04 -04:00
Seth Foster
9eda6359f0
False to false to fix linter
2021-06-08 14:33:30 -04:00
Seth Foster
1deaf55ba4
syntax error in runtime.yml
2021-06-08 14:33:30 -04:00
Seth Foster
44c50bbbf7
add redirect for lookup and inventory plugins
2021-06-08 14:33:29 -04:00
Seth Foster
c9e7747f2d
black ignore awx_collection
2021-06-08 14:33:29 -04:00
Seth Foster
199b4b6b47
fixed up jinja2 templating and documentation
2021-06-08 14:33:29 -04:00
Seth Foster
f06485feca
fqcn redirects, and raise from sanity test fix
2021-06-08 14:33:29 -04:00
Seth Foster
4bd910493a
sanity tests
2021-06-08 14:33:28 -04:00
Seth Foster
cd100fd770
fix super and kwargs
2021-06-08 14:33:28 -04:00
Seth Foster
157adb828e
various sanity fixes
2021-06-08 14:33:28 -04:00
Seth Foster
b26e33ca34
remove eula_accepted
2021-06-08 14:33:28 -04:00
Sarabraj Singh
27a1254883
fixed ansible-test sanity import tests; removed sanity-ignore files
2021-06-08 14:33:28 -04:00
Sarabraj Singh
535bbfcc39
fixed validate-modules sanity tests
2021-06-08 14:33:27 -04:00
Sarabraj Singh
d2d511f596
switched to semenatic versioning for version numbers in plugins, library and tools packages
2021-06-08 14:33:27 -04:00
Sarabraj Singh
25ca8d22d6
added collection name to module.deprecate() calls; fixed pep8 linting issues
2021-06-08 14:33:27 -04:00
Sarabraj Singh
378a0711c2
linted AUTH_ARGSPEC to make it easier to read (<180 characters in the same line)
2021-06-08 14:33:26 -04:00
Sarabraj Singh
8fd9225629
removed un-reference-able python modules from ignore-2.9.txt
2021-06-08 14:33:26 -04:00
Seth Foster
ee8c1638c5
remove deprecated modules
2021-06-08 14:33:26 -04:00
Seth Foster
4add72b9d2
actually make use of option aliases
2021-06-08 14:33:25 -04:00
Seth Foster
54dd24b96b
auth_plugin env alternative
2021-06-08 14:33:25 -04:00
Seth Foster
7d06fc74dd
tower_username to controller_username, etc
2021-06-08 14:33:25 -04:00
Seth Foster
1a2e56c785
restore tower_legacy.py, update examples to include CONTROLLER_HOST
2021-06-08 14:33:25 -04:00
Seth Foster
a7b29f6112
controller_inventory.yml in addition to tower_inventory.yml
2021-06-08 14:33:24 -04:00
Seth Foster
39b26c8f0e
Added env variable CONTROLLER_HOST, et al. Add awx.awx namespace to the runtime.yml redirects, and added templating task to change to ansible.controller
2021-06-08 14:33:24 -04:00
Seth Foster
1ade9b3a7d
various references to tower
2021-06-08 14:33:24 -04:00
Seth Foster
82c5803e59
mostly includes renaming non-syntax references to tower
2021-06-08 14:33:24 -04:00
Seth Foster
9f4172ce7b
upstream
2021-06-08 14:33:23 -04:00
Seth Foster
ef56571772
controller_meta, templating
2021-06-08 14:33:23 -04:00
Seth Foster
6911a59f39
fix unit tests
2021-06-08 14:33:23 -04:00
Seth Foster
7a63785255
more rename, mostly in test
2021-06-08 14:33:23 -04:00
Seth Foster
a695274cb6
regex replace tower_*: to ''
2021-06-08 14:33:22 -04:00
Seth Foster
44fed1d7c1
pycharm refactor rename files and class, linux rename tower_ controller_
2021-06-08 14:33:22 -04:00
mabashian
3cc6a4cf44
Go back to tracking currentlyLoading via state and not ref
2021-06-08 13:33:54 -04:00
mabashian
ddf4fbc4ce
Fix linting errors
2021-06-08 13:33:54 -04:00
mabashian
f0e7f2dbcd
Adds logic to try to keep visible page accurate in follow mode
2021-06-08 13:33:54 -04:00
Alan Rominger
579d49033a
Remove debugging log message
2021-06-08 13:33:54 -04:00
Alan Rominger
210d5084f0
Move skip flag up from event_data and pop it off
2021-06-08 13:33:54 -04:00
Alan Rominger
53e8a9e709
Fix bug
2021-06-08 13:33:53 -04:00
Alan Rominger
15effd7ade
Add some conditions for always-send and never-send event types
...
Always send websocket messages for
high priority events like playbook_on_stats
Never send websocket messages for
events with no output
unless they are a high priority event type
2021-06-08 13:33:53 -04:00
Alan Rominger
b919befc90
Add option to record websocket received time
2021-06-08 13:33:53 -04:00
Jake McDermott
faded278e3
Disable follow mode on scroll
2021-06-08 13:33:53 -04:00
Jake McDermott
768ac01f58
Add basic output tailing
...
When follow mode is enabled, fix the scroll position to the highest row
so that the output panel is always displaying the latest events.
2021-06-08 13:33:53 -04:00
Alan Rominger
4052603238
make sure log format does not error
2021-06-08 13:33:53 -04:00
Alan Rominger
b306c6f258
Put new setting in defaults so unit tests will run
2021-06-08 13:33:52 -04:00
Alan Rominger
4b6b8f2bdd
Finish up the immediate or average rate method
2021-06-08 13:33:52 -04:00
Alan Rominger
70420dc3e4
THIS DOES NOT WORK pass events if they fit either timing criteria
2021-06-08 13:33:52 -04:00
Alan Rominger
50ca2d47ce
Further log adjustments
2021-06-08 13:33:52 -04:00
Alan Rominger
faa0a6cf9a
fix up log wording
2021-06-08 13:33:52 -04:00