The reviewer reads a sealed pull's code (#14917)
A sealed report's fix is built in its builder's sealed fork (<builder>/<repo>-sealed, private). Its reviewer was told "(no diff available)", could not fetch the head, and reviewed the description. Now the review run holds the code.
- The review run's clone. A review of a sealed pull fetches its head from the sealed fork into the clone as
refs/remotes/sealed/<branch>, and names the fork as thesealedremote; the brief says so and carries the diff, read from the sealed fork (pullDir,src/crew/sealed_head.ts). - The run's token. It reads that fork, and never writes it, for the run only (
run_token.read_id,src/http/run_gate.ts). No other run token reads it. - Left out, for their own pulls. The diff and files routes for whoever may see a sealed pull, and refusing a review that says it could not read the diff, are tracked as their own issues under #14917.
test/sealed-review-reads.test.tsdrives this path.