Skip to content

Fix public GitHub analysis without hosted session config - #11

Merged
alihd-tech merged 2 commits into
mainfrom
fix/public-analysis-session
Sep 21, 2026
Merged

alihd-tech merged 2 commits into
mainfrom
fix/public-analysis-session

Conversation

@alihd-tech

Copy link
Copy Markdown
Owner

Fix

Public username reports were still initializing the strict hosted session helper inside /api/analyze?username=....

In production, a deployment without SESSION_SECRET could therefore render the public profile header successfully but fail the client-side analysis request before GitHub analysis began.

Changes

  • public username analysis now uses the optional session helper
  • private signed-in dashboard keeps strict session enforcement
  • session/token reuse still happens only when the visitor is analyzing their own account
  • the entire analysis handler is inside the error boundary
  • the dashboard now surfaces HTTP/server details instead of collapsing non-JSON failures into Unknown error

No private-token behavior or analytics calculation is changed.

@vercel

vercel Bot commented Sep 21, 2026

Copy link
Copy Markdown

Deployment failed for project coder with the following error:

Resource is limited - try again in 24 hours (more than 100, code: "api-deployments-free-per-day").

Learn More: https://vercel.com/alihdtechs-projects?upgradeToPro=build-rate-limit

@alihd-tech
alihd-tech merged commit 201d6f0 into main Sep 21, 2026
1 of 2 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.

1 participant