Abnormal synced commits and new reference records #14272

Open
opened 2025-11-02 11:08:12 -06:00 by GiteaMirror · 5 comments
Owner

Originally created by @imkuang on GitHub (Mar 19, 2025).

Description

Recently I observed some sync records on my Gitea instance as follows:

Image

These records look abnormal (didn't appear before) and only appear in repos I mirrored from gitea.com (these mirrors have been around for a long time, I also have a lot of mirrors from github.com and they have no problems). So I'm not sure if this is a problem with my current version(1.23.5) or with the gitea.com version(1.24.0+dev-463-ge5bb8ba83b ?)

Gitea Version

1.23.5

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?

Official Docker image

Database

SQLite

Originally created by @imkuang on GitHub (Mar 19, 2025). ### Description Recently I observed some sync records on my Gitea instance as follows: ![Image](https://github.com/user-attachments/assets/b9d2628e-8e6c-43df-ba68-b52a826e4587) These records look abnormal (didn't appear before) and **only appear in repos I mirrored from gitea.com (these mirrors have been around for a long time, I also have a lot of mirrors from github.com and they have no problems)**. So I'm not sure if this is a problem with my current version(1.23.5) or with the gitea.com version(1.24.0+dev-463-ge5bb8ba83b ?) ### Gitea Version 1.23.5 ### 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? Official Docker image ### Database SQLite
GiteaMirror added the type/bug label 2025-11-02 11:08:12 -06:00
Author
Owner

@wxiaoguang commented on GitHub (Mar 19, 2025):

IIRC not only one issue mentions that there are too many "mirror" activity records.

@wxiaoguang commented on GitHub (Mar 19, 2025): IIRC not only one issue mentions that there are too many "mirror" activity records.
Author
Owner

@imkuang commented on GitHub (Mar 19, 2025):

I used to get a lot of sync records of pull request references from mirror repositories, such as refs/tags/refs/pull/130/merge or refs/pull/172/head, but they no longer appear (at least for github.com) on v1.23.5. I'm sure I've seen some pull requests for it, but I can't find them yet.

The problem I'm currently reporting is completely new, reference records like 1741518411097028371/tmp_refs/heads/main have never appeared before. I guess they are references used for some purpose inside gitea?

@imkuang commented on GitHub (Mar 19, 2025): I used to get a lot of sync records of pull request references from mirror repositories, such as `refs/tags/refs/pull/130/merge` or `refs/pull/172/head`, but they no longer appear (at least for github.com) on v1.23.5. I'm sure I've seen some pull requests for it, but I can't find them yet. The problem I'm currently reporting is completely new, reference records like `1741518411097028371/tmp_refs/heads/main` have never appeared before. I guess they are references used for some purpose inside gitea?
Author
Owner

@imkuang commented on GitHub (Mar 19, 2025):

I used to get a lot of sync records of pull request references from mirror repositories, such as refs/tags/refs/pull/130/merge or refs/pull/172/head, but they no longer appear (at least for github.com) on v1.23.5. I'm sure I've seen some pull requests for it, but I can't find them yet.

I found it, the previous issue was this: https://github.com/go-gitea/gitea/issues/27961

@imkuang commented on GitHub (Mar 19, 2025): > I used to get a lot of sync records of pull request references from mirror repositories, such as `refs/tags/refs/pull/130/merge` or `refs/pull/172/head`, but they no longer appear (at least for github.com) on v1.23.5. I'm sure I've seen some pull requests for it, but I can't find them yet. I found it, the previous issue was this: https://github.com/go-gitea/gitea/issues/27961
Author
Owner

@lunny commented on GitHub (Mar 19, 2025):

There refs are wired. Have you mirrored from https://gitea.com/gitea/act_runner ?

@lunny commented on GitHub (Mar 19, 2025): There refs are wired. Have you mirrored from https://gitea.com/gitea/act_runner ?
Author
Owner

@imkuang commented on GitHub (Mar 19, 2025):

There refs are wired. Have you mirrored from https://gitea.com/gitea/act_runner ?

Yes, the record in the screenshot is a mirror repo of https://gitea.com/gitea/act_runner

@imkuang commented on GitHub (Mar 19, 2025): > There refs are wired. Have you mirrored from https://gitea.com/gitea/act_runner ? Yes, the record in the screenshot is a mirror repo of https://gitea.com/gitea/act_runner
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#14272