Repository navigation
ci(translations): compare babel-extract against the parent of the checked-out commit - #45794
Merged
sadpandajoe merged 3 commits intoOct 28, 2026
Merged
Conversation
aozmekik
requested review from
betodealmeida,
dpgaspar,
eschutho,
geido,
hainenber,
kgabryje,
mistercrunch,
msyavuz,
nytai,
rusackas,
sadpandajoe,
sha174n and
villebro
as code owners
October 27, 2026 16:52
1 of 9 tasks
Contributor
hainenber
reviewed
Oct 27, 2026
hainenber
approved these changes
Oct 27, 2026
hainenber
left a comment
Contributor
There was a problem hiding this comment.
It's a LGTM. Thanks, once more.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SUMMARY
babel-extracttakes its baseline from the tip of the base branch when the job starts, while the checkout is the merge ref GitHub built when the event fired. If something lands on master in between, the job counts that change against the PR. After #45741 de-fuzzed 196 Turkish entries, the queued runs for #45709 and #45640 and the master push run for ff0af9c failed withtr: 196 confirmed translation(s) invalidated, although none of them touch translations.On a direct push the fetch gets the branch tip too, so the pushed commit is usually compared with itself rather than with the previous commit.
This uses the first parent of
$GITHUB_SHAas the baseline: the base commit of the merge ref for a PR, the previous commit for a push.TESTING INSTRUCTIONS
I ran the job's steps (
babel_update.shon both sides, thencheck_translation_regression.py) on 6cfbbe2, the #45709 merge ref from the failing run, and on ff0af9c:tr: 196 confirmed translation(s) invalidated, same as CI$GITHUB_SHA^1(ff0af9c and 3d1273b):No translation regressions.,tr: translated 4046 -> 4046 (+0), fuzzy 795 -> 795 (+0)ADDITIONAL INFORMATION