Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] Fix incorrect usage of iter package in aggregator #6403

Merged
merged 3 commits into from
Dec 25, 2024

Conversation

mahadzaryab1
Copy link
Collaborator

Description of the changes

How was this change tested?

  • CI

Checklist

Signed-off-by: Mahad Zaryab <mahadzaryab1@gmail.com>
Signed-off-by: Mahad Zaryab <mahadzaryab1@gmail.com>
Copy link

codecov bot commented Dec 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.25%. Comparing base (ba6228f) to head (95abcef).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6403      +/-   ##
==========================================
- Coverage   96.27%   96.25%   -0.03%     
==========================================
  Files         367      367              
  Lines       20978    20978              
==========================================
- Hits        20197    20192       -5     
- Misses        597      601       +4     
- Partials      184      185       +1     
Flag Coverage Δ
badger_v1 8.94% <ø> (ø)
badger_v2 1.83% <ø> (ø)
cassandra-4.x-v1-manual 14.87% <ø> (ø)
cassandra-4.x-v2-auto 1.77% <ø> (ø)
cassandra-4.x-v2-manual 1.77% <ø> (ø)
cassandra-5.x-v1-manual 14.87% <ø> (ø)
cassandra-5.x-v2-auto 1.77% <ø> (ø)
cassandra-5.x-v2-manual 1.77% <ø> (ø)
elasticsearch-6.x-v1 18.55% <ø> (-0.01%) ⬇️
elasticsearch-7.x-v1 18.62% <ø> (-0.01%) ⬇️
elasticsearch-8.x-v1 18.79% <ø> (ø)
elasticsearch-8.x-v2 1.83% <ø> (ø)
grpc_v1 10.61% <ø> (ø)
grpc_v2 8.09% <ø> (ø)
kafka-v1 9.30% <ø> (ø)
kafka-v2 1.83% <ø> (ø)
memory_v2 1.83% <ø> (ø)
opensearch-1.x-v1 18.67% <ø> (-0.01%) ⬇️
opensearch-2.x-v1 18.67% <ø> (ø)
opensearch-2.x-v2 1.83% <ø> (ø)
tailsampling-processor 0.46% <ø> (ø)
unittests 95.11% <ø> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Mahad Zaryab <mahadzaryab1@gmail.com>
# TODO: remove once we have upgraded to Go 1.23
disallow-iter:
deny:
- pkg: iter
Copy link
Member

Choose a reason for hiding this comment

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

this is very odd - our go.mod says

go 1.22.7

so it should not have compiled w/ the std iter package

@mahadzaryab1 mahadzaryab1 merged commit 1677650 into jaegertracing:main Dec 25, 2024
54 checks passed
Manik2708 pushed a commit to Manik2708/jaeger that referenced this pull request Jan 5, 2025
…g#6403)

## Description of the changes
- jaegertracing#6401 was accidentally
using the official `iter` package instead of the internal one. This PR
fixes that usage.
- Added a linter rule so we don't accidentally use the official package
again until we upgrade to Go 1.23

## How was this change tested?
- CI

## Checklist
- [x] I have read
https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md
- [x] I have signed all commits
- [x] I have added unit tests for the new functionality
- [x] I have run lint and test steps successfully
  - for `jaeger`: `make lint test`
  - for `jaeger-ui`: `npm run lint` and `npm run test`

---------

Signed-off-by: Mahad Zaryab <mahadzaryab1@gmail.com>
@mahadzaryab1 mahadzaryab1 deleted the fix-package branch January 6, 2025 00:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants