ci: record v0.1.0-beta.1 pipelines and print the shipped binary digest
ci/woodpecker/push/main Pipeline was successful

- docs/evidence/ci-beta-1.md: pipeline #1 (push), #3 (tag), #4 (manual real-CLI
  contract) with commits, durations, URLs and log evidence
- RELEASE/STATUS: beta CI + prerelease results; archive digest comparison and
  why tar archives are not claimed reproducible
- package lane prints sha256sum of the shipped binary so the executable digest
  is comparable across environments
This commit is contained in:
marqdo-prove committed 2026-11-26 13:00:45 +08:00
1 parent 1a9f3a4c78
commit 44e202e910
4 files changed
+124 -3

No files matched your search

+13 -3
View File
@@ -150,11 +150,21 @@ Filled in after the release push and CI run; see also
| Tool bundle | `marqdo-prove-tool/` (2.7 MiB uncompressed: binary, manifest, pinned `lean/` sources; toolchain/Mathlib installed separately) |
| Tool bundle archive | `marqdo-prove-v0.1.0-beta.1-x86_64-unknown-linux-gnu-tool.tar.gz` (929,877 bytes) |
| Artifact archive SHA-256 | `faa46e93a26538608eb80e9157ee19b4610b456ba5d784eab43070352f88ea40` |
| Woodpecker pipeline (push/tag, SHA) | *pending* |
| Gitea prerelease | *pending* |
| Woodpecker push pipeline | **#1 success** (61 s), commit `1a9f3a4c` — https://ci.cflmy.cn/repos/5/pipeline/1 |
| Woodpecker tag pipeline | **#3 success** (86 s), tag `v0.1.0-beta.1` — https://ci.cflmy.cn/repos/5/pipeline/3 |
| Woodpecker manual real-CLI contract lane | **#4 success** (69 s) — built `marqdo 3.0.0-rc.4` from source; 3 + 11 contract tests passed — https://ci.cflmy.cn/repos/5/pipeline/4 |
| Gitea prerelease | **created** (prerelease, tag `v0.1.0-beta.1`) — https://git.cflmy.cn/cflmy/marqdo-prove/releases/tag/v0.1.0-beta.1 |
The same archive and `SHA256SUMS` are rebuilt and printed by the CI `package`
lane, so the committed digest can be compared with the CI log.
lane. CI reported
`6231edd46519b98594062133f337fc516180a4e4554ae473faadfd64898b86ce` for the
archive; it differs from the local digest because `tar` embeds file metadata and
we do not claim a reproducible tar. The executable digest is the identity that
matters: a follow-up commit prints `sha256sum dist/marqdo-prove-tool/bin/marqdo-prove`
in the CI package log.
Full pipeline numbers, log excerpts and release objects:
[`docs/evidence/ci-beta-1.md`](evidence/ci-beta-1.md).
## 9. Security notes
+19
View File
@@ -110,6 +110,25 @@ cargo test # see counts below
| `tests/document_contract.rs` (no-target, shape errors, unsupported/invalid formulas, missing/external links, cycles, `--unit`, upstream static failure, root escape) | 11 passed |
| `tests/e2e.rs` (Lean-backed, `#[ignore]`) | 11 passed: 271.39 s, and 298.70 s re-run after the beta version bump |
## CI evidence (beta)
The `v0.1.0-beta.1` release was pushed and executed on the real Woodpecker CI
repository (`ci.cflmy.cn`, repo id 5, commit `1a9f3a4c`):
- push pipeline **#1 success** (61 s): `fmt`, `clippy -D warnings`,
`cargo test --locked` (69 unit + 3 analysis + 11 document + 12 formula),
release build, `--version`, tool-bundle packaging.
- tag pipeline **#3 success** (86 s): same lane for tag `v0.1.0-beta.1`.
- manual contract pipeline **#4 success** (69 s): clean container cloned and
built the real `marqdo-cli`, verified `marqdo 3.0.0-rc.4`, and ran
`analysis_document` (3) and `document_contract` (11) against it.
- Gitea prerelease created for the tag; Woodpecker repository activated through
the API; CI secret injected as a repository secret (never in git).
The Lean-backed `tests/e2e.rs` suite is still executed only on the dedicated
environment recorded above; the shared CI runner does not carry the pinned
Mathlib backend. Full detail: [`docs/evidence/ci-beta-1.md`](evidence/ci-beta-1.md).
## Tool installation evidence
`scripts/package-tool.sh` assembled a bundle (`bin/marqdo-prove`, `tool.json`,
+91
View File
@@ -0,0 +1,91 @@
# CI evidence: v0.1.0-beta.1
Executed Woodpecker CI for the `v0.1.0-beta.1` beta on the shared docker runner
(`ci.cflmy.cn`, Woodpecker `3.20.1`). This file records pipeline numbers,
commits, results and log excerpts. No credentials are recorded here; the
Woodpecker token and the Gitea token live only in the local ignored
`.secrets/release.env` and as a Woodpecker repository secret.
Repository: `cflmy/marqdo-prove` (Gitea id 6, Woodpecker repo id 5).
Release commit / tag: `1a9f3a4c787b930f46d0f996d0e23fbf69f2da22`,
tag `v0.1.0-beta.1`.
## Pipelines
| # | Event | Commit | Result | Duration | URL |
| --- | --- | --- | --- | --- | --- |
| 1 | push (`master`) | `1a9f3a4c` | success | 61 s | https://ci.cflmy.cn/repos/5/pipeline/1 |
| 3 | tag (`v0.1.0-beta.1`) | `1a9f3a4c` | success | 86 s | https://ci.cflmy.cn/repos/5/pipeline/3 |
| 4 | manual (`contract.yml`) | `1a9f3a4c` | success | 69 s | https://ci.cflmy.cn/repos/5/pipeline/4 |
Pipeline 2 was not created for this release; the numbers are Woodpecker's
repository-wide counter (the same runner also serves other repositories).
## What each lane proved
### Push / tag lane `main.yml`
Steps: `clone`, `test`, `package` — all exit 0.
`test` executed in a clean `rust:1.100-bookworm` container:
- `cargo fmt --all -- --check` — passed
- `cargo clippy --all-targets -- -D warnings` — passed
- `cargo test --locked` — passed, with the same suite counts as the recorded
local environment:
- library unit tests: **69 passed, 0 failed**
- `analysis_document`: **3 passed, 0 failed**
- `document_contract`: **11 passed, 0 failed**
- `formula_contract`: **12 passed, 0 failed**
- doc-tests: 0
- e2e suite: correctly reported as 11 ignored (the shared runner does not
carry the 7.5 GiB pinned Lean/Mathlib backend; see `docs/RELEASE.md` §5)
- `cargo build --release --locked` and `./target/release/marqdo-prove --version`
printed `marqdo-prove 0.1.0-beta.1`
- `package` assembled `dist/marqdo-prove-tool` via `scripts/package-tool.sh`,
archived it and printed `SHA256SUMS`:
`6231edd46519b98594062133f337fc516180a4e4554ae473faadfd64898b86ce marqdo-prove-v0.1.0-beta.1-x86_64-unknown-linux-gnu-tool.tar.gz`
The tag pipeline is the same lane for the tagged commit.
The archive digest differs from the local archive digest
`faa46e93a26538608eb80e9157ee19b4610b456ba5d784eab43070352f88ea40`
because `tar` stores time/ownership metadata; tar archives are not claimed to be
reproducible. A later commit adds `sha256sum` of the shipped binary itself to the
CI package log so the executable digest can be compared across environments.
### Manual lane `contract.yml` (real upstream CLI)
The shared runner cloned `https://git.cflmy.cn/cflmy/marqdo-cli`, built the real
`marqdo-cli` package, verified `marqdo 3.0.0-rc.4`, and ran Prove's real-CLI
contract tests against it:
- `/tmp/marqdo-cli/target/release/marqdo --version` → `marqdo 3.0.0-rc.4`
- `cargo test --locked --test analysis_document --test document_contract` →
**3 passed, 0 failed** and **11 passed, 0 failed**
This closes, in CI, the clean-container real-CLI integration check that was only
recorded locally in `docs/STATUS.md`: emitted `marqdo.analysis` revision 3 is
consumed by Prove and the negative contract cases fail with the documented
diagnostic codes.
## Release objects
- Gitea prerelease:
https://git.cflmy.cn/cflmy/marqdo-prove/releases/tag/v0.1.0-beta.1
(created via the Gitea API, `prerelease: true`, tag `v0.1.0-beta.1` pointing at
`1a9f3a4c`).
- Woodpecker repository was activated through the API
(`POST /api/repos?forge_remote_id=6`) before the push; the second, idempotent
activation from `scripts/release-beta.sh` returned HTTP 409 (already active).
- CI secret `marqdo_ci_secret` was stored as a Woodpecker repository secret
scoped to `push`, `tag`, `pull_request`, `manual`; no secret value is in git.
## What CI did not cover (and why)
The Lean-backed acceptance suite (`tests/e2e.rs`, 11 tests) still requires the
pinned Lean 4.36 toolchain plus the 7.5 GiB Mathlib olean closure and several
minutes per target. It is green on the recorded dedicated environment
(`docs/STATUS.md`) but is intentionally not executed on the shared docker
runner. Adding a dedicated runner with a cached backend is the first item in the
stable-release backlog (`docs/RELEASE.md` §6).