Zulip Chat Archive

Stream: mathlib4

Topic: !4#2983 #port-dashboard race condition


Eric Wieser (Mar 19 2023 at 00:26):

We've ended up with an unfortunate race condition in this PR. The sequence of things that happened was:

  • The PR was not ready to port
  • @Yury G. Kudryashov made a PR (#18608) that would make it ready to port
  • The port dashboard reads in the latest mathlib3 and declares it ready-to-port
  • @Moritz Doll dutifully makes a PR, but mathport still has the old not-ready-to-port version

Eric Wieser (Mar 19 2023 at 00:28):

I guess the easy solution is to have #port-dashboard perform the dependency analysis on the version mathport was last run on; but then that information will be more stale than it currently is

Moritz Doll (Mar 19 2023 at 01:29):

In this case it is not a big problem, but generally it might be annoying. Although I don't know whether it is worth the effort to fix this.

Jireh Loreaux (Mar 19 2023 at 01:36):

I expect that this will be sufficiently rare that we should not go out of our way to fix it.

Eric Wieser (Mar 19 2023 at 02:00):

Maybe we should just use #port-comments at step 2 to record what's going on in future

Jeremy Tan (Mar 19 2023 at 10:35):

https://github.com/leanprover-community/mathlib4/actions/runs/4459289886 this workflow for !4#2983 has been building for 4+ hours and yet has not reached a conclusion

Jeremy Tan (Mar 19 2023 at 10:36):

Somebody needs to stop it manually or we'll hit usage limits

Eric Wieser (Mar 19 2023 at 10:39):

It's running on servers we own, there are no usage limits relevant here.

Eric Wieser (Mar 19 2023 at 10:40):

Probably the server finished but lost connection to github and couldn't report it, so I guess it doesn't matter that you hit "cancel".

Jeremy Tan (Mar 19 2023 at 10:42):

Now what should we do about the non-terminating workflow?

Jeremy Tan (Mar 19 2023 at 10:44):

never mind, it was terminated

Jeremy Tan (Mar 19 2023 at 11:51):

image.png Currently the new file hangs on this theorem, at least locally


Last updated: Dec 20 2023 at 11:08 UTC