Skip to content

Fleet dashboard: the canary on jolt, every 15 minutes, published for the page - #11

Merged
burinc merged 31 commits into
mainfrom
fleet-dashboard
Nov 20, 2026
Merged

burinc merged 31 commits into
mainfrom
fleet-dashboard

Conversation

@burinc

@burinc burinc commented Nov 20, 2026

Copy link
Copy Markdown
Member

The fleet check now runs on jolt and publishes what it finds. The results show at https://jlt-commons.github.io/fleet/: each project against its own pin, jolt's latest release and the nightly.

What changes once this merges:

  • The canary polls every 15 minutes instead of hourly, because GitHub only ran the hourly cron three or four times a day. It tests jolt's latest release plus the nightly when that's fresh. The old JOLT_PIN row is gone, and each project's own pin is read from its latest push run instead.
  • Every tick publishes status.json and history.json to the orphan status branch. The commit only happens when something changed, with a heartbeat every six hours so the page can tell quiet from stopped.
  • fan-out proves which jolt each run actually installed, from the job's jolt --version line. A nightly has to match the vnightly commit, and a run on the wrong jolt reads as a mismatch, never a pass.
  • Failures that aren't jolt's fault are kept apart from jolt breaks. That covers a jolt install that failed, a dependency download such as a Maven Central 429, a dispatch that failed, a cancelled run and unreadable logs. The issue names them as such and doesn't call them a regression.
  • A version set that fails is retried once every six hours, not every tick. A new release or nightly still runs on the next tick.
  • All the logic moved from bash in YAML to Clojure under deps.edn, run with jolt fleet:<task> on a pinned jolt (0.8.27, vars.TOOLS_JOLT_VERSION overrides it). The tooling never runs on the jolt under test. jolt test runs the suite.
  • fleet.json replaces the hardcoded list. The fleet is ten projects. raylib-jolt-demo and raylib-ios-demo are listed as excluded until the jlt-commons-ci App can dispatch them.

The open issue #10 is real but isn't a jolt regression. ensemble's :nonode@nohost reads as two forms in every Clojure reader, and the nightly added the def arity check JVM Clojure already has (ensemble#16). #10 closes once ensemble passes on the nightly.

After merging, the JOLT_PIN repository variable is unused and can be deleted. It's also worth counting how many 15-minute ticks GitHub actually runs over the first week.

…rt 2 of the port)

Ports collect.bats (13), publish-status.bats (6, plus a worktree cleanup case)
and refresh-status.bats (3) to clojure.test. The GitHub client sends the token
to api.github.com only and does not follow redirects. test.yml gains a jolt job.
…ads as infra, demos excluded until the App is installed

- fleet.json: raylib-jolt-demo and raylib-ios-demo move to excluded (R34)
- plan outputs tried_key (canary-tried-<versions>-<epoch-hours div CANARY_RETRY_HOURS>),
  a second lookup-only cache restore gates a scheduled tick, and a run whose
  fleet result is not success saves the key (R35)
- the issue groups dispatch-failed with infra (R36)
- bad hour variables warn by name without echoing the value (M1, part)
…ll ends on a wall-clock deadline, a dispatch failure says why

- I1: a green run's job logs are read twice, then infra (could not read logs) instead of mismatch
- I2/R37: cancelled, startup_failure and action_required map to not-run with the conclusion as detail; a manual fan-out queues in the canary concurrency group
- I5: poll until 45 minutes after dispatch by the injected now, then mark the rest timed-out
- I8/R33: first line of gh's output is logged indented and kept as failed_step, token blanked
…6h heartbeat keeps generated_at moving

- I3/R38: collectors mark unreadable rows; build carries the previous pin cell and pin with no history entry, and uncovered rows keep their previous reason; pass, outage, pass, pass leaves no bogus not-run in the pin history
- I4/R39: an unchanged status is still published once the previous generated_at is 6h old; canary.yml comment corrected
…p a publish, tokens are scoped, libyaml is installed only when missing

- I6: report runs on !cancelled() and a proceed plan
- I7: continue-on-error on the three download-artifact steps
- M2: no issues: write at workflow level; the report token mints permission-issues write (plus actions read for the job names), the status and publish-adhoc tokens contents and actions read; input names read from actions/create-github-app-token v3 action.yml
- M4: dpkg -s libyaml-0-2 check with apt-get update in every job that runs jolt, test.yml included
…ts or counts

- M6: no 'seven repositories' or 'five build environments'; incident history rewritten as the rule it justifies (run ids kept where they justify one); 'our own misconfiguration' is neutral; the doubled publish-status: prefix is gone
- the matrix comment no longer says cancelled reads as a failure (R37)
… pass or a recovery

- R40: a cancelled, startup_failure or action_required run stays not-run (detail kept in results.json) but joins the infra output, exits 1, is never counted in 'All N projects build', and the canary report treats it as infra
- R41: the dispatch error line is logged as '  gh: <line>' since the runner trims leading whitespace before parsing commands
- R42: dispatch-failed and untested rows get their own 'Could not run' summary line and a 'could not run (detail)' icon instead of 'Broken by jolt'
@burinc
burinc merged commit a001d85 into main Nov 20, 2026
2 checks passed
@burinc
burinc deleted the fleet-dashboard branch November 20, 2026 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant