Skip to content

Health check password protected #12805

@pando85

Description

@pando85

Description

When running opencode serve with OPENCODE_SERVER_PASSWORD the health check endpoint (/global/health) needs authentication.
That's not expected and doesn't follow standard practices in the industry.

I could help fix the issue if you are interested in it.

Plugins

No response

OpenCode version

No response

Steps to reproduce

  1. Deploy opencode serve with OPENCODE_SERVER_PASSWORD envar value
  2. Check endpoint /global/health, you will require basic auth.

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions