google / google/codeworld

Possible race conditions when compiling and running

Aperta
#964 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Haskell
Stelle
1.3k
Fork
201
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I'm seeing this in logs for `/compile` requests:

A web handler threw an exception. Details:
data/haskell/build/Pxx/Pxxxxxxxxxxxxxxxxxxxxxx.basever: openFile: does not exist (No such file or directory)

This indicates that some part of the system thinks the build is done, but there's no basever file. I'm not sure how that could happen. Maybe a race condition of some kind?

I also see this for `/runMsg`:

A web handler threw an exception. Details:
data/haskell/build/Pxx/Pxxxxxxxxxxxxxxxxxxxxxx.err.txt: getFileStatus: does not exist (No such file or directory)

Similar situation: the system thinks that the build is complete, but there's no build output file, which should always be created as part of a build.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.