go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
43.01k stars 5.31k forks source link

Wrong visualization of Pulls List #31356

Open pasqualejuniorsalma opened 2 weeks ago

pasqualejuniorsalma commented 2 weeks ago

Description

When opening pulls list from the link below

/pulls?q=topics&type=all&sort=&state=open&labels=&milestone=0&project=0&assignee=0&poster=0&archived=false

It incorrectly show some closed pull, this happens only when a pull is searched. In unfiltered visualization this error doesn't happen.

It seems only a list issue since the counter on the tab and the icon on the PR is ok, and the unfiltered list return as closed.

You can see the differences in the following screens:

Immagine 2024-06-13 150205 Immagine 2024-06-13 150119

We recently migrated from 1.18.3 to 1.21.11 when the issue started to show only on pr opened in the new version and then we updated to 1.22.0 today trying to resolve the issue but didn't worked.

Screenshots

Immagine 2024-06-13 150205 Immagine 2024-06-13 150119

Gitea Version

1.22.0

Can you reproduce the bug on the Gitea demo site?

No

Operating System

docker

Browser Version

Chrome 125

lunny commented 2 weeks ago

The index maybe broken or sync is not completed.

yp05327 commented 2 weeks ago

Maybe similar to #30684

you can try https://github.com/go-gitea/gitea/issues/30684#issuecomment-2076847578