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

Closed
opened 2026-10-05 01:40:04 +02:00 by adam · 6 comments
Owner

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.

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. <!-- github-sync-id:3759180773 -->
adam closed this issue 2026-10-05 01:40:05 +02:00
Author
Owner

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

@tcitr-chen are these only on a few or like do you see any patterns here? <!-- github-comment-id:3689486717 -->
Author
Owner

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

Image Image Image Image
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" /> <!-- github-comment-id:3689736318 -->
Author
Owner

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

@tcitr-chen give this image a try `ghcr.io/raylabshq/gitea-mirror:pr-162` <!-- github-comment-id:3691164849 -->
Author
Owner

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

It seems to work, but GitHub pull doesn't seem to sync to gitea. <!-- github-comment-id:3693973133 -->
Author
Owner

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=...
> 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=... <!-- github-comment-id:3694063284 -->
Author
Owner

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
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" /> <!-- github-comment-id:3696361112 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/gitea-mirror#78