Skip to content

enhancement(source): improve clarity of the source send cancelled error message#25686

Open
clementd-dd wants to merge 1 commit into
vectordotdev:masterfrom
clementd-dd:clementd-dd/feat-improve-clarity-of-the-source-send-cancelled-error-message
Open

enhancement(source): improve clarity of the source send cancelled error message#25686
clementd-dd wants to merge 1 commit into
vectordotdev:masterfrom
clementd-dd:clementd-dd/feat-improve-clarity-of-the-source-send-cancelled-error-message

Conversation

@clementd-dd

Copy link
Copy Markdown
Contributor

Summary

The source send cancelled does not immediately convey possible causes and does not provide actionable feedback. Since this error most probably indicates backpressure-related errors, let’s be explicit about it.

Feedback welcome on the actual wording, bikeshed away

Change Type

  • Bug fix
  • New feature
  • Dependencies
  • Non-functional (chore, refactoring, docs)
  • Performance

Is this a breaking change?

  • Yes
  • No

Does this PR include user facing changes?

  • Yes. Please add a changelog fragment based on our guidelines.
  • No. A maintainer will apply the no-changelog label to this PR.

Notes

  • Please read our Vector contributor resources.
  • Do not hesitate to use @vectordotdev/vector to reach out to us regarding this PR.
  • Some CI checks run only after we manually approve them.
    • We recommend adding a pre-push hook, please see this template.
    • Alternatively, we recommend running the following locally before pushing to the remote branch:
      • make fmt
      • make check-clippy (if there are failures it's possible some of them can be fixed with make clippy-fix)
      • make test
  • After a review is requested, please avoid force pushes to help us review incrementally.
    • Feel free to push as many commits as you want. They will be squashed into one before merging.
    • For example, you can run git merge origin master and git push.
  • If this PR introduces changes Vector dependencies (modifies Cargo.lock), please
    run make build-licenses to regenerate the license inventory and commit the changes (if any). More details on the dd-rust-license-tool.

@clementd-dd clementd-dd requested a review from a team as a code owner June 26, 2026 13:57
@github-actions github-actions Bot added the domain: core Anything related to core crates i.e. vector-core, core-common, etc label Jun 26, 2026
@datadog-vectordotdev

This comment has been minimized.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e83f0390ca

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

The `source send cancelled` does not immediately convey possible causes and does not provide actionable feedback.
Since this error most probably indicates backpressure-related errors, let’s be explicit about it.
@clementd-dd clementd-dd force-pushed the clementd-dd/feat-improve-clarity-of-the-source-send-cancelled-error-message branch from e83f039 to 7c6ec8f Compare June 26, 2026 14:09

@pront pront left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good improvement.

💭 "pipeline may be overloaded or shutting down."
Ideally we would provide a hint so users can determine this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

domain: core Anything related to core crates i.e. vector-core, core-common, etc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants