Pin scclient to the variable/delete verbs, tidy, and vendor #1

Merged
geusebio merged 1 commit from fix/scclient-pin-and-vendor into main 2026-08-20 16:42:00 +00:00
Owner

The provider's first commit pinned scclient at c2999f98d576 ("managed-service verbs") — the commit before 30e90650744f ("Wrap the variable, application-delete and isolation-create verbs"). It calls Variable/Variables, CreateApplicationWithIsolation and DeleteApplication, all introduced by the latter, so it never compiled against its own pin. It also shipped no go.sum and no vendor/, so it could not build reproducibly.

What

  • Bump the scclient require to v0.0.0-20260819205411-30e90650744f.
  • go mod tidy: adds the missing indirect requires and raises the go directive to 1.25.8 and terraform-plugin-go to v0.31.0 — the minimums the plugin-framework/plugin-testing graph requires; the original go.mod was never tidied.
  • Commit go.sum and a vendor/ tree, matching agent/'s vendored-scclient model (no replace directive). Module hashes are content-derived, so go.sum matches the registry once 30e90650744f is released.

Verification

Offline, with the CI invocation (-mod=vendor GOWORK=off GOPROXY=off): build, unit + acceptance tests, coverage gate 72.8% (on floor), go vet, and hack/lint.sh (golangci-lint v2.6.1) 0 issues — all green.

Follow-up

30e90650744f is currently only on scclient's feature/terraform-variable-wrappers; merging that to scclient main (and tagging) is what lets a from-scratch, non-vendored build resolve the pin. The vendored tree here is self-contained meanwhile.

The provider's first commit pinned scclient at `c2999f98d576` ("managed-service verbs") — the commit *before* `30e90650744f` ("Wrap the variable, application-delete and isolation-create verbs"). It calls `Variable`/`Variables`, `CreateApplicationWithIsolation` and `DeleteApplication`, all introduced by the latter, so it never compiled against its own pin. It also shipped no `go.sum` and no `vendor/`, so it could not build reproducibly. ## What - Bump the scclient require to `v0.0.0-20260819205411-30e90650744f`. - `go mod tidy`: adds the missing indirect requires and raises the go directive to 1.25.8 and `terraform-plugin-go` to v0.31.0 — the minimums the plugin-framework/plugin-testing graph requires; the original go.mod was never tidied. - Commit `go.sum` and a `vendor/` tree, matching `agent/`'s vendored-scclient model (no replace directive). Module hashes are content-derived, so `go.sum` matches the registry once `30e90650744f` is released. ## Verification Offline, with the CI invocation (`-mod=vendor GOWORK=off GOPROXY=off`): build, unit + acceptance tests, coverage gate **72.8%** (on floor), `go vet`, and `hack/lint.sh` (golangci-lint v2.6.1) **0 issues** — all green. ## Follow-up `30e90650744f` is currently only on scclient's `feature/terraform-variable-wrappers`; merging that to scclient main (and tagging) is what lets a from-scratch, non-vendored build resolve the pin. The vendored tree here is self-contained meanwhile.
The provider's first commit pinned scclient at c2999f98d576 ("managed-service
verbs"), the commit before 30e90650744f ("Wrap the variable, application-delete
and isolation-create verbs"). It calls Variable/Variables,
CreateApplicationWithIsolation and DeleteApplication — all introduced by the
latter — so it never compiled against its own pin. It also shipped no go.sum and
no vendor tree, so it could not build reproducibly.

- Bump the scclient require to v0.0.0-20260819205411-30e90650744f.
- go mod tidy: adds the missing indirect requires and raises the go directive to
  1.25.8 and terraform-plugin-go to v0.31.0 — the minimums the plugin-framework
  and plugin-testing graph actually requires; the original go.mod was never tidied.
- Commit go.sum and a vendor/ tree, matching agent/'s vendored-scclient CI model
  (no replace directive). Module hashes are content-derived, so go.sum matches the
  registry once 30e90650744f is released.

Verified offline with the CI invocation (-mod=vendor GOWORK=off GOPROXY=off):
build, unit + acceptance tests, coverage gate 72.8% (on floor), go vet, and
hack/lint.sh (golangci-lint v2.6.1, 0 issues) all green.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Grey.ooo/someones.computer_terraform!1
No description provided.