Skip to content

Conversation

sAchin-680
Copy link
Contributor

Which problem is this PR solving?

Description of the changes

This PR moves the cassandra package from pkg/ to internal/, aligning with Jaeger's internal package structure. The following subpackages and files have been moved:

  • pkg/cassandra/config → internal/cassandra/config
  • pkg/cassandra/gocql → internal/cassandra/gocql
  • pkg/cassandra/metrics → internal/cassandra/metrics
  • pkg/cassandra/mocks → internal/cassandra/mocks
  • pkg/cassandra/empty_test.go → internal/cassandra/empty_test.go
  • pkg/cassandra/session.go → internal/cassandra/session.go

How was this change tested?

Checklist

Signed-off-by: sAchin-680 <mrmister680@gmail.com>
Copy link
Member

@yurishkuro yurishkuro left a comment

Choose a reason for hiding this comment

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

changes files don't match description

Signed-off-by: SACHIN KUMAR  <118827645+sAchin-680@users.noreply.github.com>
Copy link

codecov bot commented Mar 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 50.64%. Comparing base (d4652e4) to head (ca5dd9a).
Report is 21 commits behind head on main.

❌ Your project status has failed because the head coverage (50.64%) is below the target coverage (95.00%). You can increase the head coverage or adjust the target coverage.

❗ There is a different number of reports uploaded between BASE (d4652e4) and HEAD (ca5dd9a). Click for more details.

HEAD has 22 uploads less than BASE
Flag BASE (d4652e4) HEAD (ca5dd9a)
badger_v1 2 1
grpc_v1 2 1
kafka-3.x-v1 2 1
badger_v2 2 1
grpc_v2 2 1
tailsampling-processor 2 1
memory_v2 2 1
kafka-3.x-v2 2 1
unittests 2 0
cassandra-4.x-v1-manual 2 1
elasticsearch-8.x-v1 2 1
cassandra-5.x-v1-manual 2 1
elasticsearch-8.x-v2 2 1
elasticsearch-7.x-v1 2 1
elasticsearch-6.x-v1 2 1
opensearch-1.x-v1 2 1
opensearch-2.x-v2 2 1
cassandra-4.x-v2-auto 2 1
cassandra-5.x-v2-auto 2 1
cassandra-4.x-v2-manual 2 1
cassandra-5.x-v2-manual 2 1
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #6914       +/-   ##
===========================================
- Coverage   96.24%   50.64%   -45.60%     
===========================================
  Files         342      178      -164     
  Lines       20272    10463     -9809     
===========================================
- Hits        19510     5299    -14211     
- Misses        576     4769     +4193     
- Partials      186      395      +209     
Flag Coverage Δ
badger_v1 10.21% <ø> (ø)
badger_v2 2.12% <ø> (ø)
cassandra-4.x-v1-manual 15.36% <ø> (ø)
cassandra-4.x-v2-auto 2.11% <ø> (ø)
cassandra-4.x-v2-manual 2.11% <ø> (ø)
cassandra-5.x-v1-manual 15.36% <ø> (ø)
cassandra-5.x-v2-auto 2.11% <ø> (ø)
cassandra-5.x-v2-manual 2.11% <ø> (ø)
elasticsearch-6.x-v1 20.12% <ø> (ø)
elasticsearch-7.x-v1 20.21% <ø> (ø)
elasticsearch-8.x-v1 20.38% <ø> (ø)
elasticsearch-8.x-v2 2.12% <ø> (ø)
grpc_v1 11.28% <ø> (ø)
grpc_v2 8.25% <ø> (ø)
kafka-3.x-v1 10.51% <ø> (ø)
kafka-3.x-v2 2.12% <ø> (ø)
memory_v2 2.12% <ø> (ø)
opensearch-1.x-v1 20.26% <ø> (ø)
opensearch-2.x-v1 20.26% <ø> (ø)
opensearch-2.x-v2 2.12% <ø> (ø)
tailsampling-processor 0.57% <ø> (ø)
unittests ?

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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

github-merge-queue bot pushed a commit that referenced this pull request Apr 2, 2025
## Which problem is this PR solving?
- part of #6869
- closes #6914 (replacement)

## Description of the changes


- moved `pkg/cassandra` to `internal/storage/cassandra` 
- users of `pkg/scassandra` are `internal/storage/v1/cassandra`,
`internal/storage/distributedlock/cassandra`,
`cmd/jaeger/internal/extension/jaegerstorage`.

## How was this change tested?
- changes have passed all tests of the project 

## 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: pipiland <nguyen.t.dang.minh@gmail.com>
amilbcahat pushed a commit to amilbcahat/jaeger that referenced this pull request May 4, 2025
## Which problem is this PR solving?
- part of jaegertracing#6869
- closes jaegertracing#6914 (replacement)

## Description of the changes


- moved `pkg/cassandra` to `internal/storage/cassandra` 
- users of `pkg/scassandra` are `internal/storage/v1/cassandra`,
`internal/storage/distributedlock/cassandra`,
`cmd/jaeger/internal/extension/jaegerstorage`.

## How was this change tested?
- changes have passed all tests of the project 

## 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: pipiland <nguyen.t.dang.minh@gmail.com>
amilbcahat pushed a commit to amilbcahat/jaeger that referenced this pull request May 4, 2025
## Which problem is this PR solving?
- part of jaegertracing#6869
- closes jaegertracing#6914 (replacement)

## Description of the changes

- moved `pkg/cassandra` to `internal/storage/cassandra`
- users of `pkg/scassandra` are `internal/storage/v1/cassandra`,
`internal/storage/distributedlock/cassandra`,
`cmd/jaeger/internal/extension/jaegerstorage`.

## How was this change tested?
- changes have passed all tests of the project

## 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: pipiland <nguyen.t.dang.minh@gmail.com>
Signed-off-by: amol-verma-allen <amol.verma@allen.in>
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