Skip to content

Translations update from Hosted Weblate - #12044

Merged
dhalbert merged 6 commits into
adafruit:mainfrom
weblate:weblate-circuitpython-main
Dec 5, 2026
Merged

dhalbert merged 6 commits into
adafruit:mainfrom
weblate:weblate-circuitpython-main

Conversation

@weblate

@weblate weblate commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

Translations update from Hosted Weblate for CircuitPython/main.

Current translation status:

Weblate translation status

@tannewt

tannewt commented Dec 4, 2026

Copy link
Copy Markdown
Member

Any idea why this is an empty PR?

@dhalbert

dhalbert commented Dec 5, 2026

Copy link
Copy Markdown
Collaborator

Claude (TMI, but you get the idea):

Weblate's branch fell out of sync with main because of a race, and it can't get back in sync on its own. Each time main moves, it adds another merge commit that changes nothing and pushes again. I compared #12044's head with adafruit/main (now a7b41e7): the trees are identical. The PR is six "Merge remote-tracking branch 'origin/main'" commits and nothing else.

What happened (times UTC, Dec 4):

I didn't confirm why Weblate merged an out-of-date main at 22:13. Its fetch may have been stale, or it may have merged a main it had queued earlier.

It has happened before: #11994 on Nov 30 had the same shape: only merge commits, created right after #11993. Merging #11994 is what ended it that time.

Ways out:

  1. Merge Translations update from Hosted Weblate #12044 with a merge commit. This is what worked last time. Afterwards Weblate's branch tip is part of main, so its next update fast-forwards and the empty PRs stop. It changes no files.
  2. Reset the repository in Weblate (repository maintenance → Reset). This drops Weblate's local commits and leaves no empty merge in our history. But it would also throw away any translations made since the last push, so check that the component has nothing pending first.

If it keeps happening, setting Weblate's merge style to rebase would avoid these merge commits altogether. I haven't checked what the setting is now.

@dhalbert
dhalbert enabled auto-merge December 5, 2026 04:13
@dhalbert
dhalbert merged commit f5a9e3e into adafruit:main Dec 5, 2026
10 checks passed
@dhalbert

dhalbert commented Dec 5, 2026

Copy link
Copy Markdown
Collaborator

I think the race condition may come about from merging a whole bunch of PR's quickly. Weblate can't quite keep up and gets out of sync.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants