Skip to content

Data CI and Signed Snapshots

ao3575911 edited this page Oct 30, 2026 · 1 revision

Data CI and Signed Snapshots

Weekly data CI

.github/workflows/data.yml runs every Monday at 02:17 UTC (10:17 Perth) and on demand.

Step What happens
Restore Last week's base from the Actions cache
Rebuild langsuite base build from PLDB and Linguist
Docs links langsuite inclusion check (flag, archive after 14 days)
Gate langsuite --json base changelog --check: any score moving more than 15 points blocks publishing
Blocked Opens a data issue "Data CI: score jumps block publishing" with a table, and fails
Sign base publish only when a signing key is configured
Artifacts changelog.json and dist/snapshot

Changelog

langsuite base changelog          # every fact and score change between two snapshots
$ langsuite base changelog
error: Need two snapshots to compare.
hint: See `langsuite base snapshots`.

Signed snapshots

Command Role
langsuite base publish OUT --key cosign.key Maintainers/CI: pack and sign (snapshot.tar.gz + .sig)
langsuite base pull SOURCE [--key pub.pem] Users: install from an https URL or folder after checking the signature; the old base is kept

base pull refuses unsigned or tampered snapshots. Signatures are cosign-compatible ECDSA. The public key can come from LANGSUITE_SNAPSHOT_KEY.

Status: no signing key has been issued yet (#18), so CI does not publish snapshots today. Build locally with base build.

Clone this wiki locally