Skip to content

fix: bump SDK v0.16.2 (empty balancer/ssl list) + tolerate isCreateEnable - #79

Merged
sanchpet merged 1 commit into
mainfrom
fix/balancer-config-tolerant-sdk-bump
Jul 14, 2026
Merged

fix: bump SDK v0.16.2 (empty balancer/ssl list) + tolerate isCreateEnable#79
sanchpet merged 1 commit into
mainfrom
fix/balancer-config-tolerant-sdk-bump

Conversation

@sanchpet

Copy link
Copy Markdown
Owner

What

  • Bumps sweb-go-sdk to v0.16.2, which fixes the empty balancer list / ssl list decode — the released CLI (v0.18.0) errored on an account with no balancers or cloud certs.
  • Makes sweb balancer config tolerant of isCreateEnable failing: it answers -32602 for some account types (the OpenRPC spec documents it param-less, but the live API rejects every param shape), so the whole command failed. The plans/protocols catalog is still useful, so create-availability is now reported as unknown on error instead of aborting — the same per-call tolerance as domains price.

Why

Found by dogfooding a sweep of the live account: balancer list, balancer config, and ssl list all errored on the released CLI. The first two/last are now clean.

Verification

Verified live against the account (empty balancers/certs): balancer list and ssl list render, balancer config shows the catalog with CREATE AVAILABLE unknown. mise run ci green.

…cer config

v0.16.2 fixes the empty balancer/cloud-ssl list decode (dogfooding an account with
no balancers or certs), so 'sweb balancer list' and 'sweb ssl list' work again.

'sweb balancer config' also failed entirely because isCreateEnable answers -32602
for some account types (the spec documents it param-less, but the live API rejects
every param shape). The catalog is still useful, so report create-availability as
'unknown' on error instead of failing — same tolerance as 'domains price'.

Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: sanchpet <petrov@sanch.pet>
@sanchpet
sanchpet merged commit 16c93a6 into main Jul 14, 2026
2 checks passed
@sanchpet
sanchpet deleted the fix/balancer-config-tolerant-sdk-bump branch July 14, 2026 10:40
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