Skip to content

fix(ci): liczba na badge blast-radius czytana jako liczba, nie jako kod - #162

Merged
msgwing merged 1 commit into
mainfrom
badge-thousands
Aug 17, 2026
Merged

msgwing merged 1 commit into
mainfrom
badge-thousands

Conversation

@msgwing

@msgwing msgwing commented Aug 17, 2026

Copy link
Copy Markdown
Owner

Pierwszy badge, jaki ten workflow w ogóle opublikował, brzmiał 24960 files. Grupowanie pochodziło z printf "%'d", które w locale C używanym przez runnera po prostu nie grupuje — a nikt tego wcześniej nie widział, bo krok nigdy nie dobiegł do końca.

To jest nagłówkowa liczba całej narracji o skali problemu. 24 960 czyta się jak wielkość, 24960 jak identyfikator.

Grupowanie przez sed, niezależne od locale. Przetestowane: 24960 → 24 960, 22080 → 22 080, 999 → 999, 1234567 → 1 234 567.

The first badge this workflow ever published read "24960 files". The
grouping came from printf "%'d", which does not group in the C locale the
runner uses, and nobody had seen the output before because the step had
never once run to completion.

This is the headline number of the entire blast-radius argument. "24 960"
reads as a quantity; "24960" reads as an identifier. Grouped with sed
instead, which does not care about the locale.
@msgwing
msgwing enabled auto-merge August 17, 2026 20:27
@github-actions github-actions Bot added the ci label Aug 17, 2026
@msgwing
msgwing merged commit 28fb7d4 into main Aug 17, 2026
35 checks passed
@msgwing
msgwing deleted the badge-thousands branch August 17, 2026 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant