Skip to content

fix(extension): persist GitHub auth across restarts#7

Merged
MarcoAntolini merged 6 commits into
mainfrom
issue-5-persist-github-auth
Jun 17, 2026
Merged

fix(extension): persist GitHub auth across restarts#7
MarcoAntolini merged 6 commits into
mainfrom
issue-5-persist-github-auth

Conversation

@MarcoAntolini

@MarcoAntolini MarcoAntolini commented Jun 17, 2026

Copy link
Copy Markdown
Owner

Summary

  • Persists the GitHub token in Chrome extension local storage so auth survives browser restarts.
  • Falls back to the durable token when session storage is empty.
  • Adds focused storage tests for restart persistence and explicit disconnect clearing.

Test plan

  • npm --workspace @csshub/extension run test -- tests/unit/storage.test.ts (red before implementation, green after)
  • npm run build --workspace @csshub/shared
  • npm --workspace @csshub/extension run test
  • npm run typecheck

Issue

Fixes #5

Store the GitHub token durably in extension local storage so authenticated users stay connected after browser session storage is cleared.
@vercel

vercel Bot commented Jun 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
css-hub-extension Ready Ready Preview, Comment Jun 17, 2026 3:33pm

Minify custom extension bundles, refresh bundle budgets to the current production baseline, and update Vitest past the critical audit advisory.
Keep the Windows npm shell workaround out of the generic command runner so Fallow's new-code complexity gate passes.
Keep the mocked cssbattleSubmission E2E fixture aligned with the production commit path, which requires a captured preview image before syncing to GitHub.
@MarcoAntolini MarcoAntolini merged commit 7c502de into main Jun 17, 2026
6 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.

[Bug]: Disconnected everyday

1 participant