Skip to content

Cdn resource edit refactor#77

Open
tomachine wants to merge 1 commit intomasterfrom
cdn-resource-edit-refactor
Open

Cdn resource edit refactor#77
tomachine wants to merge 1 commit intomasterfrom
cdn-resource-edit-refactor

Conversation

@tomachine
Copy link
Collaborator

No description provided.

@tomachine tomachine force-pushed the cdn-resource-edit-refactor branch from 1655f80 to 886c6a4 Compare January 25, 2026 16:52
@tomachine tomachine marked this pull request as ready for review February 3, 2026 12:00
@fialamarek fialamarek requested a review from Copilot February 4, 2026 14:36
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 refactors CDN resource editing by consolidating request building logic and updating various project dependencies and tooling configurations.

Changes:

  • Refactored CDN resource creation to extract request building into a separate createAddRequest method
  • Updated Go version to 1.25.6 and refreshed dependency versions
  • Migrated golangci-lint configuration to v2 format with updated linter settings

Reviewed changes

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

Show a summary per file
File Description
internal/util/api.go Added blank line for code formatting
internal/provider/ssl/all_test.go Pre-allocated test check function slice with capacity
internal/provider/provider.go Refactored timeout handling to use intermediate variable
internal/provider/cdn/cdn.go Extracted CDN add request building into separate method and simplified edit-after-creation flow
internal/provider/cdn/all_test.go Pre-allocated test check function slice with capacity
go.mod Updated Go version and dependency versions
Makefile Updated golangci-lint import path to v2
.golangci.yml Migrated to golangci-lint v2 configuration format
.github/workflows/test.yml Updated GitHub Actions versions
.github/workflows/release.yml Updated GitHub Actions checkout version

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

@tomachine tomachine requested a review from setnicka February 12, 2026 12:30
@tomachine tomachine force-pushed the cdn-resource-edit-refactor branch from c8350e1 to a2026b5 Compare February 12, 2026 13:43
Copy link

@setnicka setnicka left a comment

Choose a reason for hiding this comment

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

Tested on real account, both creating and editing of a resource (with conditional features) work as expected.

Code checked roughly, in the overall view the changes makes sense.

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.

2 participants