woodpecker-ci / woodpecker

Woodpecker is a simple, yet powerful CI/CD engine with great extensibility.
https://woodpecker-ci.org
Apache License 2.0
4.17k stars 360 forks source link

Some (Gitea) repositories are not synced #2613

Closed pat-s closed 11 months ago

pat-s commented 11 months ago

Component

server

Describe the bug

I don't know yet why and how, but there's a bug in the repo syncing with Gitea (or maybe in general but the following report is from Gitea).

I've seen this in the past in different characteristics but now I am facing it again. And I am a bit out of ideas after 2 hours.

Scenario:

  1. Create new Gitea org
  2. Create two repos
  3. Go to WP and click "add repos"
  4. Only one repo shows up

Even after logout/login, same issue. Same issue also when directly checking via the API (which is expected as there's nothing but an API call in the background when syncing repos).

Same user as the one which provides the WP - Gitea connection (and yes, the Gitea PAT is from an Gitea admin user and is in fact the same user as the one facing the issue).

Set the server log level to "DEBUG" but no relatable entries.

Relates to https://github.com/woodpecker-ci/woodpecker/discussions/2491

System Info

next-7b3eeec65c (Oct 17th)

Additional context

No response

Validations

qwerty287 commented 11 months ago

upstream issue https://github.com/go-gitea/gitea/issues/27891