Skip to content

Sawra/sdk go fix#103

Merged
sawradip merged 4 commits into
mainfrom
sawra/sdk_go_fix
Nov 19, 2025
Merged

Sawra/sdk go fix#103
sawradip merged 4 commits into
mainfrom
sawra/sdk_go_fix

Conversation

@sawradip
Copy link
Copy Markdown
Contributor

@sawradip sawradip commented Nov 19, 2025

Summary by CodeRabbit

  • Chores
    • Version 0.1.40 released with coordinated updates across all SDKs (Python, Go, Rust, TypeScript).
    • Release workflows and deployment scripts optimized for improved operational efficiency and reliability.
    • Package publishing configuration updated to streamline distribution processes.

- Modified the release script to correctly handle the version.go file path and update the version constant based on the operating system.
- Adjusted the go-release workflow to reflect the new path for version.go, ensuring accurate version extraction.
- Fixed indentation in the release script for better readability.
- Removed unnecessary 'id-token: write' permission from create-release.yml for a cleaner workflow.
- Added 'attestations: false' to python-release.yml to streamline the release process.
- Updated all SDK versions to 0.1.40
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Nov 19, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

Version release bumping from 0.1.39 to 0.1.40 across Python, Go, Rust, and TypeScript SDKs. Includes updates to CI/CD workflows (permission removal, attestation settings), restructuring of Go version file path in release tooling, and changelog documentation.

Changes

Cohort / File(s) Summary
Version Bumps
pyproject.toml, runagent/__init__.py, runagent/__version__.py, runagent-go/version.go, runagent-rust/runagent/Cargo.toml, runagent-ts/package.json
Updated version constant/field from 0.1.39 to 0.1.40 across Python, Go, Rust, and TypeScript package configurations.
Release Workflows
.github/workflows/create-release.yml, .github/workflows/go-release.yml, .github/workflows/python-release.yml
Removed id-token: write permissions from detect-release and publish-python jobs; updated Go version file path from runagent/version.go to version.go; disabled attestation generation in PyPI publish step.
Release Tooling
release.sh
Restructured update_go_version function: moved version file from runagent-go/runagent/version.go to runagent-go/version.go; added file creation logic with default header if missing; updated module path in go.mod; adjusted sed commands for OS compatibility.
Documentation
CHANGELOG.md
Updated version to 0.1.40; added Bug Fixes, Miscellaneous Tasks, and Refactor sections documenting Go SDK version handling, workflow cleanup, and whitespace improvements.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

  • release.sh changes: Verify the update_go_version function logic for file creation, version extraction, and OS-specific sed commands; confirm module path updates are correct.
  • Workflow permission changes: Confirm id-token: write removal does not break authentication; validate attestation disabling in Python publish step.
  • Version file relocation: Ensure all references to Go version file path are consistent across workflows and scripts.

Possibly related PRs

Poem

🐰 From point-three-nine we hop away,
To point-four-oh this blessed day!
The workflows clean, permissions tight,
Across all SDKs, a version flight.
Go, Rust, TypeScript, Python too—
Each package bounces fresh and new! 🚀

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch sawra/sdk_go_fix

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between ccbe61e and f8ae7f8.

⛔ Files ignored due to path filters (1)
  • runagent-ts/package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (11)
  • .github/workflows/create-release.yml (0 hunks)
  • .github/workflows/go-release.yml (1 hunks)
  • .github/workflows/python-release.yml (1 hunks)
  • CHANGELOG.md (1 hunks)
  • pyproject.toml (3 hunks)
  • release.sh (1 hunks)
  • runagent-go/version.go (1 hunks)
  • runagent-rust/runagent/Cargo.toml (1 hunks)
  • runagent-ts/package.json (1 hunks)
  • runagent/__init__.py (1 hunks)
  • runagent/__version__.py (1 hunks)

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@sawradip sawradip merged commit 3ed58c5 into main Nov 19, 2025
1 of 2 checks passed
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