release: 0.10.4#338
Merged
stainless-app[bot] merged 5 commits intomainfrom May 4, 2026
Merged
Conversation
add service account id as option to register agentex agent
Retroactive conventional commit for PR #332, which was merged without a conventional commit message. Documents the change for release-please changelog generation. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
723e9e4 to
3f8256a
Compare
3f8256a to
9ed75a9
Compare
Contributor
Author
Release version edited manuallyThe Pull Request version has been manually set to If you instead want to use the version number |
9ed75a9 to
3f24d83
Compare
declan-scale
approved these changes
May 4, 2026
Contributor
Author
|
🤖 Release is at https://github.com/scaleapi/scale-agentex-python/releases/tag/v0.10.4 🌻 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automated Release PR
0.10.4 (2026-05-04)
Full Changelog: v0.10.3...v0.10.4
Features
This pull request is managed by Stainless's GitHub App.
The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.
For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.
🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions
Greptile Summary
This PR bumps the SDK version from
0.10.3to0.10.4and introduces aservice_account_idalternative touser_idin the auth principal configuration. The validation logic invalidation.pyis updated to enforce an XOR constraint (exactly one of the two fields must be set), the docstring inenvironment_config.pyis updated with an example, and a new test file covers all four principal-shape cases.Confidence Score: 5/5
Safe to merge — changes are well-scoped, correctly implemented, and covered by tests.
The logic change is simple, correct, and backward-compatible (existing user_id-only configs continue to work). All four principal-shape cases are tested. No security concerns or edge cases left unhandled.
No files require special attention.
Important Files Changed
user_idorservice_account_id(XOR) in the auth principal; error messages and helper tips updated accordinglyservice_account_idoption with a YAML example; follows the existing docstring styleFlowchart
%%{init: {'theme': 'neutral'}}%% flowchart TD A[Auth Principal dict] --> B{user_id present?} A --> C{service_account_id present?} B -- No --> D{service_account_id present?} D -- No --> E[❌ ValueError: must contain one of user_id or service_account_id] D -- Yes --> F[✅ Valid: service_account_id-only principal] B -- Yes --> G{service_account_id also present?} G -- Yes --> H[❌ ValueError: must not contain both] G -- No --> I[✅ Valid: user_id-only principal] I --> J{user_id matches env indicator?} J -- No --> K[⚠️ logger.warning: consider including env name] J -- Yes --> L[Validation passed] K --> LReviews (3): Last reviewed commit: "release: 0.10.4" | Re-trigger Greptile