tasker is a durable http task queue service

Add Go SDK with full end-to-end coverage #6

Merged kenneth.nym.sh
targeting main from t3/sketch-go-sdk-shape
Merged opened by and assigned to kenneth.nym.sh
targeting main from t3/sketch-go-sdk-shape

Adds a standalone, dependency-free Go SDK at nym.sh/tasker for creating, fetching, and waiting for tasks, plus full schedule CRUD and pagination. The client supports contexts, Basic Auth, custom HTTP clients, and structured tasker.Error responses with server error codes and errors.Is categories.

The real-server E2E suite exercises every SDK operation, task delivery and retries, terminal failure, JSON payloads, schedule pause/resume and cron delivery, authentication, error responses, and cancellation. SDK tests also cover transport configuration, redirects, encoding, timeout, and concurrency. Both suites are wired into CI, and Docker builds support the nested module.

Includes usage documentation and vanity import metadata for nym.sh. Publishing the domain metadata and an SDK version tag remains a separate release step.

Validation:

  • nix develop -c go test ./... -count=1 -timeout=5m
  • nix develop -c go -C sdk/go test ./... -race -count=1 -timeout=2m

Based on the current origin/main, including the merged server error-code changes.

Commits 0