[GH-ISSUE #161] After importing some issues, the following problems occurred: incorrect open/closed status and missing content synchronization. #76

Closed
opened 2026-02-27 15:54:58 +03:00 by kerem · 6 comments
Owner

Originally created by @tcitr-chen on GitHub (Dec 24, 2025).
Original GitHub issue: https://github.com/RayLabsHQ/gitea-mirror/issues/161

Originally assigned to: @arunavo4 on GitHub.

After importing some issues, the following problems occurred: incorrect open/closed status and missing content synchronization.

Gitea version: 1.25.3
Gitea Mirror version: 3.9.2

The first example

Image Image Image Image Image

The second example

Image Image Image Image

These are just a few issues I found by searching in chronological order; there are many more issues like these.

Originally created by @tcitr-chen on GitHub (Dec 24, 2025). Original GitHub issue: https://github.com/RayLabsHQ/gitea-mirror/issues/161 Originally assigned to: @arunavo4 on GitHub. After importing some issues, the following problems occurred: incorrect open/closed status and missing content synchronization. Gitea version: 1.25.3 Gitea Mirror version: 3.9.2 The first example <img width="2560" height="1359" alt="Image" src="https://github.com/user-attachments/assets/96a64fe7-f88f-4f7f-8e94-e2a4704b38d4" /> <img width="2560" height="1359" alt="Image" src="https://github.com/user-attachments/assets/1210f22b-6717-401b-b8df-0a2bc0a8d783" /> <img width="2560" height="1359" alt="Image" src="https://github.com/user-attachments/assets/19d4c743-d112-4f61-b05d-23f1d1d43c79" /> <img width="2560" height="1359" alt="Image" src="https://github.com/user-attachments/assets/117183b4-31fa-4eb7-96ce-30045b952bde" /> <img width="2560" height="1359" alt="Image" src="https://github.com/user-attachments/assets/0e1e28f8-b8a6-4437-8c65-637ac67874c0" /> The second example <img width="2560" height="1359" alt="Image" src="https://github.com/user-attachments/assets/589e12bb-de4b-4349-aaf1-4a211fe35251" /> <img width="2560" height="1359" alt="Image" src="https://github.com/user-attachments/assets/db5fee90-8229-4fbd-bf84-6a63821e60bd" /> <img width="2560" height="1359" alt="Image" src="https://github.com/user-attachments/assets/2293fc47-f855-404a-aa6e-be8803adc8dc" /> <img width="2560" height="1359" alt="Image" src="https://github.com/user-attachments/assets/bf47560b-55f8-4e20-8b74-5bf155b07682" /> These are just a few issues I found by searching in chronological order; there are many more issues like these.
kerem closed this issue 2026-02-27 15:54:58 +03:00
Author
Owner

@arunavo4 commented on GitHub (Dec 24, 2025):

@tcitr-chen are these only on a few or like do you see any patterns here?

<!-- gh-comment-id:3689486717 --> @arunavo4 commented on GitHub (Dec 24, 2025): @tcitr-chen are these only on a few or like do you see any patterns here?
Author
Owner

@tcitr-chen commented on GitHub (Dec 24, 2025):

I haven't found any patterns yet. I just randomly discovered another one.

Image Image Image Image
<!-- gh-comment-id:3689736318 --> @tcitr-chen commented on GitHub (Dec 24, 2025): I haven't found any patterns yet. I just randomly discovered another one. <img width="2560" height="1359" alt="Image" src="https://github.com/user-attachments/assets/8bd8bd40-84b0-40d9-b553-da53b9b62bd2" /> <img width="2560" height="1359" alt="Image" src="https://github.com/user-attachments/assets/302f657a-9ba2-449d-b293-957c8664ef72" /> <img width="2560" height="1359" alt="Image" src="https://github.com/user-attachments/assets/65e9f9f3-3825-4269-a32c-c5a74962fea1" /> <img width="2560" height="1359" alt="Image" src="https://github.com/user-attachments/assets/e8c2d8c6-510b-4651-b9ef-9efdb3fe8eaa" />
Author
Owner

@arunavo4 commented on GitHub (Dec 25, 2025):

@tcitr-chen give this image a try ghcr.io/raylabshq/gitea-mirror:pr-162

<!-- gh-comment-id:3691164849 --> @arunavo4 commented on GitHub (Dec 25, 2025): @tcitr-chen give this image a try `ghcr.io/raylabshq/gitea-mirror:pr-162`
Author
Owner

@tcitr-chen commented on GitHub (Dec 27, 2025):

It seems to work, but GitHub pull doesn't seem to sync to gitea.

<!-- gh-comment-id:3693973133 --> @tcitr-chen commented on GitHub (Dec 27, 2025): It seems to work, but GitHub pull doesn't seem to sync to gitea.
Author
Owner

@arunavo4 commented on GitHub (Dec 27, 2025):

It seems to work, but GitHub pull doesn't seem to sync to gitea.

@tcitr-chen

  1. Is "Mirror Pull Requests" enabled in their Gitea config settings?
  2. Is this a starred repository? If so, is "Starred Code Only" enabled? (This skips all metadata for starred repos)
  3. What do the logs show? There's a diagnostic line that will reveal exactly which condition is failing:
    [Metadata] Pull request mirroring check: mirrorPullRequests=..., alreadyMirrored=..., isStarred=..., starredCodeOnly=..., shouldMirrorPullRequests=...
<!-- gh-comment-id:3694063284 --> @arunavo4 commented on GitHub (Dec 27, 2025): > It seems to work, but GitHub pull doesn't seem to sync to gitea. @tcitr-chen 1. Is "Mirror Pull Requests" enabled in their Gitea config settings? 2. Is this a starred repository? If so, is "Starred Code Only" enabled? (This skips all metadata for starred repos) 3. What do the logs show? There's a diagnostic line that will reveal exactly which condition is failing: [Metadata] Pull request mirroring check: mirrorPullRequests=..., alreadyMirrored=..., isStarred=..., starredCodeOnly=..., shouldMirrorPullRequests=...
Author
Owner

@tcitr-chen commented on GitHub (Dec 29, 2025):

It seems that the status of issue is normal after import.
Some Pull Requests for projects on Github were imported into Gitea with incorrect open and closed states.
Here are some examples. @arunavo4

Gitea

Image Image

Github url: https://github.com/dotnet/arcade-services/pull/4903

Image Image

second example.

Image Image Image Image
<!-- gh-comment-id:3696361112 --> @tcitr-chen commented on GitHub (Dec 29, 2025): It seems that the status of issue is normal after import. Some Pull Requests for projects on Github were imported into Gitea with incorrect open and closed states. Here are some examples. @arunavo4 Gitea <img width="2560" height="1359" alt="Image" src="https://github.com/user-attachments/assets/a82a011e-4688-4649-864d-bd3a4899f691" /> <img width="2560" height="1359" alt="Image" src="https://github.com/user-attachments/assets/c4db630d-071e-4334-b20a-13004e51c27a" /> Github url: https://github.com/dotnet/arcade-services/pull/4903 <img width="2560" height="1359" alt="Image" src="https://github.com/user-attachments/assets/774b9cfa-83fe-4c6b-96d8-04bcaeac1784" /> <img width="2560" height="1359" alt="Image" src="https://github.com/user-attachments/assets/fa805cd2-7beb-4dd3-8841-568ceae019ee" /> second example. <img width="2560" height="1359" alt="Image" src="https://github.com/user-attachments/assets/03c799b6-c104-43ad-8b72-3775af5eb8a2" /> <img width="2560" height="1359" alt="Image" src="https://github.com/user-attachments/assets/77e9f341-7731-4041-b026-66e572a9f35b" /> <img width="2560" height="1359" alt="Image" src="https://github.com/user-attachments/assets/0784f6d5-8a49-44f1-b5fd-b88fbd8ac7b3" /> <img width="2560" height="1359" alt="Image" src="https://github.com/user-attachments/assets/96d0f8f8-860e-479f-a6b1-69af0b6dea56" />
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/gitea-mirror#76
No description provided.