chore: release main - #520
Open
stainless-app[bot] wants to merge 6 commits into
Open
stainless-app[bot] wants to merge 6 commits into
stainless-app[bot] wants to merge 6 commits into
Conversation
stainless-app
Bot
force-pushed
the
release-please--branches--main--changes--next
branch
from
September 15, 2026 20:55
4f49802 to
6efe231
Compare
| enable() | ||
|
|
||
|
|
||
| _enable_from_environment() |
There was a problem hiding this comment.
_enable_from_environment() runs once when code_revision is imported. Normal worker startup imports register_agent before EnvironmentVariables.refresh() loads supported .env and .env.local files. A valid AGENT_COMMIT_SHA from those files reaches registration but never enables tracing. Run the hook after refresh, or read the value lazily.
Knowledge Base Used:
Prompt To Fix With AI
This is a comment left during a code review.
Path: src/agentex/lib/core/tracing/code_revision.py
Line: 124
Comment:
`_enable_from_environment()` runs once when `code_revision` is imported. Normal worker startup imports `register_agent` before `EnvironmentVariables.refresh()` loads supported `.env` and `.env.local` files. A valid `AGENT_COMMIT_SHA` from those files reaches registration but never enables tracing. Run the hook after refresh, or read the value lazily.
**Knowledge Base Used:**
- [Observability](https://app.greptile.com/scale-ai/-/custom-context/knowledge-base/scaleapi/scale-agentex-python/-/docs/observability.md)
- [Agent runtime](https://app.greptile.com/scale-ai/-/custom-context/knowledge-base/scaleapi/scale-agentex-python/-/docs/agent-runtime.md)
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
stainless-app
Bot
force-pushed
the
release-please--branches--main--changes--next
branch
from
September 15, 2026 22:21
6efe231 to
8b60a57
Compare
stephen-wang24
marked this pull request as draft
September 15, 2026 22:29
This was referenced Sep 15, 2026
stainless-app
Bot
force-pushed
the
release-please--branches--main--changes--next
branch
from
September 16, 2026 04:11
8b60a57 to
ba336f3
Compare
stephen-wang24
marked this pull request as ready for review
September 16, 2026 04:13
…oys (#504) Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
stainless-app
Bot
force-pushed
the
release-please--branches--main--changes--next
branch
from
September 16, 2026 14:59
ba336f3 to
3f9fbc2
Compare
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.
✨ Stainless prepared a new release
agentex-client: 0.27.0
0.27.0 (2026-09-16)
Full Changelog: agentex-client-v0.26.0...agentex-client-v0.27.0
Features
Reverts
agentex-sdk: 0.27.0
0.27.0 (2026-09-16)
Full Changelog: agentex-sdk-v0.26.0...agentex-sdk-v0.27.0
Features
Reverts
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
The PR is not ready to merge because the earlier tracing startup bug remains open.
Fix with agent prompt
Summary
This release makes agent deployments carry their image version and source details automatically. It also publishes version 0.27.0 for both packages and records the included changes in each changelog.
Diagram
sequenceDiagram participant U as CLI user participant C as Deploy CLI participant M as Config merge participant H as Helm participant A as Agent participant R as Registration API participant T as SGP tracing U->>C: Deploy manifest and environment C->>M: Merge image, env, secrets, and Helm overrides M->>M: Set global.agent.version from final image tag M->>H: Install or upgrade release H->>A: Start with AGENT_VERSION and provenance env A->>A: Refresh supported env files A->>R: Register commit and source repo Note over A,T: Commit tracing only turns on if AGENT_COMMIT_SHA existed when code_revision was imported A->>T: Send spans with commit when enabledReviews (4) · Last reviewed commit: "chore: release main"