Scrub a failed revoke's warning of the job's token, as every other sandbox failure line already is
Before adoption: this commit came in with the history the project adopted, so no landing records it.
- Review of 314 found one gap in the "a token never appears in a log" promise: withRemote logged a failed revoke's Cause.pretty(cause) raw, so a store error that echoed the token would have logged it. The mint now builds the job's Remote once, and the release scrubs the warning's cause with it through the same scrub every error line uses. - Test: the recording RepoHost's failing revoke now dies, not fails, with the token's secret in its message: the worst a store can do, and the defect path catchCause must absorb. "fail no job when they cannot be revoked" now also asserts that each warning names method, repo and tokenId, inner token first, and that no minted secret is in any line. It went red by assertion (both secrets leaked) before the fix. - Module doc: the wire carries the token in plain text (the far side needs it) and decodes to a Redacted on either side; it said "the wire redacts it", which a sandbox author could misread. - Mutation spot-checks of the builder's tests (dropping the fork's token from merge's scrub list; a read token for land) each went red.
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+53 added−24 removed
- tests:+35 added−13 removed
- other:+18 added−11 removed