Skip to content

Release sanka-sdk 0.2.9 with Goals - #23

Merged
haegwan merged 2 commits into
mainfrom
goals-methods
Oct 5, 2026
Merged

haegwan merged 2 commits into
mainfrom
goals-methods

Conversation

@sanka-change-bot

Copy link
Copy Markdown
Contributor

Summary

Adds the public Goals API (sanka-api#4663, merged as 8b702f69) to the Python SDK and bumps it to 0.2.9.

  • Generate public Goals methods: Fern 4.34.0 regenerated from the same curated spec as sanka-node#22. It produced goals/ (sync and async client, raw client, 7 enum types), 39 types/*.py and the goals registration in client.py and __init__.py. Regenerating from the unchanged spec first gave zero diff.
    • New methods are named from the operation IDs, like the talent resources: client.goals.list_public_goals, create_public_goal, list_public_goal_metrics, get_public_goal, update_public_goal, delete_public_goal (archives), set_public_goal_targets and get_public_goal_progress.
  • Release 0.2.9: pyproject.toml and uv.lock, one line each, as in Release sanka-sdk 0.2.8 with Deal pipeline create and update #22.
  • Checks: the CI unittest command passed on Python 3.14 and 3.10 (38 run, 1 real-CLI test skipped), and ruff check is clean. A throwaway smoke run of all 8 methods checked requests, bodies and parsing (not committed).
  • Not published here. After merge, publish by pushing tag v0.2.9 at the merge commit (publish.yml).

Line counts: test +0; generated and metadata only.

Audit

  • Requester: @haegwan
  • Authoring identity: Sanka Change Bot
  • Head SHA: ebe69e7b32417dfabf3a3a089f95ffb0bda0878d
  • Risk: low
  • Deploy mode: none
  • Production surface: PyPI sanka-sdk 0.2.9 (published separately by tag after merge)

Validation

  • uv lock --check -> passed
  • uv run --frozen -- python -W error -m unittest discover -s tests -v -> passed
  • uv build -> passed
  • uv run --frozen -- python -W error -m unittest discover -s tests -v: 38 run, OK (1 skipped); ruff check clean; 8-method smoke -> reported passed
  • No-local-check reason: N/A
  • Required GitHub checks must complete before landing.
  • Valid review findings must be addressed before landing.

Change Safety

  • Data or migration impact: None.
  • Rollback: Revert the merge commit; an already published 0.2.9 stays on PyPI (publish a fixed 0.2.10 instead).
  • Monitoring: Repository deployment helper smoke checks.

Approval And Deployment Authorization

  • The PR is ready for final human review; no intended code changes remain.
  • The listed head SHA is the exact revision being presented for approval.

By approving this PR, the reviewer authorizes merge of the exact approved revision. This repository has no production deployment in this flow. A later push requires a new approval.

Add goals.list_public_goals, goals.create_public_goal,
goals.list_public_goal_metrics, goals.get_public_goal,
goals.update_public_goal, goals.delete_public_goal,
goals.set_public_goal_targets and goals.get_public_goal_progress (GET and
POST /v2/public/goals, GET /v2/public/goals/metrics, GET, PATCH and DELETE
/v2/public/goals/{goal_id}, PUT /v2/public/goals/{goal_id}/targets and
GET /v2/public/goals/{goal_id}/progress), sync and async, from the shared SDK
input, which adds only these eight operations from sanka-api #4663.
Generated with scripts/generate_sdk.sh (Fern python SDK 4.34.0).
Bump the Python SDK from 0.2.8 to 0.2.9 so the sync and async
goals.list_public_goals, goals.create_public_goal,
goals.list_public_goal_metrics, goals.get_public_goal,
goals.update_public_goal, goals.delete_public_goal,
goals.set_public_goal_targets and goals.get_public_goal_progress methods can
be published to PyPI.

The version lives only in pyproject.toml; `uv lock` updated the project's
own uv.lock entry. The Fern-generated client carries no SDK version
string, so no generated code changes.
@haegwan
haegwan merged commit 7abeb52 into main Oct 5, 2026
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