Skip to content

fix(auth): improve token saving and polling logic#1389

Merged
deathbeam merged 1 commit into
CopilotC-Nvim:mainfrom
deathbeam:remove-wrong-call
Aug 31, 2025
Merged

fix(auth): improve token saving and polling logic#1389
deathbeam merged 1 commit into
CopilotC-Nvim:mainfrom
deathbeam:remove-wrong-call

Conversation

@deathbeam
Copy link
Copy Markdown
Collaborator

  • Remove redundant directory creation and scheduling from file write
  • Ensure token file directory is created only when saving token
  • Refactor GitHub device flow polling to use recursion instead of loop
  • Add logging for token save location
  • Restore chat overlay when message is empty
  • Clear status and message notifications after authorization

Closes #1388

- Remove redundant directory creation and scheduling from file write
- Ensure token file directory is created only when saving token
- Refactor GitHub device flow polling to use recursion instead of loop
- Add logging for token save location
- Restore chat overlay when message is empty
- Clear status and message notifications after authorization

Closes CopilotC-Nvim#1388

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
@deathbeam deathbeam merged commit b7728f4 into CopilotC-Nvim:main Aug 31, 2025
4 checks passed
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.

Authentication failure in files.lua:234: 'attempt to call field schedule_main' (a nil value)

1 participant