summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #8231 from rabbitmq/mergify/bp/v3.11.x/pr-8230v3.11.xMichael Klishin2023-05-172-2/+9
|\ | | | | Use erlang 26.0 instead of rc3 in bazel (backport #8224) (backport #8230)
| * Use erlang 26.0 instead of rc3 in bazelRin Kuryloski2023-05-172-2/+9
|/ | | | | (cherry picked from commit 56aab34fb517107d03d8d121c58d86a43b0d12e0) (cherry picked from commit 0303d2dfe34e1c5d80d846b8baa017d69332bb95)
* Merge pull request #8217 from rabbitmq/mergify/bp/v3.11.x/pr-8215Rin Kuryloski2023-05-172-5/+5
|\ | | | | Use the latest rules_erlang (backport #8205) (backport #8215)
| * Use the latest rules_erlangRin Kuryloski2023-05-162-5/+5
|/ | | | | (cherry picked from commit 6fe4ba18dd84f9ac3fd9a46cc8dc584d6a0e8c14) (cherry picked from commit 03784957db6cd2905b5b59c51b72d8c867b3dbb2)
* Merge pull request #8216 from rabbitmq/mergify/bp/v3.11.x/pr-8211Michael Klishin2023-05-165-21/+112
|\ | | | | Configure Oauth scope prefix (backport #8001) (backport #8211)
| * Resolve a conflict (#8216)Michael Klishin2023-05-161-4/+0
| |
| * Test scope prefix within scope alias mappingMarcial Rosales2023-05-161-1/+45
| | | | | | | | | | (cherry picked from commit 1cd84b36ec127d462f0ee1321636ff9f7dd0b22f) (cherry picked from commit 7fce52c2537d0cdb5a454deae8fa06b1f70c9208)
| * Make parameter optionalMarcial Rosales2023-05-161-1/+1
| | | | | | | | | | (cherry picked from commit ea4074c1dfc704c40ff9007bb9b692bd52a9c3f0) (cherry picked from commit 9ea1127aa9c4727d17946a9a0d609d76b8ee934e)
| * Configure Oauth scope prefixMarcial Rosales2023-05-165-20/+71
|/ | | | | | | | | | separate from resource_server_id (cherry picked from commit faffd6fa98c70da90812617aeeaba4069bd4c918) (cherry picked from commit 0131e9900fe8e8e8d3720241e41d72754b222187) # Conflicts: # deps/rabbitmq_auth_backend_oauth2/priv/schema/rabbitmq_auth_backend_oauth2.schema
* Merge pull request #8213 from rabbitmq/mergify/bp/v3.11.x/pr-8204Michael Klishin2023-05-161-56/+4
|\ | | | | Fix offline `make dist` (backport #8204)
| * Fix offline `make dist`Rin Kuryloski2023-05-161-56/+4
|/ | | | | | | | | See #7869. #7875 resulted in elixir apps (besides the cli) in the deps dir. This triggered dormant makefile logic to compile such deps. It turns out that it's unnecessary to pre-compile them, given the cli's mix.exs file. (cherry picked from commit 0be657ee14598b505d3a4fee48489742aca0c080)
* Correct the VERSION in check-build-system-equivalence.yamlRin Kuryloski2023-05-161-1/+1
| | | | | which was not updated when the originating PR for the worflow was backported
* Merge pull request #8202 from rabbitmq/mergify/bp/v3.11.x/pr-8201Rin Kuryloski2023-05-1629-62/+315
|\ | | | | Github Actions pipeline to compare build systems nightly (backport #8084) (backport #8201)
| * Add a workflow to compare the bazel/erlang.mk outputRin Kuryloski2023-05-1629-62/+315
|/ | | | | | | To catch any drift between the builds (cherry picked from commit eb94a58bc9f4db7a226af26d6f57fdfa24076ed8) (cherry picked from commit 2c5d152ce0e27e35c1f87064fc8c2d1db25453c9)
* Merge pull request #8200 from rabbitmq/mergify/bp/v3.11.x/pr-8197Michael Klishin2023-05-151-0/+3
|\ | | | | Also exclude the .erlang.mk directory in gazelle (backport #8196) (backport #8197)
| * Also exclude the .erlang.mk directory in gazelleRin Kuryloski2023-05-151-0/+3
|/ | | | | (cherry picked from commit 4c9f31473a7a7b1ff57607ef44aa8a1a277c794e) (cherry picked from commit 2a79464ae3b322f9035c1f74207e780824954230)
* Merge pull request #8195 from rabbitmq/mergify/bp/v3.11.x/pr-8191Michael Klishin2023-05-151-0/+6
|\ | | | | UnsubscribeResponse in stream protocol doc (backport #8189) (backport #8191)
| * Include UnsubscribeResponse in stream protocolAlex Blease2023-05-151-0/+6
|/ | | | | (cherry picked from commit 8443c761ee2cc9e7b5b8c3be3749ce3cf272c6c5) (cherry picked from commit b9a1992c71d930e0a43ae8a724b43127c367da3b)
* Merge pull request #8193 from rabbitmq/mergify/bp/v3.11.x/pr-8192Michael Klishin2023-05-151-0/+1
|\ | | | | Exclude nested deps fetched by make from gazelle (backport #8187) (backport #8192)
| * Exclude nested deps fetched by make from gazelleRin Kuryloski2023-05-151-0/+1
|/ | | | | (cherry picked from commit 11b79f37a8992c4e47d314989b5b0d04469d5e17) (cherry picked from commit 2ed1a79b6732228110f70fcc33e35918d1d9ea61)
* Merge pull request #8180 from rabbitmq/mergify/bp/v3.11.x/pr-8175Michael Klishin2023-05-140-0/+0
|\
| * Adopt otp 25.2.3GitHub2023-05-141-1/+1
| | | | | | | | | | (cherry picked from commit 8ee197d1a9de920fcc574faee6b5d9309ae00297) (cherry picked from commit 63963be81598ad115fe2fb8921851ddad03ab0b4)
* | Merge pull request #8181 from rabbitmq/mergify/bp/v3.11.x/pr-8173Michael Klishin2023-05-140-0/+0
|\ \
| * | Adopt otp 25.3.2GitHub2023-05-141-1/+1
| |/ | | | | | | | | (cherry picked from commit 11b5748f77c650c4bb1ecfa1ea6ae2834e282a2c) (cherry picked from commit 8c2f3c371ee5663b0ebe21c8499601885c631aa3)
* | Merge pull request #8182 from rabbitmq/mergify/bp/v3.11.x/pr-8174Michael Klishin2023-05-140-0/+0
|\ \
| * | Adopt otp 25.0.4GitHub2023-05-141-1/+1
| |/ | | | | | | | | (cherry picked from commit 87e59def54f74eb2662a824d918ad4140f1123ab) (cherry picked from commit 33afbc70224068528f3f1828fc919cd8516774ab)
* | Merge pull request #8179 from rabbitmq/mergify/bp/v3.11.x/pr-8176Michael Klishin2023-05-141-1/+1
|\ \ | |/ |/|
| * Adopt otp 25.1.2.1GitHub2023-05-141-1/+1
|/ | | | | (cherry picked from commit 5f3cd3d94f00a11f03b8565d73585bb8fb2278ed) (cherry picked from commit c4f70ff730e49f433d8c7ea0d2cb9fde859745fc)
* Merge pull request #8171 from rabbitmq/gazelle-v3.11.xv3.11.16Michael Klishin2023-05-131-8/+8
|\ | | | | Adopt otp
| * bazel run gazelleGitHub2023-05-131-8/+8
|/
* Merge pull request #8162 from rabbitmq/mergify/bp/v3.11.x/pr-8161Michael Klishin2023-05-131-0/+92
|\ | | | | 3.11.16 release notes (backport #8160) (backport #8161)
| * 3.11.16 release notes updatesMichael Klishin2023-05-121-2/+2
| | | | | | | | | | (cherry picked from commit 66153fdec1a9198b7687b4b2cece94c15e4363d8) (cherry picked from commit a7c850d9ad1c017d7b6e4d431a8789192354071a)
| * 3.11.16 release notesMichael Klishin2023-05-121-0/+92
|/ | | | | (cherry picked from commit 0fd635408db5fc4130d4caa3def2c0278e2a5307) (cherry picked from commit 1083f7bc11b0fc27f42e56dfc955060053b412e6)
* Merge pull request #8158 from rabbitmq/mergify/bp/v3.11.x/pr-7443Michael Klishin2023-05-120-0/+0
|\ | | | | Fix rabbitmq-diagnostics remote_shell for 26.0 (backport #7441) (backport #7443)
| * Fix rabbitmq-diagnostics remote_shell for 26.0 (#7441) (#7443)mergify[bot]2023-05-120-0/+0
|/ | | | | | | (cherry picked from commit 74ce1a4bccfb4735d3f395e3556c8763d2a4cc64) Co-authored-by: Loïc Hoguin <lhoguin@vmware.com> (cherry picked from commit c83f3e13f4670133d2f59d96783b5444a9c71cff)
* Merge pull request #8154 from rabbitmq/mergify/bp/v3.11.x/pr-7903Michael Klishin2023-05-125-0/+33
|\ | | | | Add OTP 26.0-rc3 config to bazel (backport #7902) (backport #7903)
| * resolve merge conflictsRin Kuryloski2023-05-121-17/+2
| |
| * Add OTP 26.0-rc3 config to bazelRin Kuryloski2023-05-125-0/+48
|/ | | | | | | | (cherry picked from commit 2bb0b42c85a79d64f30e127fd746c6f49af441fd) (cherry picked from commit 34016b7c2771ccb1ce3c5682830bc09653638f2c) # Conflicts: # MODULE.bazel
* rabbitmq_cli dialyze enhancements (backport #8148) (backport #8151) (#8152)mergify[bot]2023-05-1213-51/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Build cli deps as .ez archives This provides an elixir/erlang agnostic way of providing them other erlang rules (cherry picked from commit 19f4abd55b0d25b61feb75ff4447b75490fe0700) (cherry picked from commit 166b2fdfa8ccb4dedd6e97ad4203b2a4c8ad2aae) * Pass csv and json to rabbitmq_cli plt So that they are no longer reported as unknown in //deps/rabbitmq_cli:dialyze (cherry picked from commit 08061144ad32aa829b92ed0f4afb7273535c99b0) (cherry picked from commit 5e45f529f3809ca22f88a3ae7be0e385acb26cd0) * Account for Elixir containing several core applications - eex - elixir - ex_unit - iex - logger - mix So that apps (like rabbitmq_cli) can dialyze against the extra components (cherry picked from commit ea895a00230874b0971eca18a735ad8826896bc1) (cherry picked from commit c14a9ebcb3ece058d21433186463894656f0d220) * Use rules_erlang 3.10.0 (cherry picked from commit 92b0a81c609c3a774028cb54953084ee0bda1fe6) (cherry picked from commit 16c7a9b9f44b12fadc6ce9e32d416d15a5466f69) # Conflicts: # MODULE.bazel * Fix github actions cache key for the bazel repo-cache (cherry picked from commit 204d0177c25b6a16cf9ba6923d61df165bc85b07) (cherry picked from commit 27d4a40e3b4c710b5ce91aa63418b2036278d3a6) * Update rules_pkg to 0.9.1 (cherry picked from commit dad871e86c6bece4a09a02cc84dda231b2bcbc11) (cherry picked from commit 9a747c972eeeeccc71b7dab15461ba2718806850) * resolve merge conflicts --------- Co-authored-by: Rin Kuryloski <kuryloskip@vmware.com>
* Merge pull request #8147 from rabbitmq/mergify/bp/v3.11.x/pr-8144Michael Klishin2023-05-124-60/+30
|\ | | | | Pin Ra to 2.6.1 (backport #8143) (backport #8144)
| * bazel updates for Ra 2.6.1Karl Nilsson2023-05-122-57/+27
| |
| * Resolve conflictsMichael Klishin2023-05-122-18/+0
| |
| * Pin Ra to 2.6.1Michael Klishin2023-05-112-0/+9
| | | | | | | | | | | | | | | | | | (cherry picked from commit c9c6730cc5f1341cfd734ee93b99f55c261ccf2c) (cherry picked from commit 535c1e5a9919e59d754f759617d440829e6fb593) # Conflicts: # MODULE.bazel # rabbitmq-components.mk
| * Pin Ra to 2.6.0-pre.1Michael Klishin2023-05-112-0/+9
|/ | | | | | | | | (cherry picked from commit 441a77f6d05dbd99d8b99f94fcf19a12d66d4b56) (cherry picked from commit a7beadbcd64640344a618fc9175998d8633681c1) # Conflicts: # MODULE.bazel # rabbitmq-components.mk
* Merge pull request #8132 from rabbitmq/mergify/bp/v3.11.x/pr-8131Michael Klishin2023-05-102-11/+19
|\ | | | | Correctly use AMQP URI query parameter `password` (backport #8130) (backport #8131)
| * Correctly use AMQP URI query parameter `password`Luke Bakken2023-05-102-11/+19
|/ | | | | | | | | | | | | | | | | | Fixes #8129 The query parameter `password` in an AMQP URI should only be used to set a certificate password, *not* the login password. The login password is set via the `amqp_authority` section as defined here - https://www.rabbitmq.com/uri-spec.html * Add test that demonstrates issue in #8129 * Modify code to fix test Modify amqp_uri so that test passes (cherry picked from commit 494d171ff2ceabee9770217ee24462f6c45b451d) (cherry picked from commit 90549cdfb86cae01c039a1688bc076a0533c23a6)
* Merge pull request #8128 from rabbitmq/mergify/bp/v3.11.x/pr-8127Michael Klishin2023-05-092-5/+53
|\
| * rabbit_feature_flags: Fix possible deadlock when calling the Code serverJean-Sébastien Pédron2023-05-092-5/+53
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [Why] The Feature flags registry is implemented as a module called `rabbit_ff_registry` recompiled and reloaded at runtime. There is a copy on disk which is a stub responsible for triggering the first initialization of the real registry and please Dialyzer. Once the initialization is done, this stub calls `rabbit_ff_registry` again to get an actual return value. This is kind of recursive: the on-disk `rabbit_ff_registry` copy calls the `rabbit_ff_registry` copy generated at runtime. Early during RabbitMQ startup, there could be multiple processes indirectly calling `rabbit_ff_registry` and possibly triggering that first initialization concurrently. Unfortunately, there is a slight chance of race condition and deadlock: 0. No `rabbit_ff_registry` is loaded yet. 1. Both process A and B call `rabbit_ff_registry:something()` indirectly which triggers two initializations in parallel. 2. Process A acquires the lock first and finishes the initialization. A new registry is loaded and the old `rabbit_ff_registry` module copy is marked as "old". At this point, process B still references that old copy because `rabbit_ff_registry:something()` is up above in its call stack. 3. Process B acquires the lock, prepares the new registry and tries to soft-purge the old `rabbit_ff_registry` copy before loading the new one. This is where the deadlock happens: process B requests the Code server to purge the old copy, but the Code server waits for process B to stop using it. [How] With this commit, process B calls `erlang:check_process_code/2` before asking for a soft purge. If it is using an old copy, it skips the purge because it will deadlock anyway. (cherry picked from commit e0a2f1027278bd0901bdaa9af6065abc676ff14f) (cherry picked from commit cebbf024a58333be9699f887262f7090b12cd434)
* Merge pull request #8125 from rabbitmq/mergify/bp/v3.11.x/pr-8124Michael Klishin2023-05-071-1/+5
|\ | | | | Peer discovery: shrink QQ replicas on forced node removal (backport #8123) (backport #8124)
| * Resolve conflicts (#8122)Michael Klishin2023-05-071-16/+2
| | | | | | | | (cherry picked from commit 64a8ed5fa95a8a4b8689d42ad9c0f7161ff9394f)