Skip to main content

Module e2e

Module e2e 

Source
Expand description

e2e attest / e2e verify (#17) — the e2e attestation nudge.

attest runs the e2e suite locally and records that it ran against the current commit; verify (a later slice, #68) confirms in CI that the latest code commit is attested. The point is to nudge agents to run e2e locally — CI never runs e2e, it only checks the committed attestation.

This slice (#67) implements attest; verify is a later slice (#68).

Structs§

Attestation
A record of one local e2e run — written to disk and committed by attest.

Constants§

ATTESTATION_PATH
Where the committed attestation lives, relative to the repo root.

Functions§

attest
Run command in repo, write an Attestation naming the current HEAD to repo/ATTESTATION_PATH, and commit it on top. Returns the attestation.