Skip to content

fix(cli): detect dashboard processes when --profile precedes subcommand (#44035) - #44206

Closed
kyssta-exe wants to merge 1 commit into
NousResearch:mainfrom
kyssta-exe:auto-fix/issue-44035
Closed

fix(cli): detect dashboard processes when --profile precedes subcommand (#44035)#44206
kyssta-exe wants to merge 1 commit into
NousResearch:mainfrom
kyssta-exe:auto-fix/issue-44035

Conversation

@kyssta-exe

Copy link
Copy Markdown
Contributor

Fixes #44035. _find_stale_dashboard_pids() uses contiguous substring matching (e.g. 'hermes_cli.main dashboard') which fails when global flags like --profile appear between the entry-point and the 'dashboard' subcommand. Added a fallback scan that skips flags and their values to find 'dashboard' as the first subcommand token after the hermes binary pattern.

@alt-glitch alt-glitch added type/bug Something isn't working comp/cli CLI entry point, hermes_cli/, setup wizard P3 Low — cosmetic, nice to have duplicate This issue or pull request already exists labels Jun 11, 2026
@alt-glitch

Copy link
Copy Markdown
Collaborator

Duplicate of #44165 — same fix for #44035 (skip global flags/values to detect dashboard as the first subcommand token after the hermes binary, so --profile P dashboard ... is matched). #44165 is the earlier open PR; tracking lineage there. (Closed #44048 took the same approach.)

@kyssta-exe

Copy link
Copy Markdown
Contributor Author

Duplicate of #44165 — same dashboard detection fix for #44035. Closing as superseded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/cli CLI entry point, hermes_cli/, setup wizard duplicate This issue or pull request already exists P3 Low — cosmetic, nice to have type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: dashboard status/update miss running dashboards when --profile appears before the subcommand

2 participants