(rawEvents)
| 57 | summary: fixture.pr?.html_url ?? `https://github.com/${fixture.repo} (agent creates the PR)`, |
| 58 | actor: trialActor as TrialActor, |
| 59 | validate(rawEvents) { |
| 60 | if (!seeding && subscriptionLimitHit(rawEvents as unknown[])) { |
| 61 | throw new InfrastructureError("The GH_EVAL_TOKEN user hit the event subscription limit, so this " |
| 62 | + "trial cannot be graded. Clean up leftover subscriptions before running again."); |
| 63 | } |
| 64 | }, |
| 65 | snapshot: observedUntil => captureSnapshot(github, subscriber, fixture, workDir, env, actor.actions, observedUntil), |
| 66 | }; |
| 67 | } |
nothing calls this directly
no test coverage detected