Skip to content

chore(serverupdate): switch to new sdk structure#1486

Merged
rubenhoenle merged 1 commit into
mainfrom
chore/sdk-migration-serverupdate
Jul 22, 2026
Merged

chore(serverupdate): switch to new sdk structure#1486
rubenhoenle merged 1 commit into
mainfrom
chore/sdk-migration-serverupdate

Conversation

@rubenhoenle

Copy link
Copy Markdown
Member

Description

relates to STACKITCLI-354

Checklist

  • Issue was linked above
  • Code format was applied: make fmt
  • Examples were added / adjusted (see e.g. here)
  • Docs are up-to-date: make generate-docs (will be checked by CI)
  • Unit tests got implemented or updated
  • Unit tests are passing: make test (will be checked by CI)
  • No linter issues: make lint (will be checked by CI)

@rubenhoenle
rubenhoenle requested a review from a team as a code owner July 21, 2026 10:23
@rubenhoenle
rubenhoenle enabled auto-merge (squash) July 22, 2026 08:41
@rubenhoenle
rubenhoenle force-pushed the chore/sdk-migration-serverupdate branch from c3bc71c to 96f8c39 Compare July 22, 2026 08:48
@rubenhoenle
rubenhoenle merged commit 749be04 into main Jul 22, 2026
3 checks passed
@rubenhoenle
rubenhoenle deleted the chore/sdk-migration-serverupdate branch July 22, 2026 08:55
@github-actions

Copy link
Copy Markdown

Merging this branch changes the coverage (1 decrease, 2 increase)

Impacted Packages Coverage Δ 🤖
github.com/stackitcloud/stackit-cli/internal/cmd/server/os-update/create 44.44% (+2.58%) 👍
github.com/stackitcloud/stackit-cli/internal/cmd/server/os-update/describe 72.92% (+1.18%) 👍
github.com/stackitcloud/stackit-cli/internal/cmd/server/os-update/disable 36.84% (ø)
github.com/stackitcloud/stackit-cli/internal/cmd/server/os-update/enable 37.50% (ø)
github.com/stackitcloud/stackit-cli/internal/cmd/server/os-update/list 36.67% (ø)
github.com/stackitcloud/stackit-cli/internal/cmd/server/os-update/schedule/create 46.81% (ø)
github.com/stackitcloud/stackit-cli/internal/cmd/server/os-update/schedule/delete 46.88% (ø)
github.com/stackitcloud/stackit-cli/internal/cmd/server/os-update/schedule/describe 69.77% (ø)
github.com/stackitcloud/stackit-cli/internal/cmd/server/os-update/schedule/list 41.51% (ø)
github.com/stackitcloud/stackit-cli/internal/cmd/server/os-update/schedule/update 58.49% (ø)
github.com/stackitcloud/stackit-cli/internal/pkg/flags 62.31% (-0.96%) 👎
github.com/stackitcloud/stackit-cli/internal/pkg/services/serverosupdate/client 0.00% (ø)

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/stackitcloud/stackit-cli/internal/cmd/server/os-update/create/create.go 44.44% (+2.58%) 45 (+2) 20 (+2) 25 👍
github.com/stackitcloud/stackit-cli/internal/cmd/server/os-update/describe/describe.go 72.92% (+1.18%) 48 (+2) 35 (+2) 13 👍
github.com/stackitcloud/stackit-cli/internal/cmd/server/os-update/disable/disable.go 36.84% (ø) 38 14 24
github.com/stackitcloud/stackit-cli/internal/cmd/server/os-update/enable/enable.go 37.50% (ø) 40 15 25
github.com/stackitcloud/stackit-cli/internal/cmd/server/os-update/list/list.go 36.67% (ø) 60 22 38
github.com/stackitcloud/stackit-cli/internal/cmd/server/os-update/schedule/create/create.go 46.81% (ø) 47 22 25
github.com/stackitcloud/stackit-cli/internal/cmd/server/os-update/schedule/delete/delete.go 46.88% (ø) 32 15 17
github.com/stackitcloud/stackit-cli/internal/cmd/server/os-update/schedule/describe/describe.go 69.77% (ø) 43 30 13
github.com/stackitcloud/stackit-cli/internal/cmd/server/os-update/schedule/list/list.go 41.51% (ø) 53 22 31
github.com/stackitcloud/stackit-cli/internal/cmd/server/os-update/schedule/update/update.go 58.49% (ø) 53 31 22
github.com/stackitcloud/stackit-cli/internal/pkg/flags/flag_to_value.go 20.87% (-0.95%) 115 (+5) 24 91 (+5) 👎
github.com/stackitcloud/stackit-cli/internal/pkg/services/serverosupdate/client/client.go 0.00% (ø) 1 0 1

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

Changed unit test files

  • github.com/stackitcloud/stackit-cli/internal/cmd/server/os-update/create/create_test.go
  • github.com/stackitcloud/stackit-cli/internal/cmd/server/os-update/describe/describe_test.go
  • github.com/stackitcloud/stackit-cli/internal/cmd/server/os-update/disable/disable_test.go
  • github.com/stackitcloud/stackit-cli/internal/cmd/server/os-update/enable/enable_test.go
  • github.com/stackitcloud/stackit-cli/internal/cmd/server/os-update/list/list_test.go
  • github.com/stackitcloud/stackit-cli/internal/cmd/server/os-update/schedule/create/create_test.go
  • github.com/stackitcloud/stackit-cli/internal/cmd/server/os-update/schedule/delete/delete_test.go
  • github.com/stackitcloud/stackit-cli/internal/cmd/server/os-update/schedule/describe/describe_test.go
  • github.com/stackitcloud/stackit-cli/internal/cmd/server/os-update/schedule/list/list_test.go
  • github.com/stackitcloud/stackit-cli/internal/cmd/server/os-update/schedule/update/update_test.go

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