Merged
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #5263 +/- ##
==========================================
- Coverage 57.07% 57.03% -0.04%
==========================================
Files 313 313
Lines 70088 70193 +105
==========================================
+ Hits 40002 40037 +35
- Misses 28593 28663 +70
Partials 1493 1493 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
This PR addresses linting violations by reformatting code to comply with Go linting standards. The changes focus on line length limits and slice initialization patterns.
Key changes:
- Breaking long lines into multiple lines with proper indentation for function calls, format strings, and boolean expressions
- Replacing
[]Type(nil)withmake([]Type, 0, capacity)for slice initialization to preallocate capacity - Fixing struct tag formatting by removing extra whitespace
Reviewed changes
Copilot reviewed 25 out of 26 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| internal/qa/ignore.go | Wrapped long boolean expressions across multiple lines |
| internal/namespaces/registry/v1/custom_docker_helper.go | Wrapped long string arguments for PrintlnWithoutIndent calls |
| internal/namespaces/rdb/v1/custom_acl.go | Changed slice initialization to use make with capacity |
| internal/namespaces/object/v1/s3_helpers.go | Changed slice initialization to use make with capacity |
| internal/namespaces/login/login.go | Wrapped long warning message across multiple lines |
| internal/namespaces/lb/v1/custom_backend.go | Wrapped multiple long fmt.Sprintf and error message calls |
| internal/namespaces/k8s/v1/types/types.go | Removed extra whitespace from struct tag formatting |
| internal/namespaces/k8s/v1/custom_pool.go | Combined slice initialization refactoring with line wrapping |
| internal/namespaces/instance/v1/custom_ssh_key.go | Wrapped interactive.Println call across multiple lines |
| internal/namespaces/instance/v1/custom_ssh_config.go | Wrapped logger.Warningf call across multiple lines |
| internal/namespaces/instance/v1/custom_server_create_builder.go | Wrapped long function calls across multiple lines |
| internal/namespaces/instance/v1/custom_server_action.go | Combined slice initialization with line wrapping for error messages |
| internal/namespaces/instance/v1/custom_server.go | Changed slice initialization to use make with capacity |
| internal/namespaces/instance/v1/custom_image.go | Changed slice initialization and reordered volume construction logic |
| internal/namespaces/function/v1beta1/custom_deploy.go | Wrapped tasks.Add call across multiple lines |
| internal/namespaces/config/commands.go | Changed slice initialization to use make with capacity |
| internal/args/args.go | Changed slice initialization to use make with capacity |
| core/validate_test.go | Wrapped assert.EqualError calls across multiple lines |
| core/reflect_test.go | Wrapped t.Errorf calls across multiple lines |
| core/reflect.go | Wrapped reflect.StructTag construction across multiple lines |
| core/human/marshal.go | Changed slice initialization to use make with capacity |
| core/example.go | Refactored slice construction using nested append pattern |
| core/default.go | Changed slice initialization to use make with capacity |
| core/command_interceptor.go | Wrapped multiple fmt.Sprintf and struct initialization calls |
| core/cobra_utils.go | Wrapped error message construction across multiple lines |
| core/arg_specs.go | Changed slice initialization to use make with capacity |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
estellesoulard
approved these changes
Jan 8, 2026
jremy42
pushed a commit
that referenced
this pull request
Feb 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Community Note
Relates OR Closes #0000
Release note for CHANGELOG: