Skip to content

Evidence and reviews

Each geppetto run writes a directory under geppetto-runs/ (or --out) named by its UTC start time:

geppetto-runs/20261127T031502Z/
├── open-the-main-menu/
│   ├── receipt.json
│   └── menu-open.png
├── junit.xml
└── summary.md

summary.md is also appended to $GITHUB_STEP_SUMMARY when GitHub Actions sets it. Receipts stay readable with geppetto report and geppetto serve after a licence or trial ends.

Outcomes

A receipt keeps three outcomes apart:

Field Values Meaning
product pass, fail, inconclusive Whether every expectation saw the app's report. inconclusive when the test asserts nothing or stopped on an error.
evidence_outcome complete, incomplete Whether every requested screenshot was saved.
outcome pass, fail, error Overall. pass only when the product passed, the evidence is complete and held input was released. fail when an expectation failed. error for everything else.

reason gives the first cause: the failing expectation and what the app reported, the step that errored, a missing screenshot, or a cleanup that failed.

The receipt

receipt.json records:

  • test: name, path and SHA-256 of the test file as it was run;
  • driver: PuppetXR version, whether Geppetto was built against that version (known_version), app name and process ID;
  • launch: how the app was started. by_geppetto: false when it was already running (--target). With geppetto run --app: the app's name, for a macOS bundle its bundle_id, version and build, a hash taken just before that launch, the process ID, headless, fresh_app, fixed_step (whether Geppetto asked PuppetXR for its fixed step; PuppetXR does not report its clock mode, and a PuppetXR config file's clock.mode can still choose it), with --jobs above 1 the app's number (instance) and how many ran (jobs), the --app-env keys (env_keys, never their values) and how many --app-args were passed (arg_count, not the arguments, which can hold secrets). For a bundle the hash covers every file in it (covers: "bundle", with the number of files), since a Unity player's executable is only a launcher and its game code lies beside it; for a plain executable it covers exactly that file (covers: "file"), so a wrapper script is hashed as itself, not the player it starts. A hash that could not be taken is null with a problem. It is Geppetto's own observation, not a signed attestation;
  • app_tools, when the test uses targets, state or actions: geppetto-channel when the app's own channel served them, puppetxr when PuppetXR did;
  • warnings, when the validator had any: things to reconsider that did not stop the test, such as an action with no state expectation after it;
  • app_package, with the channel: the version of the Geppetto package the app was built with and whether it is the one for this geppetto (matches_geppetto); a mismatch is flagged in summary.md and on the run's page;
  • frame_start and frame_end from the simulator;
  • steps: per step its status (done, pass, fail, error, not_run), seconds, frames waited, the matched log line or reported value (with its distance for near), the action ID an action ran, a gesture's events (and for a gesture file its gesture_file and gesture_sha256), the frames a pose moved over (moved_over_frames), for point with from: body or over_frames the point aimed at (aimed_at, stage space), its distance and the final hand_pose, and for target-based point the resolved image position;
  • evidence: each screenshot's name, file and SHA-256;
  • cleanup: whether every held input was released and every moved device put back, with the problems if not.

When a test fails or errors after at least one step ran, Geppetto also saves _at-failure.png, the eye at that moment, before cleanup moves anything back. It is listed in evidence as failure_screenshot and shown on the dashboard; it never changes the evidence outcome, which counts only requested screenshots.

A failed or errored test also keeps session.puppetxr, PuppetXR's recording of the simulator from the first step until just before cleanup (see geppetto run --record). geppetto replay <test folder> plays it back into a running simulator; with --frames DIR it also saves the replay's frames for a video, and with --steps only those of some steps. While a test records, each step's record holds recording_frames, [start, end]: how many frames the recording held when the step began and when it ended. The receipt's recording says whether it was kept, with its hash, or why the simulator could not record; a recording that cannot start never fails the test.

Steps after a failure or error are recorded as not_run; nothing is retried. Do not edit an old receipt to make it pass; run the test again.

The dashboard

geppetto report --runs geppetto-runs --out geppetto-report

builds a static site with no server or scripts: the latest outcome of every test, its recent history, and a page per run with the steps, reason, screenshots and a link to a kept recording. Publish it as a CI artifact or on GitHub Pages. While working locally, geppetto serve serves the same dashboard on 127.0.0.1 and rebuilds it as receipts arrive.

A screenshot is evidence for a reviewer, not visual approval. A PuppetXR pass shows the behavior on the simulator, not on a physical headset.