Skip to content

Conversation

@elithrar
Copy link
Contributor

@elithrar elithrar commented Jan 5, 2026

Adds debug logging and error handling for .well-known/opencode config fetches in enterprise installs.

Logs output both the config path (not present today) and a SHA-256 of the config so you can identify what version of the config is being pulled (or was, historically, when someone shares logs!) for a user.

Example log output with --print-logs:

DEBUG service=config url=https://opencode.example.com/.well-known/opencode fetching wellknown config
DEBUG service=config url=https://opencode.example.com/ hash=4142764bad628c8c8883665f9b17b4b32af24cb7ca9d4d4da57f85cc5ca21c18 loaded wellknown config

@github-actions
Copy link
Contributor

github-actions bot commented Jan 5, 2026

The following comment was made by an LLM, it may be inaccurate:

Duplicate PR Search Results

No duplicate PRs found. The PR you're checking (feat: add logging and error handling for wellknown config) appears to be unique.

Related PR (Not a duplicate):

Conclusion: This PR appears to be a new feature addressing visibility, error resilience, and debugging capabilities for enterprise wellknown config fetches. No conflicting or duplicate work was found in open PRs.

@elithrar elithrar force-pushed the feat/wellknown-config-logging branch from bbd85ed to 3663069 Compare January 7, 2026 19:05
@elithrar
Copy link
Contributor Author

elithrar commented Jan 7, 2026

Rebased this and refactored since some of this was handled in #7141

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