Skip to content

release: 0.11.0#345

Merged
danielmillerp merged 2 commits intomainfrom
release-please--branches--main--changes--next
May 7, 2026
Merged

release: 0.11.0#345
danielmillerp merged 2 commits intomainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app
Copy link
Copy Markdown
Contributor

@stainless-app stainless-app Bot commented May 6, 2026

Automated Release PR

0.11.0 (2026-05-07)

Full Changelog: v0.10.5...v0.11.0

Features

  • make workflow execution timeout configurable via env var (#348) (4094708)

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

  • Adds WORKFLOW_EXECUTION_TIMEOUT_SECONDS env var (default 86400 s / 24 h, gt=0) and wires it into TemporalTaskService.submit_task as execution_timeout=timedelta(seconds=...). This is a behavior change: workflows that previously had no execution timeout now default to 24 h; agents with longer tasks must set the env var explicitly.
  • Version bumped to 0.11.0 across pyproject.toml, _version.py, and .release-please-manifest.json; the tutorial-test CI workflow now also fires on PRs targeting the next branch.

Confidence Score: 5/5

Safe to merge — changes are well-scoped, validation is correct, and the behavior change (24 h default timeout) is clearly documented.

No bugs found. The new Field constraint (gt=0) correctly prevents invalid timeouts, Pydantic's int coercion handles the string-to-int conversion from os.environ, and the Temporal SDK usage of timedelta is correct. Only newly submitted workflows are affected; existing in-flight workflows are unaffected. All version files are in sync.

No files require special attention.

Important Files Changed

Filename Overview
src/agentex/lib/environment_variables.py Adds WORKFLOW_EXECUTION_TIMEOUT_SECONDS env var (int, gt=0, default 86400) with proper Pydantic Field validation and inline documentation
src/agentex/lib/core/temporal/services/temporal_task_service.py Wires WORKFLOW_EXECUTION_TIMEOUT_SECONDS into start_workflow as execution_timeout=timedelta(seconds=...) — correct Temporal SDK usage
.github/workflows/agentex-tutorials-test.yml Adds next branch to PR trigger so tutorial tests run against the next release branch
pyproject.toml Version bumped from 0.10.5 to 0.11.0
CHANGELOG.md Changelog entry added for 0.11.0 with feature note

Sequence Diagram

sequenceDiagram
    participant Caller
    participant TemporalTaskService
    participant EnvironmentVariables
    participant TemporalClient

    Caller->>TemporalTaskService: submit_task(agent, task, params)
    TemporalTaskService->>EnvironmentVariables: WORKFLOW_EXECUTION_TIMEOUT_SECONDS (int, default 86400)
    EnvironmentVariables-->>TemporalTaskService: e.g. 86400
    TemporalTaskService->>TemporalClient: "start_workflow(..., execution_timeout=timedelta(seconds=86400))"
    TemporalClient-->>TemporalTaskService: workflow_id
    TemporalTaskService-->>Caller: workflow_id
Loading

Reviews (3): Last reviewed commit: "release: 0.11.0" | Re-trigger Greptile

@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 8dbe987 to addeaaf Compare May 7, 2026 18:32
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from addeaaf to 188d2c5 Compare May 7, 2026 22:32
@stainless-app stainless-app Bot changed the title release: 0.10.6 release: 0.11.0 May 7, 2026
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 188d2c5 to ec6d589 Compare May 7, 2026 22:33
@danielmillerp danielmillerp self-requested a review May 7, 2026 22:33
@danielmillerp danielmillerp merged commit 0987fa8 into main May 7, 2026
35 checks passed
@danielmillerp danielmillerp deleted the release-please--branches--main--changes--next branch May 7, 2026 22:38
@stainless-app
Copy link
Copy Markdown
Contributor Author

stainless-app Bot commented May 7, 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.

1 participant