Skip to content

GitHub connector indexing succeeds in logs but documents not available in "Manage Documents" #307

@ramezquitao

Description

@ramezquitao

Description:
I tried setting up the GitHub connector, but even though indexing tasks appear successful in the logs, the repository documents do not appear under Manage Documents, and querying always results in 0 related documents.

Steps to Reproduce:

  1. Perform manual installation of SurfSense.
  2. Create a GitHub personal access token with the following permissions:
    • Access to all repositories owned by me
    • Read access to code, issues, and metadata
    • No user permissions
  3. Configure the GitHub connector in SurfSense with the token.
  4. Index a repository.
  5. After indexing:
    • Logs show successful connector_indexing_tasks.
    • On the connectors page, "Last Indexed" is initially updated.
    • After refreshing the page, "Last Indexed" reverts to "Never."
  6. Go to Manage Documents → No documents listed, and queries return 0 results.

Expected Behavior:
After successful indexing, repository files should:

  • Appear in Manage Documents
  • Stay recorded in the connectors page (with correct "Last Indexed" date)
  • Be retrievable when querying the repo

Actual Behavior:

  • Logs report successful indexing.
  • Manage Documents remains empty.
  • Connectors page initially shows a "Last Indexed" date, but after refresh it reverts to "Never."
  • Queries return "0 related documents."

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions