Skip to content

Retry AutoResearch worker restarts safely - #206

Merged
FluffyAIcode merged 1 commit into
mainfrom
AgentMemory/autoresearch-worker-restart-retry-0720
Jul 20, 2026
Merged

Retry AutoResearch worker restarts safely#206
FluffyAIcode merged 1 commit into
mainfrom
AgentMemory/autoresearch-worker-restart-retry-0720

Conversation

@FluffyAIcode

Copy link
Copy Markdown
Owner

Summary

  • wait for launchd to fully unload before retrying allens worker bootstrap
  • require the restarted worker to become reachable before continuing an experiment
  • preserve the original experiment exception if rollback deployment also fails

Test plan

  • python3 -m pytest -q tests/inference_engine/bench/test_autoresearch_supervisor.py tests/inference_engine/bridge/test_agent_gan_repl.py
  • python3 -m py_compile autoresearch/prefill/supervisor.py
  • live deploy_candidate("allens", 256) completed and verified worker readiness

Made with Cursor

Wait for launchd unload and service readiness so deployment races cannot crash the supervisor or mask the original experiment error.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursor Bot commented Jul 20, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@FluffyAIcode
FluffyAIcode merged commit e4c67bd into main Jul 20, 2026
7 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.

1 participant