Skip to content

Conversation

@letv1nnn
Copy link
Contributor

@letv1nnn letv1nnn commented Nov 2, 2025

Description

I removed unused code from linux_util, specifically PrevTCPSockStats. I also added some entries to gitignore including test-summary(generated after make test) and ignoring logs.

Related Issue

This pr related to #1066

Checklist

  • I have read the contributing documentation.
  • I signed and signed-off the commits (git commit -S -s ...). See this documentation on signing commits.
  • I have correctly attributed the author(s) of the code.
  • I have tested the changes locally.
  • I have followed the project's style guidelines.
  • I have updated the documentation, if necessary.
  • I have added tests, if applicable.

Screenshots (if applicable) or Testing Completed

I've provided two screenshots, one from make test, another is just linting.
testing
image

Linting
image

Additional Notes

Add any additional notes or context about the pull request here.


Please refer to the CONTRIBUTING.md file for more information on how to contribute to this project.

@letv1nnn letv1nnn requested a review from a team as a code owner November 2, 2025 22:41
@letv1nnn
Copy link
Contributor Author

letv1nnn commented Nov 2, 2025

@microsoft-github-policy-service agree

@letv1nnn letv1nnn force-pushed the fix/remove-unused-prevtcpsockstats branch from 2e51689 to 18d903b Compare November 17, 2025 16:51
Copy link
Contributor

@alexcastilio alexcastilio left a comment

Choose a reason for hiding this comment

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

I see that other commits were added to this PR. Please remove them as they are adding changes that are not relevant here.

@letv1nnn letv1nnn force-pushed the fix/remove-unused-prevtcpsockstats branch from 465c078 to f9b6ec4 Compare November 21, 2025 18:12
@letv1nnn letv1nnn force-pushed the fix/remove-unused-prevtcpsockstats branch from f9b6ec4 to 04fb398 Compare November 21, 2025 18:37
@letv1nnn letv1nnn force-pushed the fix/remove-unused-prevtcpsockstats branch from 36642c2 to 77d955a Compare November 25, 2025 23:22
Copy link
Contributor

@alexcastilio alexcastilio left a comment

Choose a reason for hiding this comment

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

LGTM

@alexcastilio alexcastilio added this pull request to the merge queue Dec 2, 2025
Merged via the queue into microsoft:main with commit 41cb718 Dec 2, 2025
31 checks passed
agrawaliti pushed a commit to agrawaliti/retina that referenced this pull request Dec 3, 2025
…t#1924)

# Description

I removed unused code from linux_util, specifically PrevTCPSockStats. I
also added some entries to gitignore including test-summary(generated
after make test) and ignoring logs.

## Related Issue

This pr related to microsoft#1066 

## Checklist

- [x] I have read the [contributing
documentation](https://retina.sh/docs/Contributing/overview).
- [x] I signed and signed-off the commits (`git commit -S -s ...`). See
[this
documentation](https://docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verification)
on signing commits.
- [x] I have correctly attributed the author(s) of the code.
- [x] I have tested the changes locally.
- [x] I have followed the project's style guidelines.
- [x] I have updated the documentation, if necessary.
- [x] I have added tests, if applicable.

## Screenshots (if applicable) or Testing Completed
I've provided two screenshots, one from make test, another is just
linting.
testing
<img width="1276" height="743" alt="image"
src="https://github.com/user-attachments/assets/4a32cf70-fdd7-4bf8-b2c9-15a3f736421e"
/>

Linting
<img width="1280" height="745" alt="image"
src="https://github.com/user-attachments/assets/85cce4db-4824-4eb8-861e-7d1ae24787b7"
/>


## Additional Notes

Add any additional notes or context about the pull request here.

---

Please refer to the [CONTRIBUTING.md](../CONTRIBUTING.md) file for more
information on how to contribute to this project.

Co-authored-by: Alex Castilio <[email protected]>
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.

remove unused code after removing labels from linux_util and dns metric labels.

2 participants