Zulip Chat Archive

Stream: mathlib4

Topic: lean/batteries pr comment script fails


Edward van de Meent (Nov 04 2024 at 15:59):

the script for adding comments to lean and batteries PRs saying whether mathlib builds, now errors. presumably since #15996 was merged. See for example this run.

Edward van de Meent (Nov 04 2024 at 16:27):

(I guess somewhat curiously, the CI still appropriately changes the label, it just doesn't add a comment saying something along the lines of "CI succeeded at [insert date]")

Edward van de Meent (Nov 04 2024 at 16:36):

the issue is a typo: in the action, the variable COUNTEREXAMPLE_OUTCOME is set, while the actual script expects COUNTEREXAMPLES_OUTCOME

Edward van de Meent (Nov 04 2024 at 16:37):

should i change the script or the action?

Damiano Testa (Nov 04 2024 at 16:38):

I would use Counterexamples since that is the name of the repo.

Edward van de Meent (Nov 04 2024 at 16:39):

right, i'll make a PR updating the actions then (i read the doc comments, so ill be using mk_build_yml.sh, no worries)

Bryan Gin-ge Chen (Nov 04 2024 at 16:40):

Aha! I guess the action was just silently ignoring the output of the script before #15996 made it stricter. Thanks for noticing and fixing this!

Edward van de Meent (Nov 04 2024 at 16:41):

PR at #18617

Edward van de Meent (Nov 04 2024 at 17:24):

:tada: the fix worked


Last updated: May 02 2025 at 03:31 UTC