Skip to content

fix(cli): warn when services partially start instead of false success#1115

Open
JasonOA888 wants to merge 1 commit intolangflow-ai:mainfrom
JasonOA888:fix/cli-partial-startup-warning
Open

fix(cli): warn when services partially start instead of false success#1115
JasonOA888 wants to merge 1 commit intolangflow-ai:mainfrom
JasonOA888:fix/cli-partial-startup-warning

Conversation

@JasonOA888
Copy link

Fixes #1102

Root Cause

CLI always printed '✓ All services started' after asyncio.run(), regardless of whether docling or container services actually started successfully.

Solution

  • Return (all_success, failed_services) from async _inner()
  • Check status after completion
  • Show warning on partial startup instead of false success
  • Guide users to check status for details

Changes

  • src/tui/cli.py: _start_services_cli()

Testing

  • All services success → '✓ All services started'
  • Docling fails → '⚠ Partial startup: 1 service(s) failed'
  • Container fails → Warning shown, no false success

Impact

Users now get accurate feedback when startup is incomplete.

Fixes langflow-ai#1102

## Root Cause
CLI always printed '✓ All services started' after asyncio.run(), regardless of whether docling or container services actually started successfully.

## Solution
- Return (all_success, failed_services) from async _inner()
- Check status after completion
- Show warning on partial startup instead of false success
- Guide users to check status for details

## Changes
- src/tui/cli.py: _start_services_cli()

## Testing
- [x] All services success → '✓ All services started'
- [x] Docling fails → '⚠ Partial startup: 1 service(s) failed'
- [x] Container fails → Warning shown, no false success

## Impact
Users now get accurate feedback when startup is incomplete.
@github-actions github-actions bot added community backend 🔷 Issues related to backend services (OpenSearch, Langflow, APIs) bug 🔴 Something isn't working. labels Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend 🔷 Issues related to backend services (OpenSearch, Langflow, APIs) bug 🔴 Something isn't working. community

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: CLI reports “All services started” even when docling-serve is stopped

1 participant