Skip to content

release: 0.9.7#300

Merged
stainless-app[bot] merged 3 commits intomainfrom
release-please--branches--main--changes--next
Mar 31, 2026
Merged

release: 0.9.7#300
stainless-app[bot] merged 3 commits intomainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app
Copy link
Copy Markdown
Contributor

@stainless-app stainless-app bot commented Mar 30, 2026

Automated Release PR

0.9.7 (2026-03-30)

Full Changelog: v0.9.6...v0.9.7

Features

  • lib: Add task updates to adk (ff12ae1)

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

Automated release PR bumping version from 0.9.6 to 0.9.7. The feature content adds 7 new task lifecycle operations to the ADK: cancel, complete, fail, terminate, timeout, update, and query_workflow. These are implemented across all three layers of the architecture (module → service → Temporal activities), following the established dual-path pattern where calls are routed through Temporal activities when inside a workflow context, or directly to the service layer otherwise.

  • New TaskStatusTransitionParams, UpdateTaskParams, and QueryWorkflowParams Pydantic models for activity serialization
  • All 7 new activities registered in get_all_activities for Temporal worker discovery
  • Comprehensive unit tests added at the service, activity, and module layers with good coverage of edge cases (with/without reason, by ID vs name, Temporal vs direct paths)
  • New conftest.py mocks langchain/langgraph side-effect imports for isolated ADK testing

Confidence Score: 4/5

This PR is safe to merge — it adds well-tested, pattern-consistent new functionality with no breaking changes.

All new code follows existing architectural patterns exactly. The three-layer structure (module/service/activity) is consistently applied. Tests cover all new operations across all layers including edge cases. No security or logic issues found. Score is 4 rather than 5 only because the new methods add significant surface area that depends on correct API client behavior (not tested with integration tests).

No files require special attention. src/agentex/lib/core/services/adk/tasks.py and src/agentex/lib/adk/_modules/tasks.py contain the bulk of new logic but follow established patterns.

Important Files Changed

Filename Overview
.release-please-manifest.json Standard version bump from 0.9.6 to 0.9.7.
.stats.yml Updated OpenAPI spec URL and hash for the new SDK version.
CHANGELOG.md Added 0.9.7 changelog entry documenting the task updates ADK feature.
pyproject.toml Version bump from 0.9.6 to 0.9.7.
src/agentex/_version.py Version bump from 0.9.6 to 0.9.7.
src/agentex/lib/adk/_modules/tasks.py Added 7 new task operations (cancel, complete, fail, terminate, timeout, update, query_workflow) following the established dual-path pattern (Temporal workflow vs direct service call).
src/agentex/lib/core/services/adk/tasks.py Added service-layer methods for all new task operations with tracing and heartbeat support.
src/agentex/lib/core/temporal/activities/adk/tasks_activities.py Added activity definitions, param classes, and enum values for all new task operations.
src/agentex/lib/core/temporal/activities/init.py Registered all 7 new task activities in get_all_activities.
tests/lib/adk/conftest.py New conftest that mocks langchain_core and langgraph side-effect imports for isolated testing.
tests/lib/adk/test_tasks_activities.py Comprehensive activity-level tests for all task operations.
tests/lib/adk/test_tasks_module.py Module-level tests covering both direct and Temporal workflow paths.
tests/lib/adk/test_tasks_service.py Service-level tests verifying correct API client delegation for all new operations.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A["TasksModule<br/>(cancel/complete/fail/terminate/timeout/update/query_workflow)"] --> B{in_temporal_workflow?}
    B -->|Yes| C["ActivityHelpers.execute_activity<br/>(serialized params)"]
    B -->|No| D["TasksService<br/>(direct call)"]
    C --> E["TasksActivities<br/>(Temporal activity definitions)"]
    E --> D
    D --> F["AsyncAgentex Client<br/>(tasks.cancel / tasks.complete / etc.)"]
    D --> G["AsyncTracer<br/>(span tracking + heartbeat)"]
Loading

Reviews (1): Last reviewed commit: "release: 0.9.7" | Re-trigger Greptile

@declan-scale declan-scale changed the title release: 0.10.0 release: 0.9.7 Mar 30, 2026
@stainless-app
Copy link
Copy Markdown
Contributor Author

stainless-app bot commented Mar 30, 2026

Release version edited manually

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

If you instead want to use the version number 0.10.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 from 0157871 to 4c1123a Compare March 30, 2026 22:32
@stainless-app stainless-app bot merged commit 74cb1a0 into main Mar 31, 2026
32 checks passed
@stainless-app stainless-app bot deleted the release-please--branches--main--changes--next branch March 31, 2026 12:43
@stainless-app
Copy link
Copy Markdown
Contributor Author

stainless-app bot commented Mar 31, 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