Expand description
Screenshots on the PR. The agent lists image paths in its final JSON, orch pushes the images to a branch that never merges and comments on the PR with links pinned to that commit
Structs§
- Prepared
- An image checked and placed at its path on the screenshots branch
Constants§
- SCREENSHOTS_
BRANCH - Branch that holds the images, used as no PR base or head, and cleanup deletes task branches only
Functions§
- allowed_
roots - Roots an image may live in: the worktree and its git dir, which stays out of the PR commit
- build_
comment - The PR comment, with links pinned to
commitso they render in a private repository - build_
unpublished_ comment - PR comment when the images never landed on the screenshots branch
- prepare
- Check each listed image, and skip a bad entry with a reason so it does not drop the others
- publish
- Push the images on top of the screenshots branch, with a throwaway index so the worktree stays untouched, and return the commit the links point at