Skip to content

Promote zola-export-smoke.sh to a gated CI job (follow-up to #378) #392

@avrabe

Description

@avrabe

Follow-up to #378, which is now resolved on the script side: scripts/zola-export-smoke.sh exists (merged in #391, REQ-138) and runs the full export → zola build → absolute-link check under a sub-directory base_url.

What remains is wiring it as an automatic CI gate so the REQ-115/116/118 link-regression class is caught without anyone remembering to run the script.

Why it wasn't done in #391

The existing Docs Check / Test jobs run on [self-hosted, linux, x64, rust-cpu] and have no zola-install step anywhere in .github/workflows/ to reuse. I declined to commit a fresh zola-install workflow step I couldn't execute/verify on the runners (a blind workflow change can silently break or no-op — worse than not having it).

Suggested approach

Add a job (mirroring docs-check) that:

  1. installs a pinned zola release (e.g. download the getzola/zola tarball to a temp dir and add to PATH), then
  2. RIVET_BIN=… scripts/zola-export-smoke.sh (or let the script build release itself).

Start it as continue-on-error: true (advisory, like the Kani/Verus jobs) until the install step is proven stable on the runners, then promote to a hard gate. The script already exit 0-skips when zola is absent, so a missing-install never turns into a false failure.

Whoever has access to confirm the self-hosted runner can fetch/run zola should land this; it's a ~15-line workflow addition on top of the merged script.

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