Skip to content

fix(cli): fall back to compatible status endpoint - #2422

Open
Zhewen Tan (tandede) wants to merge 1 commit into
browseros-ai:mainfrom
tandede:fix/cli-status-health-fallback
Open

fix(cli): fall back to compatible status endpoint#2422
Zhewen Tan (tandede) wants to merge 1 commit into
browseros-ai:mainfrom
tandede:fix/cli-status-health-fallback

Conversation

@tandede

Copy link
Copy Markdown

What changed

The CLI status command now preserves the richer /status response when that endpoint exists, but falls back to BrowserOS-compatible health endpoints when /status returns HTTP 404.

Only a missing endpoint triggers the fallback. Authentication and server failures such as HTTP 500 are still returned to the caller instead of being hidden.

Regression tests cover the primary /status path, the /system/health compatibility path, and non-404 failures.

Verification

  • go test ./...
  • go vet ./...
  • go build ./...

@greptile-apps

greptile-apps Bot commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

PR author is not in the allowed authors list.

@github-actions

github-actions Bot commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA. Thank you!
Posted by the CLA Assistant Lite bot.

@tandede

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

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