Skip to content

Compliance reports lost the version switcher + back-link (0.15.0 vs 0.1.0): release/compliance.yml don't pass homepage/other-versions #420

@avrabe

Description

@avrabe

Reported by the maintainer: the published compliance report for 0.15.0 (pulseengine.eu/reports/rivet/0.15.0/compliance/) has no version selector and no "way back" navigation, both of which 0.1.0 has.

Diagnosis (traced through this repo)

The report generator is intact — nothing was removed:

  • rivet export --format html still supports --homepage <url> (the "← back" link), --versions '[{label,path},…]' (the version-switcher dropdown), and --version-label (rivet-cli/src/main.rs:603–634). These are written into the report's config.js, which the page reads at runtime.
  • The compliance action exposes them as homepage / other-versions / report-label inputs (.github/actions/compliance/action.yml:199–214), adding the flags only when non-empty.

The regression is that the inputs aren't supplied:

  1. release.yml build-compliance passes none of them (only theme / single-page / include-data-formats), and merely uploads the report as a GitHub artifact — it doesn't publish to pulseengine.eu/reports/.
  2. The reusable compliance.yml workflow doesn't even expose other-versions or report-label (only version/homepage/theme/offline) — so any caller using it cannot produce a switcher.
  3. The actual publishing to reports/rivet/<ver>/ happens in a separate pulseengine.eu site pipeline (not in this repo). That's the only layer that knows the full version list, so the cross-version switcher must be populated there. The 0.1.0→0.15.0 regression is in that pipeline (it stopped passing --homepage/--versions or writing them into config.js).

Also found

pulseengine.eu's TLS certificate is expired — the report URLs don't load at all (certificate has expired). Worth renewing.

Fix

  • Root cause (site repo, not here): when publishing each report, pass --homepage https://pulseengine.eu/… and --versions '[…all versions…]', then re-run over 0.15.0 (+ back-fill).
  • In this repo (ergonomic gaps that make the trap easy) — REQ-163, PR incoming:
    • add other-versions + report-label passthrough inputs to the reusable compliance.yml so a caller can get a switcher;
    • give release.yml's compliance step a default homepage so even the GH-artifact report has a back-link.

Found while answering the maintainer's question during the dogfooding loop.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions