Skip to content

fleet: a dependency page and /fleet/deps.json - #6

Merged
burinc merged 2 commits into
jlt-commons:mainfrom
yogthos:deps-page
Nov 20, 2026
Merged

burinc merged 2 commits into
jlt-commons:mainfrom
yogthos:deps-page

Conversation

@yogthos

@yogthos yogthos commented Nov 20, 2026

Copy link
Copy Markdown
Member

Adds /fleet/deps.html, which shows how the public jlt-commons and jolt-lang libraries depend on each other. Pick a library to see what it depends on, what depends on it, and the order its dependents have to be retagged in after it gets a new tag. A library that pins two others from the graph waits for the later one.

The same data is published at /fleet/deps.json for tools that roll a release through the graph. Each pin records its dependency symbol and its path in deps.edn, so an updater can rewrite exactly that coordinate. The site build copies the file from ci-builds' status branch (scripts/fetch-deps.mjs). If that fetch fails or the file doesn't look like a graph, it keeps the deployed copy. A new hourly schedule rebuilds the site, and deploys only when the graph changed.

The graph comes from the fleet:deps collector in ci-builds (yogthos/ci-builds branch deps-graph, not yet a PR). Until that is merged and its deps workflow has run, the page says the data could not be loaded and the build warns that deps.json is missing.

Also wraps the nav on narrow screens on both fleet pages, which hand-copy the nav. On a phone it was wider than the screen, and the new link made it worse. jlt-commons/docs-engine#15 fixes the engine-rendered pages. Once a docs-engine tag with that fix is in DOCS_ENGINE_REF, the override here can go.

Tests: node --test test/ (40 pass).

Reads deps.json from ci-builds' status branch. Picking a library shows what
it depends on, what depends on it, and the waves its dependents have to be
retagged in after a new tag. Also wraps the nav on narrow screens on both
fleet pages, where the extra link pushed it wider than a phone.
Tools that roll a library release through its dependents read the graph from
one stable URL. The site build copies it from ci-builds' status branch,
keeping the deployed copy when that fetch fails or does not look like a
graph, and an hourly scheduled build deploys only when it changed. The
dependency page reads the same file.
@burinc
burinc merged commit a098f45 into jlt-commons:main Nov 20, 2026
2 checks passed
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.

2 participants