[openSUSE/open-build-service] c1a7b1: Introduces commit_opts[:login] for delete_on_backend
Branch: refs/heads/2.10 Home: https://github.com/openSUSE/open-build-service Commit: c1a7b122eebfc6046408aa13bae592a8ff3de036 https://github.com/openSUSE/open-build-service/commit/c1a7b122eebfc6046408aa... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-07-18 (Mon, 18 Jul 2022) Changed paths: M src/api/app/models/bs_request_action_delete.rb M src/api/app/models/project.rb Log Message: ----------- Introduces commit_opts[:login] for delete_on_backend And uses this from BsRequestActionDelete. Before we have relied on User.run_as in BsRequest.auto_accept to set User.session (which is a Thread/fiber-local variable). But in an `after_commit` callback this is not working reliably. Maybe a race or something with nested transactions or whatnot. Couldn't figure it out... Commit: 8f090393df52a8d0a9b97bb7df072eff4b61c1b7 https://github.com/openSUSE/open-build-service/commit/8f090393df52a8d0a9b97b... Author: Dani Donisa <dani.doni@gmail.com> Date: 2022-07-18 (Mon, 18 Jul 2022) Changed paths: A ReleaseNotes-2.10.17 Log Message: ----------- Update release notes for 2.10.17 Commit: f0fbf5ab54113b7a5854d50e80a8446dfd8695b0 https://github.com/openSUSE/open-build-service/commit/f0fbf5ab54113b7a5854d5... Author: Dani Donisa <dani.doni@gmail.com> Date: 2022-07-18 (Mon, 18 Jul 2022) Changed paths: A ReleaseNotes-2.10.17 M src/api/app/models/bs_request_action_delete.rb M src/api/app/models/project.rb Log Message: ----------- Merge pull request #12821 from danidoni/backport-after-destroy-commit-bugfix Introduces commit_opts[:login] for delete_on_backend Compare: https://github.com/openSUSE/open-build-service/compare/e663e1a3f283...f0fbf5...
participants (1)
-
Dani Donisa