ocurrent / ocaml-ci

A CI for OCaml projects
https://ocaml.ci.dev
111 stars 75 forks source link

Web UI doesn't show log output, but CLI does #938

Open talex5 opened 3 months ago

talex5 commented 3 months ago

Context

I'm looking at the Analysis logs for a job (https://ocaml.ci.dev/github/ocaml-multicore/eio/commit/3b2a67966ec5e69c9c059385321f055f4a18037d/variant/%28analysis%29), and I don't see any output:

Screenshot 2024-05-28 at 11-17-16 OCaml-CI

However, I can see the output so far using the CLI:

$ ocaml-ci ocaml-multicore/eio pull/733/head '(analysis)' log
2024-05-28 09:47.45: New job: Analyse
2024-05-28 09:47.45: Waiting for resource in pool analyse
2024-05-28 09:47.51: Got resource from pool analyse
2024-05-28 09:47.51: Solving with opam-repository commit: https://github.com/ocaml/opam-repository.git#refs/heads/master (51468f1203ccf0154f282d88931580be863197e2)
2024-05-28 09:47.51: Waiting for worker…
Building on arm64-jade-1.equinix.ci.dev-10
2024-05-28 09:49.36 [INFO] Solving for deps_for_opam_dune_lint.opam,
                           eio_windows.dev, eio_posix.dev, eio_main.dev,
                           eio_linux.dev, eio.dev

So, this seems to be a bug with the web UI rather than a problem with the ocaml-ci service itself.

Oddly, once some actual results arrive e.g. 2024-05-28 10:19.23 [INFO] debian-12-4.02_opam-2.1: eliminated all possibilities in 22.57 s, they do show up in real-time in the web UI!

Step(s) to reproduce

The mysterious missing log thing happens quite regularly when an analysis job is delayed.

Expected behaviour

The web UI should show all of the job's log output so far immediately.

Technical details

Happened on Firefox and Chromium.