Repository navigation
test(channels): a failed claim answers without the store's text - #2349
Merged
Merged
Conversation
Nash0x7E2
approved these changes
Nov 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
channels.Service.Receivewith a fixed 500 and logs the store's error. No test reached that branch: the existing ones fail at the line lookup or cover STOP and START.Tests
ChannelsSuite.TestAMessageTheStoreCouldNotClaimIsA500WithoutTheStoresWords: a trigger refuses the line'schannel_deliveriesinsert. A HELP and an ordinary message are each answered 500 with "something went wrong", with no store text in the body and no reply sent, and the store's error is logged under "could not claim a channel delivery".failure(err.Error())again makes it fail for both messages (body wasstore: claim channel message: ERROR: refused by the test).Part of AI-3579