[openSUSE/open-build-service] 244ccc: Don't rely on other conditions to stop a live log
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 244ccc1b1a02f66650eef321806a8593cc9a1a20 https://github.com/openSUSE/open-build-service/commit/244ccc1b1a02f66650eef3... Author: Eduardo Navarro <enavarro@suse.com> Date: 2022-03-10 (Thu, 10 Mar 2022) Changed paths: M src/api/app/controllers/webui/package_controller.rb Log Message: ----------- Don't rely on other conditions to stop a live log Whether the log chunk size is zero or the request is not the first, the live log must not stop. Only rely on the list of returning codes recognized as final states to stop the live log. This prevents the case of stopping the live log when the log chunk size is zero, the request is not the first one, and the code returned by the API is "finished". "finished" is not a final state, and the live log page should keep requesting AJAX calls until the code returned is a final one (like "succeeded", "failed", ...). Commit: 819154a991c20538acdedfe05da62d2d0e908099 https://github.com/openSUSE/open-build-service/commit/819154a991c20538acdedf... Author: Eduardo Navarro <enavarro@suse.com> Date: 2022-03-10 (Thu, 10 Mar 2022) Changed paths: M src/api/app/controllers/webui/package_controller.rb Log Message: ----------- Fix Rubocop offenses automatically Fix Rubocop offenses with: `bundle exec rake dev:lint:rubocop:auto_correct` Commit: f870ef9c71d2be28f4b38e561c2d2c174c821203 https://github.com/openSUSE/open-build-service/commit/f870ef9c71d2be28f4b38e... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-14 (Mon, 14 Mar 2022) Changed paths: M src/api/app/controllers/webui/package_controller.rb Log Message: ----------- Merge pull request #12294 from eduardoj/live_build_log_fix_finished Don't rely on other conditions to stop a live log Compare: https://github.com/openSUSE/open-build-service/compare/73dfdae70086...f870ef...
participants (1)
-
Henne Vogelsang