Skip to content

docs(quickstart): add an always-behind demo row and fix the release badge - #115

Merged
Jumziey merged 2 commits into
mainfrom
docs/quickstart-always-behind-demo
Nov 14, 2026
Merged

Jumziey merged 2 commits into
mainfrom
docs/quickstart-always-behind-demo

Conversation

@Jumziey

@Jumziey Jumziey commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

Summary

The quickstart promised a behind card from chaos.social, but on 2026-10-21 both live rows were green. A fixture row now guarantees one.

 platform-config.apps
   mastodon            current: chaos.social API          latest: github-release           (live, usually behind)
   gitea               current: gitea.com API             latest: oci-registry             (live, usually green)
+  demo-always-behind  current: docs/demo-current.json    latest: github-release           always MAJOR
+                      (fixture, pinned to 2.53.0)        prometheus/prometheus (3.x)

The release badge gets ?include_prereleases. Every release so far is a pre-release, so GitHub reports no latest release and the badge rendered "no releases or repo not found". Drop the parameter once v1.0.0 is cut.

Evidence

  • Before: quickstart API on 2026-10-21, rc.6 images:
    gitea     current 29.0.0+dev-160-g55186ca39b  latest 28.2.0  drift NONE
    mastodon  current 4.7.3                        latest 4.7.3   drift NONE
    
    Badge title: release: no releases or repo not found
    After: same images, fixture served on the compose network:
    demo-always-behind  current 2.53.0  latest 3.15.1  drift MAJOR  outdated true
                        changelogUrl https://github.com/prometheus/prometheus/releases/tag/v3.15.1
    
    Headless screenshot of the board shows the red Major card on top and the two green rows under it.
    Badge title: release: v1.0.0-rc.7
  • Until this merges, the fixture URL returns 404 and the row is listed as Unresolved with a failed current scrape. Verified on the branch: pu2d_scrape_last_failure_timestamp_seconds{app="demo-always-behind",side="current"} is set and pu2d_application_info{app="demo-always-behind",current="",latest="3.15.1"} is exported. After merge the raw URL resolves and the row becomes Resolved.

Merge Danger

Door: two-way

Revert the commit and the row and the fixture are gone. No schema or code change.

Blast Radius: sample config

The kustomize base ships this file as the default ConfigMap, so a default Kubernetes deploy also shows the demo row until the overlay replaces it, which docs/deployment.md already requires. The github-release leg adds one anonymous GitHub API call per scrape, three per hour in total against a limit of sixty.

…adge

The quickstart promised a behind card from chaos.social, but on days when
both live services run the latest release the board is all green. A third
app, demo-always-behind, reads current from a fixture file in this repo
(Prometheus 2.53.0) and latest from Prometheus's GitHub Releases (3.x), so
one MAJOR card is always on the board.

The release badge now includes pre-releases. Every release so far is a
pre-release, so GitHub reports no latest release and the badge rendered
"no releases or repo not found".
@Jumziey
Jumziey merged commit a73c3a5 into main Nov 14, 2026
3 checks passed
@Jumziey
Jumziey deleted the docs/quickstart-always-behind-demo branch November 14, 2026 09:26
@Jumziey
Jumziey restored the docs/quickstart-always-behind-demo branch November 14, 2026 09:27
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