Skip to content

PRs migrated from CodeCommit cause 500 errors when trying to open them in the UI post-migration #34627

Open
@tfmm

Description

@tfmm

Description

When I try to open any of the PRs I migrated from CodeCommit, they all 500 with: 2025/06/06 14:11:12 .../web/repo/issue_view.go:913:preparePullViewReviewAndMerge() [E] GetDefaultMergeMessage: object does not exist [id: refs/heads/Repo, rel_path: ]

I poked around in the database and found that the merged_commit_id in the PRs table is empty for all of these migrated PRs.

Gitea Version

1.24 nightly

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

Docker on Fedora 42.

Database

PostgreSQL

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions