FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

chore(core): remove obsolete const lint allows by arfa79 · Pull Request #26128 · vectordotdev/vector · GitHub

chore(core): remove obsolete const lint allows - #26128

Merged
thomasqueirozb merged 5 commits into
vectordotdev:masterfrom
arfa79:chore/const-string-getters
Aug 20, 2026
Merged

chore(core): remove obsolete const lint allows#26128
thomasqueirozb merged 5 commits into
vectordotdev:masterfrom
arfa79:chore/const-string-getters

Conversation

arfa79 commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Summary

Removes two obsolete clippy::missing_const_for_fn allowances by making the affected string getters const. The configurable template wrapper is also made const to preserve const propagation.

References

Related: #23659

Vector configuration

Not applicable; this is an internal Rust API cleanup with no configuration changes.

How did you test this PR?

  • cargo clippy -p vector --lib --no-default-features -- -D warnings
  • cargo test -p vector --lib --no-default-features template:: --no-fail-fast (44 passed)
  • cargo fmt --all -- --check
  • git diff --check

The full all-features Clippy command was also attempted, but the local environment does not have cmake, which is required to build rdkafka-sys.

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.

arfa79 requested a review from a team as a code owner August 17, 2026 13:42
Copilot AI lite review requested due to automatic review settings August 17, 2026 13:42
github-actions Bot added the domain: topology Anything related to Vector's topology code label Aug 17, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

thomasqueirozb 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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thank you!

thomasqueirozb added the no-changelog Changes in this PR do not need user-facing explanations in the release changelog label Aug 17, 2026

arfa79 commented Aug 18, 2026

Copy link
Copy Markdown
Contributor Author

Thank you!

@thomasqueirozb UW. Please enable auto merge again

github-actions Bot added the domain: transforms Anything related to Vector's transform components label Aug 19, 2026
thomasqueirozb added this pull request to the merge queue Aug 20, 2026
Merged via the queue into vectordotdev:master with commit 83326d8 Aug 20, 2026
59 checks passed
github-actions Bot locked and limited conversation to collaborators Aug 20, 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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

domain: topology Anything related to Vector's topology code domain: transforms Anything related to Vector's transform components no-changelog Changes in this PR do not need user-facing explanations in the release changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL