Skip to content

Gitea read refuses a 64-character SHA-256 commit ID as a missing branch #523

Closed

Description

@ephico2real2

Parent: #494. Found by Fable (reviewer 2 of PR #499), 2026-11-21.

What is wrong. The Gitea reader accepts only a 40-character SHA-1 as a commit ID (core/git/base.py is_commit_id), so a repository using SHA-256 object IDs (64 hex characters; Gitea supports SHA-256 repositories) has a pinned commit read refused as "branch does not exist".

Fix and test in PR #499 (m1.patch, workbench/cmapi/mayday/i499-r2/): the test fails before and passes after.

Activity

  1. added
    bug
    sev:low
    In-Progress
    on Nov 21, 2026
  2. added a commit that references this issue on Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    In-Progressbugsev:low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions