Skip to content

fix(cli): probe backend root status during startup#172

Merged
duguwanglong merged 1 commit intomainfrom
fix/backend-startup-probe
Apr 23, 2026
Merged

fix(cli): probe backend root status during startup#172
duguwanglong merged 1 commit intomainfrom
fix/backend-startup-probe

Conversation

@xiami762
Copy link
Copy Markdown
Contributor

Summary

  • probe backend startup readiness from the root endpoint instead of legacy health URLs
  • require a status == \"running\" response before marking the backend ready and remove the legacy migration hook from startup
  • expand service_manager startup tests and include the missing asyncio import in the throttled session runner

Test plan

  • uv run pytest tests/cli/test_service_manager.py
  • uv run ruff check flocks/cli/service_manager.py flocks/cli/session_runner_throttled.py tests/cli/test_service_manager.py

Made with Cursor

Use the backend root endpoint and require a running status before marking the service ready. Remove the legacy migration hook and expand service manager coverage for the new startup probe behavior.

Made-with: Cursor
@duguwanglong duguwanglong merged commit 30b5e0d into main Apr 23, 2026
3 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.

2 participants