vector icon indicating copy to clipboard operation
vector copied to clipboard

Investigate and eliminate `allow` statements

Open pront opened this issue 1 year ago • 9 comments

Module wide: https://github.com/search?q=repo%3Avectordotdev%2Fvector%20%22%23!%5Ballow(%22&type=code

These allows can hide bugs: https://github.com/search?q=repo%3Avectordotdev%2Fvector+clippy%3A%3Acast&type=code

Same for #![expect(...)].

This can be implemented piece by piece in multiple focused PRs.

pront avatar Aug 27 '25 18:08 pront

Hello @pront , I am new here. Can I take a look at this issue? And how long can I hold the issue? Thank you!

FarmersWrap avatar Aug 30 '25 21:08 FarmersWrap

Hello @pront , I am new here. Can I take a look at this issue? And how long can I hold the issue? Thank you!

Hi @FarmersWrap, you are more than welcome to work on this. Ideally, we want small PRs because they are easier to review.

pront avatar Sep 02 '25 21:09 pront

Hello @pront , I am new here. Can I take a look at this issue? And how long can I hold the issue? Thank you!

Hi @FarmersWrap, you are more than welcome to work on this. Ideally, we want small PRs because they are easier to review.

Awesome! That's great. Let me give it a try and split it into small PRs. Thanks!

FarmersWrap avatar Sep 03 '25 22:09 FarmersWrap

Hi guys, I am quite busy recently. I will release this issue to someone else. Thanks

FarmersWrap avatar Sep 08 '25 06:09 FarmersWrap

I've opened a first PR dealing with some of these in the vdev tool

divoxx avatar Oct 11 '25 22:10 divoxx

Hello, I am willing to work on this issue too. It is my first time working on an issue, so let me know if there's anything I should keep in mind.

sudo-lock-in avatar Jun 05 '26 14:06 sudo-lock-in

Hello, I am willing to work on this issue too. It is my first time working on an issue, so let me know if there's anything I should keep in mind.

Hi @sudo-lock-in and thank you for your interest in contributing. Everything should be documented here: https://github.com/vectordotdev/vector/blob/master/CONTRIBUTING.md

Let me know if something is unclear and we can take it from there.

pront avatar Jun 05 '26 21:06 pront

Hello, I am willing to work on this issue too. It is my first time working on an issue, so let me know if there's anything I should keep in mind.

Hi @sudo-lock-in and thank you for your interest in contributing. Everything should be documented here: https://github.com/vectordotdev/vector/blob/master/CONTRIBUTING.md

Let me know if something is unclear and we can take it from there.

Hi, thank you for the guidance. Due to a shift in my upcoming summer internship and project commitments, I won't have the availability to take on an issue anymore. Thanks again for your time!

sudo-lock-in avatar Jun 17 '26 21:06 sudo-lock-in

Hello! I noticed that this issue seemed to be available, so I went ahead and made a PR that removes the two blanket caste_possible_wrap and cast_sign_loss allows (in vector core). Please let me know if any changes are necessary. Thank you!

hjooh avatar Jul 05 '26 06:07 hjooh