Skip to content

bump version#472

Closed
rayrayraykk wants to merge 1 commit intoagentscope-ai:mainfrom
rayrayraykk:weirui/dev/fix0327
Closed

bump version#472
rayrayraykk wants to merge 1 commit intoagentscope-ai:mainfrom
rayrayraykk:weirui/dev/fix0327

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

Bumps the AgentScope Runtime package/runtime version to 1.1.2b3 and adjusts an exception handler in the tracing async-generator wrapper.

Changes:

  • Update runtime __version__ to v1.1.2b3.
  • Update packaging version in pyproject.toml to 1.1.2b3.
  • Change a tracing wrapper re-raise block from except Exception to except BaseException.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/agentscope_runtime/version.py Bumps runtime __version__ to v1.1.2b3.
pyproject.toml Bumps package version to 1.1.2b3.
src/agentscope_runtime/engine/tracing/wrapper.py Broadens an exception handler around async iteration in the tracing wrapper.

Comment on lines +469 to 470
except BaseException as e:
raise e
Copy link

Copilot AI Mar 27, 2026

Choose a reason for hiding this comment

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

Catching BaseException here is unnecessarily broad (it includes asyncio.CancelledError, KeyboardInterrupt, SystemExit) and the handler just re-raises anyway. This also uses raise e, which rewrites the traceback; prefer removing the try/except entirely, or at minimum catch Exception and use bare raise to preserve the original traceback/cancellation semantics.

Copilot uses AI. Check for mistakes.
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.

2 participants