Skip to content

fix: fixups to the new main process GitHub token code#1937

Merged
ckerr merged 3 commits into
mainfrom
fix/github-tokens-in-main-process
May 8, 2026
Merged

fix: fixups to the new main process GitHub token code#1937
ckerr merged 3 commits into
mainfrom
fix/github-tokens-in-main-process

Conversation

@ckerr

@ckerr ckerr commented May 8, 2026

Copy link
Copy Markdown
Member

Second in a series to move GitHub token + gist management into the main process.

This PR has two fixups:

  • Previously, we deleted the token when Octokit failed. Now, distinguish between permission errors (delete it) vs network errors (don't delete it)

  • Use safer file permissions for the safeStorage info when it's saved to disk.

@ckerr ckerr requested a review from dsanders11 May 8, 2026 04:06
@ckerr ckerr requested review from a team and codebytere as code owners May 8, 2026 04:06
@coveralls

coveralls commented May 8, 2026

Copy link
Copy Markdown

Coverage Status

coverage: 88.806% (+0.004%) from 88.802% — fix/github-tokens-in-main-process into main

@ckerr ckerr merged commit 0c58bfc into main May 8, 2026
16 checks passed
@ckerr ckerr deleted the fix/github-tokens-in-main-process branch May 8, 2026 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants