Skip to content

Conversation

@pgrayy
Copy link
Member

@pgrayy pgrayy commented Nov 7, 2025

Description

Moving InterruptState out of the agent subpackage and into the top level interrupt.py module as Graph and Swarm will also be needing it. Also officially making the class private.

Related Issues

#204

Documentation PR

Not necessary as this is an implementation detail.

Type of Change

Other (please describe): Code reorganization.

Testing

How have you tested the change? Verify that the changes do not break functionality or introduce warnings in consuming repositories: agents-docs, agents-tools, agents-cli

  • I ran hatch run prepare: Updated the unit tests
  • I ran hatch test tests_integ/interrupts/*.py

Checklist

  • I have read the CONTRIBUTING document
  • I have added any necessary tests that prove my fix is effective or my feature works
  • I have updated the documentation accordingly
  • I have added an appropriate example to the documentation to outline the feature, or no new docs are needed
  • My changes generate no new warnings
  • Any dependent changes have been merged and published

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov
Copy link

codecov bot commented Nov 7, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@@ -1,61 +0,0 @@
import pytest
Copy link
Member Author

@pgrayy pgrayy Nov 7, 2025

Choose a reason for hiding this comment

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

Tests moved to ../test_interrupt.py. See further down below.

@pgrayy pgrayy marked this pull request as ready for review November 7, 2025 05:30
zastrowm
zastrowm previously approved these changes Nov 7, 2025
mkmeral
mkmeral previously approved these changes Nov 9, 2025
@pgrayy pgrayy dismissed stale reviews from mkmeral and zastrowm via 33fd2bd November 9, 2025 17:03
@github-actions github-actions bot added size/m and removed size/m labels Nov 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants