Zulip Chat Archive
Stream: new members
Topic: Troubleshooting github actions and blueprint compilation
Laura Monk (Nov 06 2025 at 11:18):
Hello!
I have been setting up a new project (here) using this template. Unfortunately I have been having a lot of red dots in the action section, which mostly leave me very puzzled. I never really know what to do, whether there is something actually wrong or just a little change that needs to be made. So, I guess, my question is: how do I proceed when the actions do not work? I think the only thing I changed recently is the blueprint and it does not compile any more, which is a bit mysterious to me. But it is not the first time and I would like to have a smoother experience setting up the project.
Kevin Buzzard (Nov 07 2025 at 09:38):
Ooh -- I had the exact same problem in one of my repos. Here's a thread about it .
Kevin Buzzard (Nov 07 2025 at 09:42):
@Pietro Monticone are you able to advise?
Ruben Van de Velde (Nov 07 2025 at 09:48):
Looks like --global-option was removed: https://github.com/pypa/pip/issues/11859
Kevin Buzzard (Nov 07 2025 at 09:51):
Right -- but this has already been fixed here https://github.com/leanprover-community/docgen-action/pull/11/files
Ruben Van de Velde (Nov 07 2025 at 09:52):
Ah, but @Laura Monk seems to have copied the blueprint workflow from somewhere rather than using that action
Ruben Van de Velde (Nov 07 2025 at 09:53):
I suspect that if you copy the file at https://github.com/ImperialCollegeLondon/FLT/blob/96f5ac1c6c21628f3a5ec931086ebbbadbb84a05/.github/workflows/blueprint.yml (replacing any occurrences of "FLT"), it will work again
Laura Monk (Nov 08 2025 at 18:56):
Thank you very much for looking into this! I'll try this on Monday and will let you know.
Pietro Monticone (Nov 09 2025 at 11:26):
Hi @Laura Monk, sorry for the delayed response. I'll open a PR fixing the issue soon.
Pietro Monticone (Nov 09 2025 at 11:31):
Done https://github.com/lauramonk/FriedmanStrongConv/pull/5
Pietro Monticone (Nov 09 2025 at 12:18):
PS: I’ll soon open a PR on LeanBlueprint to update the entire template and integrate all the new actions we have developed.
Once that is merged, I will update the LeanProject README accordingly, so that this issue is resolved for all new projects.
Laura Monk (Nov 10 2025 at 15:14):
Hi @Pietro Monticone, thank you so much for looking into this and the fixes! And, more generally, the template: it is helping tremendously with getting started in this new project, I am very excited.
Laura Monk (Nov 10 2025 at 15:19):
Ok, I merged the PRs but it looks quite unhappy now (many errors). Not sure if I was supposed to do something different?
Pietro Monticone (Nov 10 2025 at 15:21):
The PR solved the issue mentioned above, but not all the other issues I didn't know about :sweat_smile:.
Laura Monk (Nov 10 2025 at 15:22):
Makes sense! I'll try and chase the errors :)
Laura Monk (Nov 10 2025 at 15:22):
I guess a lot are due to me, but I am also getting a whole block of
Warning: Unknown package «doc-gen4», predicted module name: «docGen4». If this is the wrong module name and causes a cache miss, please open an issue on leanprover-community/docgen-action.
Pietro Monticone (Nov 10 2025 at 15:23):
There is a simple checkdecls error. It's telling you that some declarations (LocallyFiniteAt, degree, LocallyFinite, IsRegularOfDegree) are missing in your Lean codebase.
Laura Monk (Nov 10 2025 at 15:25):
Thanks, do you think that's it? I got concerned by the warnings at the beginning (Unknown package «doc-gen4», predicted module name: «docGen4" etc)
Pietro Monticone (Nov 10 2025 at 15:26):
The other one can be easily fixed by removing the unnecessary [[require]] field in your lakefile.toml as follows:
name = "FriedmanStrongConv"
defaultTargets = ["FriedmanStrongConv"]
[leanOptions]
pp.unicode.fun = true
autoImplicit = false
relaxedAutoImplicit = false
[[require]]
name = "mathlib"
git = "https://github.com/leanprover-community/mathlib4.git"
rev = "v4.23.0-rc2"
[[require]]
name = "checkdecls"
git = "https://github.com/PatrickMassot/checkdecls.git"
- [[require]]
- name = "«doc-gen4»"
- git = "https://github.com/leanprover/doc-gen4"
- rev = "main"
[[lean_lib]]
name = "FriedmanStrongConv"
Pietro Monticone (Nov 10 2025 at 15:27):
I can open a quick PR right now to fix the last one mentioned.
Laura Monk (Nov 10 2025 at 15:27):
I'll fix it now thank you!
Pietro Monticone (Nov 10 2025 at 15:27):
Ok, great. You're welcome.
Laura Monk (Nov 10 2025 at 15:50):
It's green :tada:
Pietro Monticone (Nov 10 2025 at 15:55):
Great! Happy to help.
Laura Monk (Dec 11 2025 at 14:59):
Hi, Unfortunately the CI broke again today here, not sure how (I had only changed a few references as it did). I tried to update, probably made a mess, tried to use the blueprint workflow from FLT as suggested above, but it is still red. Could I please ask for help?
Pietro Monticone (Dec 11 2025 at 15:02):
I’ll take a look at it later today.
Laura Monk (Dec 11 2025 at 15:04):
Thank you!
Bryan Gin-ge Chen (Dec 11 2025 at 16:13):
This looks like it's most likely related to some ongoing issues with github:
I suspect this will go away on its own after a few hours.
Laura Monk (Dec 11 2025 at 16:20):
Oh, thanks, I had a look there but it had not been posted yet. Fingers crossed!
Laura Monk (Dec 11 2025 at 20:36):
All good now thank you and sorry for the freak-out!
Last updated: Dec 20 2025 at 21:32 UTC