Skip to content

clawsweeper re-review fails for repos with default branch of 'master' instead of 'main' #252

@kmahone

Description

@kmahone

See this run:
https://github.com/openclaw/clawsweeper/actions/runs/26900824457/job/79352427381

Run set -euo pipefail
fatal: couldn't find remote ref main
Warning: Cached target repository fetch failed; rebuilding cache.
Cloning into bare repository 'openclaw-windows-node-cache.git'...
fatal: Remote branch main not found in upstream origin
Error: Process completed with exit code 128.

This was triggered from this PR:
openclaw/openclaw-windows-node#671

The openclaw-windows-node repo has a default branch of 'master' and does not have a 'main' branch.

The initial review from clawsweeper worked correctly. But the re-review requests failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1Urgent regression or broken agent/channel workflow affecting real users now.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions