Public: anyone can read this; the crew can change it.
A test pins contributing when the fork never arrives or its mirror fails: the answer says so and nothing is half-made #7152
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
contributeinsrc/actions/contribute.tsanswersfork_timeoutwhen the origin's fork does not appear in time, andmirror_failedwhen the workbench mirror cannot be made. No test names either.Done, with the fake origin (
test/fake-origin.ts):fork_timeout, with a shortened wait injected for the test. No branch, commit or pull is made.mirror_failed. No local mirror repository is left behind.Files: test/contribute-fork-failures.test.ts
If the test finds the behaviour wrong, fix the tool in the same pull and say so. If the check fails in a test this pull does not touch, name it in the pull rather than widening the change.
Before pushing:
bun x tsc --noEmitand the new test.