Skip to content

Remove GitHub token authentication and credential prompts from upload… - #36

Merged
livrasand merged 1 commit into
mainfrom
Remove-GitHub-token-authentication-and-credential-prompts-from-upload-pack-handlers
Feb 20, 2026
Merged

Remove GitHub token authentication and credential prompts from upload…#36
livrasand merged 1 commit into
mainfrom
Remove-GitHub-token-authentication-and-credential-prompts-from-upload-pack-handlers

Conversation

@livrasand

@livrasand livrasand commented Feb 20, 2026

Copy link
Copy Markdown
Owner

…-pack handlers

Eliminado uso de GITHUB_TOKEN y headers Authorization en UploadPackDiscoveryHandler y UploadPackHandler. Removida validación de Authorization y respuesta 401 con WWW-Authenticate que forzaba negociación de credenciales. Eliminado comentario sobre prefijo anon: en ejemplo de clone/fetch en index.html.

Summary by CodeRabbit

  • Bug Fixes

    • GitHub API requests no longer enforce authentication validation, removing 401 errors for missing authorization credentials.
  • Chores

    • Code cleanup and minor refactoring.

…-pack handlers

Eliminado uso de GITHUB_TOKEN y headers Authorization en UploadPackDiscoveryHandler y UploadPackHandler. Removida validación de Authorization y respuesta 401 con WWW-Authenticate que forzaba negociación de credenciales. Eliminado comentario sobre prefijo anon: en ejemplo de clone/fetch en index.html.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@coderabbitai

coderabbitai Bot commented Feb 20, 2026

Copy link
Copy Markdown
Contributor

Caution

Review failed

The pull request is closed.

📝 Walkthrough

Walkthrough

This change removes GitHub token-based authentication from HTTP handlers and eliminates the associated 401 Unauthorized responses. The Authorization header setting and GITHUB_TOKEN environment variable usage have been removed from request handlers. Additionally, a comment line was removed from the HTML template file.

Changes

Cohort / File(s) Summary
Authentication Removal
internal/http/handlers.go
Removed GITHUB_TOKEN environment variable handling, os import, Authorization header setting with base64 encoding, and 401 Unauthorized error responses from UploadPackDiscoveryHandler, UploadPackHandler, and related request paths.
HTML Cleanup
web/index.html
Removed single comment line from anonymous fetch terminal section.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

Poem

🐰 A token once guarded the GitHub gate,
But now it's removed—how light the weight!
No Authorization, no secrets to keep,
The handlers leap forward, clean and deep.
Authentication vanished with a poof,
Simpler flows, no need for proof! 🎉

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch Remove-GitHub-token-authentication-and-credential-prompts-from-upload-pack-handlers

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@livrasand
livrasand merged commit de165bc into main Feb 20, 2026
1 check was pending
@livrasand
livrasand deleted the Remove-GitHub-token-authentication-and-credential-prompts-from-upload-pack-handlers branch February 20, 2026 14:04
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.

2 participants