Skip to content

Conversation

@sheikhlimon
Copy link
Contributor

Summary

Relates to #6607

set_secret/delete_secret returned error when keyring unavailable despite file write succeeding. Treat FallbackToFileStorage as success since operation completed.

GitHub Copilot OAuth failed in WSL/environments without keyring:

  • Token saved to file successfully
  • But error was returned anyway
  • CLI handled this, provider didn't

set_secret and delete_secret now treat FallbackToFileStorage as success (file already written).

Type of Change

  • Feature
  • Bug fix
  • Refactor / Code quality
  • Performance improvement
  • Documentation
  • Tests
  • Security fix
  • Build / Release
  • Other (specify below)

AI Assistance

  • This PR was created or reviewed with AI assistance

Test

I don't have GitHub Copilot access to verify the fix.

github_copilot should complete without "Failed to save token" error
change is straightforward: file write succeeds → return success.

Signed-off-by: sheikhlimon <sheikhlimon404@gmail.com>
@DOsinga DOsinga added this pull request to the merge queue Feb 12, 2026
Merged via the queue into block:main with commit c059569 Feb 12, 2026
18 checks passed
tlongwell-block added a commit that referenced this pull request Feb 12, 2026
…provenance

* origin/main: (68 commits)
  Upgraded npm packages for latest security updates (#7183)
  docs: reasoning effort levels for Codex provider (#6798)
  Fix speech local (#7181)
  chore: add .gooseignore to .gitignore (#6826)
  Improve error message logging from electron (#7130)
  chore(deps): bump jsonwebtoken from 9.3.1 to 10.3.0 (#6924)
  docs: standalone mcp apps and apps extension (#6791)
  workflow: auto-update cli-commands on release (#6755)
  feat(apps): Integrate AppRenderer from @mcp-ui/client SDK (#7013)
  fix(MCP): decode resource content (#7155)
  feat: reasoning_content in API for reasoning models (#6322)
  Fix/configure add provider custom headers (#7157)
  fix: handle keyring fallback as success (#7177)
  Update process-wrap to 9.0.3 (9.0.2 is yanked) (#7176)
  feat: support extra field in chatcompletion tool_calls for gemini openai compat (#6184)
  fix: replace panic with proper error handling in get_tokenizer (#7175)
  Lifei/smoke test for developer (#7174)
  fix text editor view broken (#7167)
  docs: White label guide (#6857)
  Add PATH detection back to developer extension (#7161)
  ...

# Conflicts:
#	.github/workflows/nightly.yml
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.

2 participants