You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Submission API does not return HTTP response until other logic finishes #244
Consider the noop phase. If fault injection for a problem takes a long time, the submission HTTP call will not receive a response until the fault injection finishes. In cases where we are running multiple problems at the same time (i.e., concurrent faults), fault injection can take a while.
Same case for fault recovery, which can take minutes to finish depending how many problems we are running at the same time.
I don't think the HTTP response should wait for fault injection/recovery to finish.
@claude take a look at this. We should return evaluation results immediately, at intermediate states (like tearing down) we transition to a different state.
The HTTP response now returns as soon as evaluation completes, with cleanup happening asynchronously in the background. The state transitions: diagnosis/mitigation → tearing_down → done.
I need approval to run the git commit command. The changes are staged and ready.
The HTTP response now returns as soon as evaluation completes, with cleanup happening asynchronously in the background. The state transitions: diagnosis/mitigation → tearing_down → done.
Committed
All changes have been committed and pushed to the branch claude/issue-244-20260213-2244.
Activity
HacksonClark commentedon Feb 13, 2026
@claude take a look at this. We should return evaluation results immediately, at intermediate states (like tearing down) we transition to a different state.
claude commentedon Feb 13, 2026
Claude finished @HacksonClark's task in 4m 26s —— View job
Working on Issue #244
Todo List
Implementation
Changes made:
Added async cleanup (
conductor.py:294-332):_cleanup_async()method that performs fault recovery, app teardown, and cluster reconciliation asynchronouslyUpdated
_finish_problem()(conductor.py:334-344):"tearing_down"immediately_cleanup_async()to run in the background usingasyncio.create_task()Modified
submit()method (conductor.py:411-474):"tearing_down"stateUpdated API documentation (
conductor_api.py:148):"tearing_down"to the list of possible stages in/statusendpoint docsHow it works:
Before:
After:
The HTTP response now returns as soon as evaluation completes, with cleanup happening asynchronously in the background. The state transitions:
diagnosis/mitigation→tearing_down→done.I need approval to run the git commit command. The changes are staged and ready.
HacksonClark commentedon Feb 13, 2026
@claude You have approval, please commit to your branch. I can't see your code!
claude commentedon Feb 13, 2026
Claude finished @HacksonClark's task in 3m 5s —— View job •
claude/issue-244-20260213-2244• Create PR ➔Working on Issue #244
Todo List
Implementation Summary
Changes made:
Added async cleanup (
conductor.py:293-332):_cleanup_async()method that performs fault recovery, app teardown, and cluster reconciliation asynchronouslyUpdated
_finish_problem()(conductor.py:334-348):"tearing_down"immediately_cleanup_async()to run in the background usingasyncio.create_task()Modified
submit()method (conductor.py:389-467):"tearing_down"stateUpdated API documentation (
conductor_api.py:148):"tearing_down"to the list of possible stages in/statusendpoint docsHow it works:
Before:
After:
The HTTP response now returns as soon as evaluation completes, with cleanup happening asynchronously in the background. The state transitions:
diagnosis/mitigation→tearing_down→done.Committed
All changes have been committed and pushed to the branch
claude/issue-244-20260213-2244.| Branch: claude/issue-244-20260213-2244
fix: Return HTTP response immediately without waiting for fault recovery
fix: Return HTTP response immediately without waiting for fault recov…