release: 0.11.7#382
Merged
Merged
Conversation
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com> Co-authored-by: Declan Brady <declan.brady@scale.com> Co-authored-by: Michael Chou <michael.chou@scale.com>
…ts adapter (#375) Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…test + debugpy) (#379)
…nc + temporal) (#377) Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1ca9d5c to
772a07a
Compare
772a07a to
d7d6ab7
Compare
d7d6ab7 to
2857504
Compare
c16c25b to
c7100c5
Compare
Contributor
Author
Release version edited manuallyThe Pull Request version has been manually set to If you instead want to use the version number |
c7100c5 to
0e1cdd5
Compare
0e1cdd5 to
eeb68d9
Compare
Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com> Co-authored-by: Max Parke <max.parke@scale.com> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Co-authored-by: Declan Brady <declan.brady@scale.com> Co-authored-by: Michael Chou <michael.chou@scale.com> Co-authored-by: Daniel Miller <daniel.miller@scale.com> Co-authored-by: Matteo Librizzi <matteo.librizzi@scale.com>
eeb68d9 to
54e9890
Compare
…into-next-2 # Conflicts: # src/agentex/lib/core/tracing/span_queue.py # tests/lib/core/tracing/test_span_queue.py
chore: back-merge main into next (merge commit to clear release PR #382)
54e9890 to
ec2f02d
Compare
smoreinis
approved these changes
Jun 1, 2026
Contributor
Author
|
🤖 Release is at https://github.com/scaleapi/scale-agentex-python/releases/tag/v0.11.7 🌻 |
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.11.7 (2026-06-01)
Full Changelog: v0.11.6...v0.11.7
Features
Performance Improvements
Chores
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 release (0.11.7) adds three new OpenAI Agents SDK local-sandbox tutorial examples (sync, async-base, and Temporal variants) plus a matching CLI template (
sync-openai-agents-local-sandbox), and replaces the serial span-export loop inAsyncSpanQueuewith a bounded-concurrency dispatch model that lets up to_concurrency(default 3) HTTP batch requests be in-flight at once while still preserving the per-span START-before-END ordering guarantee.span_queue.py): Drain loop now dispatches each START/END batch as its ownasyncio.Task; anasyncio.Semaphorebounds actual in-flight HTTP calls; END tasks snapshot in-flight START tasks as a barrier so ordering is preserved; shutdown waits forqueue.join()then cleans up straggler tasks.openai_agents_local_sandboxexamples demonstrate theUnixLocalSandboxClient(shell commands on the host) in sync, async-base, and Temporal modes; a correspondingsync-openai-agents-local-sandboxJinja2 template is wired into theagentex initcommand.Confidence Score: 5/5
Safe to merge — the span queue concurrency change is well-reasoned, correctly bounded, and fully covered by new tests; the tutorial additions are self-contained examples.
The bounded-concurrency span export is the most load-bearing change: the backpressure loop, semaphore, and END barrier all compose correctly, and the new test suite validates concurrency cap, serial behavior, throughput improvement, and per-span ordering. The tutorials and CLI template are additive and isolated. The only gap is the missing sgp_base_url in the Temporal tutorial, which is a minor example inconsistency, not a runtime failure.
workflow.py in the Temporal tutorial (sgp_base_url omission), and the self-noted re-enqueue ordering caveat in span_queue.py if retries are ever enabled by default.
Important Files Changed
Sequence Diagram
sequenceDiagram participant DL as _drain_loop participant D as _dispatch() participant RS as _run_send (task) participant S as asyncio.Semaphore participant P as Processor (HTTP) loop Drain items from queue DL->>DL: "backpressure check (len(inflight) >= concurrency?)" DL->>DL: collect batch (linger window) DL->>D: dispatch(starts, START) D->>RS: "create_task(_run_send(starts, barrier=[]))" D->>D: inflight.add(task), inflight_starts.add(task) DL->>DL: re-check backpressure for ENDs DL->>D: dispatch(ends, END) D->>RS: "create_task(_run_send(ends, barrier=snapshot(inflight_starts)))" D->>D: inflight.add(task) end par START send RS->>S: acquire semaphore slot S-->>RS: acquired RS->>P: on_spans_start(spans) P-->>RS: HTTP response RS->>S: release slot RS->>RS: queue.task_done() [finally] RS->>D: done_callback - inflight.discard, inflight_starts.discard and END send (waits for START barrier) RS->>RS: "await gather(*barrier, return_exceptions=True)" RS->>S: acquire semaphore slot S-->>RS: acquired RS->>P: on_spans_end(spans) P-->>RS: HTTP response RS->>S: release slot RS->>RS: queue.task_done() [finally] RS->>D: done_callback - inflight.discard endPrompt To Fix All With AI
Reviews (3): Last reviewed commit: "release: 0.11.7" | Re-trigger Greptile