(method: string, path: string, status: number)
| 22 | // answers a valid listing with a generic 404. A listing can never be legitimately missing, so treat that as |
| 23 | // transient; a 404 for a single subscription still means it is gone. |
| 24 | protected override transient(method: string, path: string, status: number): boolean { |
| 25 | if (!path.startsWith("/event-subscriptions")) return false; |
| 26 | const listing = method === "GET" && /^\/event-subscriptions(\?|$)/.test(path); |
| 27 | return status === 503 || status === 504 || (listing && status === 404); |
| 28 | } |
| 29 | |
| 30 | /** |
| 31 | * Returns the caller's subscription for exactly this PR and event-type set, creating it if absent. |
nothing calls this directly
no outgoing calls
no test coverage detected