Skip to content

Fix a tie_binding_to_dest_with_keep_while_cond exception on certain auto-delete exchanges (backport #16824)#16825

Merged
michaelklishin merged 1 commit into
v4.3.xfrom
mergify/bp/v4.3.x/pr-16824
Jun 27, 2026
Merged

Fix a tie_binding_to_dest_with_keep_while_cond exception on certain auto-delete exchanges (backport #16824)#16825
michaelklishin merged 1 commit into
v4.3.xfrom
mergify/bp/v4.3.x/pr-16824

Conversation

@mergify

@mergify mergify Bot commented Jun 27, 2026

Copy link
Copy Markdown

The migration ties an auto-delete exchange to having at least one outbound binding (that is, where the exchange in question is the source) via a keep_while condition.

An exchange without such bindings (e.g. an exchange-to-exchange destination or an alternate-exchange target) cannot satisfy it, so Khepri rejects the write with keep_while_conditions_not_met.

Such exchanges should be skipped, matching the behavior on the exchange.declare path.

References #16590 #16587 #14902 #15954.
Closes #16823.


This is an automatic backport of pull request #16824 done by [Mergify](https://mergify.com).

… auto-delete exchanges

The migration ties an auto-delete exchange to having at least one
outbound binding (that is, where the exchange in question
is the source) via a `keep_while` condition.

An exchange without such bindings (e.g. an exchange-to-exchange
destination or an `alternate-exchange` target) cannot satisfy it,
so Khepri rejects the write with `keep_while_conditions_not_met`.

Such exchanges should be skipped, matching the behavior
on the `exchange.declare` path.

References #16590 #16587.
Closes #16823.

(cherry picked from commit 0b3c150)
@mergify

mergify Bot commented Jun 27, 2026

Copy link
Copy Markdown
Author

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@mergify mergify Bot added the make label Jun 27, 2026
@michaelklishin michaelklishin added the do-not-backport Changes not meant to be backported to release branches label Jun 27, 2026
@michaelklishin michaelklishin added this to the 4.3.3 milestone Jun 27, 2026
@michaelklishin michaelklishin merged commit 8086f9d into v4.3.x Jun 27, 2026
189 checks passed
@michaelklishin michaelklishin deleted the mergify/bp/v4.3.x/pr-16824 branch June 27, 2026 04:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-backport Changes not meant to be backported to release branches make

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant