Skip to content

Analysis Failed on private repo: 'Not Found - git/refs#get-a-reference' (Pro subscription active) #2

@andydiaz122

Description

@andydiaz122

Environment

  • Repo: andydiaz122/Personal_Website (private)
  • Plan: Pro ($19/seat/month — just subscribed)
  • PRs affected: #3 and #4
  • Branch: theme-warm-lightmain

Error

Every /ecc-tools analyze attempt fails with:

Not Found - https://docs.github.com/rest/git/refs#get-a-reference

The analysis gets past "Analyzing 1000 commits..." then fails within 2 seconds on the ref lookup step.

What We've Tried

  1. Merged origin/main into the feature branch to resolve divergence — branch is now ahead only (0 behind). Did not fix.
  2. Verified all refs resolve via gh api repos/.../git/ref/heads/main — all return 200 OK with our token.
  3. Verified GitHub App permissions — Contents: Read and Write on all repositories.
  4. Upgraded to Pro plan — did not fix the issue.
  5. Cleaned up orphaned ecc-tools/* branches from previous failed runs.
  6. Retried 4+ times across two days (March 29-30, 2026).

Diagnostic Info

Repository: private
Default branch: main
Branches: main, theme-warm-light, theme-dark-improved
PR #4: theme-warm-light → main (40 commits ahead, 0 behind)
All refs resolve via GitHub API with our PAT
No tags exist in the repo
PR #2 (ecc-tools ECC bundle) was previously merged into main

Timeline

Request

Could you check the server logs for andydiaz122/Personal_Website PR #4? The error suggests the app's installation token can't resolve a git ref, but all refs exist and are accessible via the standard GitHub API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions