ocurrent / ocaml-ci

A CI for OCaml projects

Home Page:https://ocaml.ci.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clicking on the logs does not give the latest completed log

kit-ty-kate opened this issue · comments

commented

Steps to reproduce:

  • Go to the github page of a project that’s using ocaml-ci (e.g. https://github.com/backtracking/ocamlgraph)
  • Click on the red cross on the latest commit on master, to see what’s wrong
  • Click on details
  • Click on one of the failing logs

The log given shows a run that’s not started yet:

2023-01-06 14:21.41: Waiting for resource in pool OCluster
commented

This can be related to the fact that when we deploy a new version of ocaml-ci on live-engine, it will try to rebuild everything (and mostly use the cache), putting everything in the `Waiting state. Until the build is done and it propagates the new status to ocaml-ci, it keeps the old version of the status (here a red cross).