Skip to content

chore: fix task status and bump version#489

Merged
rayrayraykk merged 2 commits intoagentscope-ai:mainfrom
rayrayraykk:weirui/dev/fix_statues0416
Apr 16, 2026
Merged

chore: fix task status and bump version#489
rayrayraykk merged 2 commits intoagentscope-ai:mainfrom
rayrayraykk:weirui/dev/fix_statues0416

Conversation

@rayrayraykk
Copy link
Copy Markdown
Member

Description

[Describe what this PR does and why]

Related Issue: Fixes #[issue_number] or Relates to #[issue_number]

Security Considerations: [If applicable, especially for sandbox changes]

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation
  • Refactoring

Component(s) Affected

  • Engine
  • Sandbox
  • Tools
  • Common
  • Documentation
  • Tests
  • CI/CD

Checklist

  • Pre-commit hooks pass
  • Tests pass locally
  • Documentation updated (if needed)
  • Ready for review

Testing

[How to test these changes]

Additional Notes

[Optional: any other context]

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts the task-status polling behavior for background stream tasks (exposing a distinct running status) and bumps the runtime/package version to 1.1.5.

Changes:

  • Update in-memory task status mapping to return running (including started_at) instead of treating running as pending.
  • Relax the integrated test to accept running as a valid polled status.
  • Bump version in both pyproject.toml and runtime __version__.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
src/agentscope_runtime/engine/deployers/utils/service_utils/routing/task_engine_mixin.py Changes the in-memory get_task_status() response to expose running + started_at.
tests/integrated/test_agent_app_stream_task.py Updates polling assertion to allow running as a returned status.
src/agentscope_runtime/version.py Bumps runtime __version__ to v1.1.5.
pyproject.toml Bumps package version to 1.1.5.

Comment thread tests/integrated/test_agent_app_stream_task.py
Comment thread pyproject.toml
@rayrayraykk rayrayraykk merged commit 0005e81 into agentscope-ai:main Apr 16, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] get_task_status returns pending for both submitted and running states

2 participants