Zulip Chat Archive

Stream: nightly-testing

Topic: test failure due to warning: manifest out of date


Joachim Breitner (Jun 03 2024 at 13:03):

The mathlib lean pr CI test at https://github.com/leanprover-community/mathlib4/actions/runs/9349390412/job/25730574569 fails with

warning: manifest out of date: git revision of dependency 'batteries' changed; use `lake update batteries` to update it
Test succeeded with noisy output: ./test/Inhabit.lean

which seems unrelated to my PR. Is this already on anyone's radar?

Kim Morrison (Jun 03 2024 at 23:35):

Ah, I had noticed this, but not fixed it. It is a combination of stricter testing of noisy-ness at Mathlib, and the fact that we had been updating the require statement in mathlib lean-pr-testing-NNNN branches, but without running lake update.

lean#4333 should hopefully address the later. (Although it is a bit scary running lake update in automation!)

Kim Morrison (Jun 03 2024 at 23:35):

I think I will also adjust Mathlib's testing framework so manifest out of date warnings don't cause tests to fail.

Kim Morrison (Jun 03 2024 at 23:44):

batteries#818

Kim Morrison (Jun 03 2024 at 23:50):

And addressing this from yet another direction, let's run lake update on the nightly-testing branch automatically: #13488

Kim Morrison (Jun 04 2024 at 00:07):

And #13489 will start Mathlib regularly updating its dependencies (via a PR, which will stay open if it fails, thereby blocking future automatic updates). I've been wanting this for a while, as I think I do the majority of lake updates in Mathlib still, and would like to not! :-)

Kim Morrison (Jun 04 2024 at 00:12):

And this has been updated to post on zulip about failures, too.


Last updated: May 02 2025 at 03:31 UTC