Zulip Chat Archive

Stream: mathlib4

Topic: CI "lint style" failure


Bryan Gin-ge Chen (Sep 12 2025 at 11:53):

If you have a PR where the "Lint style" job started failing with some stuff in the logs about references.bib: merging master into your branch should fix this.

The cause is that the linter checking the format of the .bib file was turned off until #29575. (The issues were fixed in master in #29572).

David Loeffler (Sep 13 2025 at 13:30):

I just got a CI failure on the "lint style" step for one of my PR's – CI run here:

https://github.com/leanprover-community/mathlib4/actions/runs/17697069282

I'm puzzled because the output of the "lint style" script doesn't seem to contain any actual error message – all the output looks fine, but it still says Error: Process completed with exit code 1 at the end and I can't work out why.

Michael Rothgang (Sep 13 2025 at 13:31):

The log shows an error: the .bib file is not normalised.

Michael Rothgang (Sep 13 2025 at 13:32):

That one was fixed a few days ago; does merging master fix this?

Bryan Gin-ge Chen (Sep 13 2025 at 13:32):

Indeed, merging master should fix this, see #mathlib4 > CI "lint style" failure

David Loeffler (Sep 13 2025 at 13:36):

Thanks, trying that now! (This would have been easier to debug if the .bib file linter printed an explicit error message "ERROR: .bib file wrongly formatted" rather than, or as well as, outputting the diff into the CI logs.)

Michael Rothgang (Sep 13 2025 at 13:42):

I think doing both would be nice, with the big "error" after the diff.

Bryan Gin-ge Chen (Sep 13 2025 at 13:45):

I think we never added messages like this because the linters used to be in separate named steps; now that they've been combined into one action this is indeed necessary.

I've opened lint-style-action#2 for this, since I probably won't be able to work on this for a while.


Last updated: Dec 20 2025 at 21:32 UTC