Skip to content

Conversation

@VegetarianOrc
Copy link
Contributor

@VegetarianOrc VegetarianOrc commented Jan 20, 2026

What was changed

  • Add test case MissingWorkflowRunDecorator that validates a clear TypeError is raised when a handler method lacks the @workflow_run_operation decorator but the service interface expects an operation
  • Fix the error branch of test_service_decorator_enforces_interface_conformance to use consistent service= keyword argument (the previous code path was never exercised since no test cases had error_message set)
  • Remove resolved TODO comment in test_workflow_caller.py

Why

Address TODO comment and increase test coverage of workflow_run_operation decorator.

🤖 Generated with Claude Code

VegetarianOrc and others added 2 commits January 20, 2026 15:33
Add a test case that validates a clear TypeError is raised when a
handler method lacks the @workflow_run_operation decorator but the
service interface expects an operation. Also fix the error branch
of the test to use consistent service= keyword argument.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@VegetarianOrc VegetarianOrc marked this pull request as ready for review January 21, 2026 01:24
@VegetarianOrc VegetarianOrc requested a review from a team as a code owner January 21, 2026 01:24
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.

3 participants