Skip to content

Conversation

@sergeibbb
Copy link
Member

Description

Implements #4881

Stops requesting for GitHub session retrieval via VSCode built-in sessions. Instead, if there is no an existing available for GitLens session in VSCode, then it always goes to the GKDev flow.

Checklist

  • I have followed the guidelines in the Contributing document
  • My changes follow the coding style of this project
  • My changes build without any errors or warnings
  • My changes have been formatted and linted
  • My changes include any required corresponding changes to the documentation (including CHANGELOG.md and README.md)
  • My changes have been rebased and squashed to the minimal number (typically 1) of relevant commits
  • My changes have a descriptive commit message with a short title, including a Fixes $XXX - or Closes #XXX - prefix to auto-close the issue that your PR addresses

@sergeibbb sergeibbb added this to the 17.10 milestone Jan 19, 2026
@sergeibbb sergeibbb linked an issue Jan 19, 2026 that may be closed by this pull request
1 task
…sions

Removes redundant logic that conditionally re-fetched a session in
VSCode if `forceNewSession` was true.

If there is no an existing available for GitLens session in VSCode, then
always go to the GKDev flow.
(#4881, #4897)
@sergeibbb sergeibbb force-pushed the 4881-stop-getting-new-vscode-github-sessions branch from 7392330 to 1e7af7c Compare January 19, 2026 14:48
@augmentcode
Copy link

augmentcode bot commented Jan 19, 2026

🤖 Augment PR Summary

Summary: Adjusts GitHub authentication so GitLens no longer requests new VS Code built-in GitHub sessions, falling back to the GKDev/cloud flow when no existing session is available.

Changes:

  • Removes the built-in forceNewSession request path for GitHub sessions and only attempts a silent built-in lookup
  • Updates the changelog to document the shift from VS Code session creation to the GKDev flow

🤖 Was this summary useful? React with 👍 or 👎

Copy link

@augmentcode augmentcode bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. 2 suggestions posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

@sergeibbb sergeibbb force-pushed the 4881-stop-getting-new-vscode-github-sessions branch from 1e7af7c to c8fbf7d Compare January 19, 2026 15:51
@sergeibbb sergeibbb force-pushed the 4881-stop-getting-new-vscode-github-sessions branch from c8fbf7d to 5885ee2 Compare January 19, 2026 16:03
@sergeibbb sergeibbb marked this pull request as draft January 19, 2026 19:01
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.

4879: Remove the flow of forcing to create VSCode's GitHub authentication

2 participants