Skip to content

Conversation

@julio-lopez
Copy link
Collaborator

No description provided.

@codecov
Copy link

codecov bot commented Oct 29, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.01%. Comparing base (cb455c6) to head (fd05a21).
⚠️ Report is 715 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4929      +/-   ##
==========================================
+ Coverage   75.86%   78.01%   +2.15%     
==========================================
  Files         470      540      +70     
  Lines       37301    31271    -6030     
==========================================
- Hits        28299    24397    -3902     
+ Misses       7071     4832    -2239     
- Partials     1931     2042     +111     

☔ 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.

@julio-lopez julio-lopez marked this pull request as ready for review October 29, 2025 19:33
Copilot AI review requested due to automatic review settings October 29, 2025 19:33
Copy link

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 adds linter configuration for gofumpt with extra rules enabled, which enforces stricter Go formatting standards. The changes apply gofumpt's formatting rules across the codebase, primarily simplifying type parameter declarations by removing redundant type repetitions.

Key changes:

  • Added gofumpt linter configuration with extra-rules: true in .golangci.yml
  • Simplified function signatures and type parameter declarations where consecutive parameters share the same type
  • Applied formatting to function parameters, generic type constraints, and anonymous function signatures

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
.golangci.yml Added gofumpt linter configuration with extra-rules enabled
snapshot/upload/upload_progress.go Simplified interface method signature with consecutive int64 parameters
repo/blob/sharded/sharded.go Simplified anonymous function signature with consecutive string parameters
internal/stats/count_map.go Simplified anonymous function signature with consecutive any parameters
internal/metrics/metrics_timeseries.go Simplified generic interface method signature with repeated type parameter
internal/contentlog/contentlog_logger.go Simplified generic type constraints across multiple logging functions
cli/command_benchmark.go Simplified generic type parameter declaration

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

@julio-lopez julio-lopez merged commit 9cdba57 into kopia:master Oct 29, 2025
27 checks passed
@julio-lopez julio-lopez deleted the chore/gofumpt-config branch October 29, 2025 19:33
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.

1 participant