release: 0.12.0#350
Open
stainless-app[bot] wants to merge 8 commits into
Open
Conversation
cac40be to
c646eb3
Compare
…plates (#352) Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
c646eb3 to
7ad5b19
Compare
7ad5b19 to
5eaf474
Compare
5eaf474 to
ec02cb4
Compare
ec02cb4 to
6d194bb
Compare
Pin all GitHub Actions referenced in generated workflows (both first-party `actions/*` and third-party) to immutable commit SHAs. Updating pinned actions is now a deliberate codegen-side bump rather than implicit on every workflow run.
6d194bb to
c47090f
Compare
c47090f to
30aadb9
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.
Automated Release PR
0.12.0 (2026-05-13)
Full Changelog: v0.11.0...v0.12.0
⚠ BREAKING CHANGES
Features
Bug Fixes
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
AgentexTracingProcessorfrom default tracing processors, requires users to explicitly register processors. Also fixes a long-standing cross-pod Temporal bug by makingSGPSyncTracingProcessorandSGPAsyncTracingProcessorstateless — both processors now build and flush a complete span on start and end rather than caching state in a_spansdict that could be missing on a different pod.agentex.lib.core.observabilitymodule that emits OTel metrics (ttft,ttat,tps, token counters, request counts) from the streaming model path; cardinality is bounded tomodeland a small fixedstatusenum._files.pyand introducesEagerIterableto eagerly validate pydantic iterators upfront, preventing the repeated-serialization data-loss bug.Confidence Score: 4/5
Safe to merge after fixing the unconditional SGP registration in the temporal-openai-agents workflow template.
One P1 finding: workflow.py.j2 still registers the SGP tracing processor unconditionally without checking SGP_API_KEY/SGP_ACCOUNT_ID, unlike the sibling acp.py.j2. This was flagged in previous reviews and remains unfixed while this PR adds sgp_base_url to the same unconditional block. All other changes are well-implemented and tested.
src/agentex/lib/cli/templates/temporal-openai-agents/project/workflow.py.j2 — missing credential guard around add_tracing_processor_config.
Important Files Changed
Sequence Diagram
sequenceDiagram participant SM as TemporalStreamingModel participant Hooks as TemporalStreamingHooks(LLMMetricsHooks) participant Metrics as LLMMetrics (OTel) participant SGP as SGPAsyncTracingProcessor SM->>SM: "stream_start_perf = time.perf_counter()" SM->>SM: responses.create() [stream open] loop per delta event SM->>SM: bookmark first_token_at / last_token_at / first_answer_at end SM->>SGP: on_span_end(span) [stateless: build + upsert] SM->>Metrics: ttft_ms / ttat_ms / tps.record() SM->>Hooks: on_llm_end(response) Hooks->>Metrics: "requests.add(1, status=success)" Hooks->>Metrics: input_tokens / output_tokens / cached / reasoning .add() alt Exception raised SM->>Metrics: record_llm_failure(model, exc) endComments Outside Diff (1)
src/agentex/lib/cli/templates/temporal-openai-agents/project/workflow.py.j2, line 42-50 (link)add_tracing_processor_configcall is made unconditionally, regardless of whetherSGP_API_KEYandSGP_ACCOUNT_IDare set. Users who generate this template without SGP credentials will still register a tracing processor that initialisesSGPClient(api_key="", ...), producing auth errors on every trace event. The siblingacp.py.j2template correctly guards this call — the same pattern should be applied here.Prompt To Fix With AI
Prompt To Fix All With AI
Reviews (7): Last reviewed commit: "release: 0.12.0" | Re-trigger Greptile