Skip to content

fix(cot): contain ingest delivery failures before worker handoff - #2297

Merged
mbuckton merged 2 commits into
developmentfrom
fix/MSG-416-cot-ingest-exception-containment
Oct 15, 2026
Merged

mbuckton merged 2 commits into
developmentfrom
fix/MSG-416-cot-ingest-exception-containment

Conversation

@mbuckton

Copy link
Copy Markdown
Contributor

PR #2291 moved CoT twin processing onto a worker but removed delivery-side exception containment. Payload-access or enqueue exceptions now escape sendMessage, causing the existing sendMessageExceptionStillCompletes regression in Jenkins #241.

Restore a narrow RuntimeException catch with existing failure accounting and logging. Completion remains in finally; the bounded queue and asynchronous worker remain unchanged. Add five regression cases covering message/payload/destination/enqueue errors, absent completion, accounting and successful subsequent delivery using valid CoT input.

This is a separate correction to development, independent of MSG-415 / TLS integration PR #2296.

Validation: Jenkins #241 proves the existing regression. New focused red/green validation is pending; this PR remains draft until checked. Whitespace checks and independent source review passed.

Refs: MSG-416
https://mapsmessaging.atlassian.net/browse/MSG-416

Exercise message, payload, destination and enqueue failures, completion,
failure accounting and a successful later delivery without inline twin updates.

Refs: MSG-416
Restore exception containment and failure accounting around payload extraction
and enqueue while retaining completion in finally and asynchronous twin updates.

Refs: MSG-416
@coderabbitai

coderabbitai Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a9a71c7c-32c5-4a50-a38b-bb5d2d9eca54

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@mbuckton
mbuckton marked this pull request as ready for review October 15, 2026 05:19
@mbuckton
mbuckton merged commit 11350f7 into development Oct 15, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant