mirror of
https://github.com/bitbaum/orangecat.git
synced 2026-12-03 18:27:42 +01:00
CI runs verify on a PR and again on main before deploying. When the base did not move while the PR was open, the squash commit's tree is byte-for-byte the tree the PR's CI tested (refs/pull/N/merge) — 18 of 30 recent merges. The PR job now records the tree it verified as an artifact (verified-tree-<sha>), for PRs from this repository only; main looks HEAD's tree up and skips the Verify step on an exact match. Build, smoke tests and the artifact CD ships still run. Any doubt — no match, an API error, a fork, unreadable output — means verify runs as before; the script always exits 0. 9 tests run the real script against a fake gh/git, including every fail-safe path; mutation-proved (dropping the same-repository filter fails). Fields checked against the live artifacts API. Claude-Session: https://claude.ai/code/session_01Nx1u7uUWsgi3MagxbmQmPN Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>