Skip to content

feat: add diagnostic logging for credential persistence#4401

Open
myipanta wants to merge 1 commit into
esengine:main-v2from
myipanta:tweak/4390-credential-diag
Open

feat: add diagnostic logging for credential persistence#4401
myipanta wants to merge 1 commit into
esengine:main-v2from
myipanta:tweak/4390-credential-diag

Conversation

@myipanta

Copy link
Copy Markdown

Add slog logging at critical points in the credential save/load path to help diagnose #4390 (API key lost on Windows restart):

  • config.loadDotEnvFile: log loaded path + key count
  • desktop.upsertEnvFile: log write failures
  • desktop.promoteProviderKeysToCredentials: log migration activity

Add slog logging at critical points in the credential save/load path
to help diagnose esengine#4390 (API key lost on Windows restart):

- config.loadDotEnvFile: log loaded path + key count
- desktop.upsertEnvFile: log write failures
- desktop.promoteProviderKeysToCredentials: log migration activity
@github-actions github-actions Bot added desktop Wails desktop app (desktop/**) config Configuration & setup (internal/config) v2 Go rewrite (1.x) — main-v2 branch, active development labels Jun 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

config Configuration & setup (internal/config) desktop Wails desktop app (desktop/**) v2 Go rewrite (1.x) — main-v2 branch, active development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants