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

Lower the log level of livestream related problem considering low impact #5807

Merged
merged 1 commit into from
Jul 31, 2024

Conversation

Martchus
Copy link
Contributor

This error condition has no impact on the job execution. It just means that the web socket server is not ready yet as we saw in https://progress.opensuse.org/issues/164709#note-4. The request is already retried on the client-side so the live view will be able to resume once the web socket server is ready and the worker connected back. I tested this locally by entering the "Live" tab while the web socket server is not running. When starting it the live view updates itself after a few seconds (without having to switch tabs or reloading the page).

This error condition has no impact on the job execution. It just means that
the web socket server is not ready yet as we saw in
https://progress.opensuse.org/issues/164709#note-4. The request is already
retried on the client-side so the live view will be able to resume once the
web socket server is ready and the worker connected back. I tested this
locally by entering the "Live" tab while the web socket server is not
running. When starting it the live view updates itself after a few seconds
(without having to switch tabs or reloading the page).
Comment on lines 170 to +171
$msg = "Unable to ask worker $worker_id to $verb providing livestream for $job_id: $msg";
log_error $msg;
log_debug $msg;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe instead of just explaining in the git commit message you can also reword the message to not only state the "what" but also the "so what"

Copy link

codecov bot commented Jul 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.49%. Comparing base (294d4b7) to head (0d25a8a).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5807   +/-   ##
=======================================
  Coverage   98.49%   98.49%           
=======================================
  Files         394      394           
  Lines       38686    38686           
=======================================
  Hits        38102    38102           
  Misses        584      584           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mergify mergify bot merged commit f7f8498 into os-autoinst:master Jul 31, 2024
38 checks passed
@Martchus Martchus deleted the live-connection-refused branch July 31, 2024 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants