Skip to content

Conversation

@jkowall
Copy link
Contributor

@jkowall jkowall commented Jan 21, 2026

Fixes #7911. Renames variables to comply with linter rules as requested.

Renames variables to comply with linter rules.

Fixes jaegertracing#7911

Signed-off-by: Jonah Kowall <jkowall@kowall.net>
Copilot AI review requested due to automatic review settings January 21, 2026 19:13
@jkowall jkowall requested a review from a team as a code owner January 21, 2026 19:13
@jkowall jkowall requested a review from mahadzaryab1 January 21, 2026 19:13
@jkowall jkowall added the changelog:refactoring Internal code refactoring without functional changes label Jan 21, 2026
@yurishkuro
Copy link
Member

The linter message was about minDiration not start/end times.

And the linter is not failing on main / CI / for me locally.

@github-actions github-actions bot added the waiting-for-author PR is waiting for author to respond to maintainer's comments label Jan 21, 2026
@codecov
Copy link

codecov bot commented Jan 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.49%. Comparing base (682db2e) to head (a1748d2).
⚠️ Report is 16 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7913      +/-   ##
==========================================
- Coverage   95.50%   95.49%   -0.02%     
==========================================
  Files         312      312              
  Lines       16511    16511              
==========================================
- Hits        15769    15767       -2     
- Misses        579      580       +1     
- Partials      163      164       +1     
Flag Coverage Δ
badger_v1 9.19% <ø> (ø)
badger_v2 1.93% <ø> (ø)
cassandra-4.x-v1-manual 13.64% <ø> (ø)
cassandra-4.x-v2-auto 1.92% <ø> (ø)
cassandra-4.x-v2-manual 1.92% <ø> (ø)
cassandra-5.x-v1-manual 13.64% <ø> (ø)
cassandra-5.x-v2-auto 1.92% <ø> (ø)
cassandra-5.x-v2-manual 1.92% <ø> (ø)
clickhouse 1.97% <ø> (ø)
elasticsearch-6.x-v1 17.57% <ø> (ø)
elasticsearch-7.x-v1 17.60% <ø> (ø)
elasticsearch-8.x-v1 17.75% <ø> (ø)
elasticsearch-8.x-v2 1.93% <ø> (ø)
elasticsearch-9.x-v2 1.93% <ø> (ø)
grpc_v1 8.59% <ø> (ø)
grpc_v2 1.93% <ø> (ø)
kafka-3.x-v2 1.93% <ø> (ø)
memory_v2 1.93% <ø> (ø)
opensearch-1.x-v1 17.64% <ø> (ø)
opensearch-2.x-v1 17.64% <ø> (ø)
opensearch-2.x-v2 1.93% <ø> (ø)
opensearch-3.x-v2 1.93% <ø> (ø)
query 1.93% <ø> (ø)
tailsampling-processor 0.55% <ø> (ø)
unittests 94.16% <100.00%> (-0.02%) ⬇️

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.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a linter violation by renaming time-related variables to comply with the revive linter's time-naming rules. The variables are renamed to follow the min<PropertyName>/max<PropertyName> convention, which is already used elsewhere in the codebase.

Changes:

  • Renamed startTimeMin to minStartTime and startTimeMax to maxStartTime in the buildQuery function
  • Updated all references to use the new variable names

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link

Metrics Comparison Summary

Total changes across all snapshots: 0

Detailed changes per snapshot

summary_metrics_snapshot_cassandra

📊 Metrics Diff Summary

Total Changes: 0

  • 🆕 Added: 0 metrics
  • ❌ Removed: 0 metrics
  • 🔄 Modified: 0 metrics
  • 🚫 Excluded: 53 metrics

summary_metrics_snapshot_cassandra

📊 Metrics Diff Summary

Total Changes: 0

  • 🆕 Added: 0 metrics
  • ❌ Removed: 0 metrics
  • 🔄 Modified: 0 metrics
  • 🚫 Excluded: 106 metrics

summary_metrics_snapshot_cassandra

📊 Metrics Diff Summary

Total Changes: 0

  • 🆕 Added: 0 metrics
  • ❌ Removed: 0 metrics
  • 🔄 Modified: 0 metrics
  • 🚫 Excluded: 53 metrics

summary_metrics_snapshot_cassandra

📊 Metrics Diff Summary

Total Changes: 0

  • 🆕 Added: 0 metrics
  • ❌ Removed: 0 metrics
  • 🔄 Modified: 0 metrics
  • 🚫 Excluded: 53 metrics

➡️ View full metrics file

@yurishkuro yurishkuro merged commit 0c6cd40 into jaegertracing:main Jan 31, 2026
65 of 67 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog:refactoring Internal code refactoring without functional changes waiting-for-author PR is waiting for author to respond to maintainer's comments

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Linting fails on main: time-naming violation in search_traces.go

2 participants