Skip to content

release: 0.10.2#326

Merged
stainless-app[bot] merged 46 commits intomainfrom
release-please--branches--main--changes--next
Apr 21, 2026
Merged

release: 0.10.2#326
stainless-app[bot] merged 46 commits intomainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app
Copy link
Copy Markdown
Contributor

@stainless-app stainless-app Bot commented Apr 17, 2026

Automated Release PR

0.10.2 (2026-04-21)

Full Changelog: v0.10.1...v0.10.2

Features

Bug Fixes

Performance Improvements

  • client: optimize file structure copying in multipart requests (87fe899)

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.10.2) bundles three changes: a task_id field added to the entire span creation/update/list API surface and propagated through the Temporal activity layer; a performance improvement to AsyncSpanQueue that drains items in concurrent batches (all STARTs before ENDs per batch) instead of one-at-a-time; and a targeted deepcopy_with_paths utility that replaces the broader deepcopy_minimal, copying only the containers that lie on a multipart-file path.

Confidence Score: 5/5

Safe to merge — all changes are well-tested, ordering invariants are preserved, and the task_id field is propagated consistently.

No P0 or P1 findings. The span-queue batch refactor correctly maintains per-span START-before-END ordering. The task_id propagation is thorough and consistent across the sync, async, and Temporal paths. deepcopy_with_paths is well-tested.

No files require special attention.

Important Files Changed

Filename Overview
src/agentex/lib/core/tracing/span_queue.py Drain loop refactored to collect items into batches (default 50) and process STARTs concurrently then ENDs concurrently; per-span ordering guarantee preserved; task_done() correctly called in finally block for every gotten item.
src/agentex/_files.py New deepcopy_with_paths utility replaces deepcopy_minimal; only copies mapping/list containers that lie on a file-extraction path, reducing unnecessary allocations for large payloads with few file fields.
src/agentex/lib/adk/_modules/tracing.py task_id added to both span() and start_span() and forwarded through the Temporal StartSpanParams; propagation is consistent across the in-workflow and direct code paths.
src/agentex/lib/core/tracing/processors/sgp_tracing_processor.py on_span_end now syncs span.input to the cached sgp_span before the upsert, matching the treatment of output/metadata; TODO(AGX1-198) added with Linear link for future batch optimisation.
src/agentex/resources/spans.py task_id parameter added to create, update, and list endpoints for both sync and async resource classes; docstrings and payload dicts updated consistently.

Reviews (43): Last reviewed commit: "release: 0.10.2" | Re-trigger Greptile

@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch 29 times, most recently from ca0f33e to 3ea2d7b Compare April 20, 2026 04:20
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 97bb0d0 to eed0347 Compare April 21, 2026 13:43
stainless-app Bot and others added 2 commits April 21, 2026 14:15
Co-authored-by: Declan Brady <declan.brady@scale.com>
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from eed0347 to 0ab0045 Compare April 21, 2026 14:15
@stainless-app stainless-app Bot changed the title release: 0.10.2 release: 0.11.0 Apr 21, 2026
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 0ab0045 to aacdd15 Compare April 21, 2026 14:16
@declan-scale declan-scale changed the title release: 0.11.0 release: 0.10.2 Apr 21, 2026
@stainless-app
Copy link
Copy Markdown
Contributor Author

stainless-app Bot commented Apr 21, 2026

Release version edited manually

The Pull Request version has been manually set to 0.10.2 and will be used for the release.

If you instead want to use the version number 0.11.0 generated from conventional commits, just remove the label autorelease: custom version from this Pull Request.

@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch 2 times, most recently from 40a4ac3 to b3ce35c Compare April 21, 2026 14:17
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from b3ce35c to 19e02e4 Compare April 21, 2026 14:20
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 19e02e4 to 9c7a772 Compare April 21, 2026 14:56
@stainless-app stainless-app Bot merged commit e1effb5 into main Apr 21, 2026
32 checks passed
@stainless-app stainless-app Bot deleted the release-please--branches--main--changes--next branch April 21, 2026 15:06
@stainless-app
Copy link
Copy Markdown
Contributor Author

stainless-app Bot commented Apr 21, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants