(work: Promise<unknown>)
| 153 | * never fail or delay the verify that happened to trigger it. |
| 154 | */ |
| 155 | const ignoreFailure = async (work: Promise<unknown>): Promise<void> => { |
| 156 | // oxlint-disable-next-line executor/no-try-catch-or-throw -- boundary: best-effort cache upkeep must not surface as a verify failure |
| 157 | try { |
| 158 | await work; |
| 159 | } catch { |
| 160 | // Deliberately swallowed — the caller already has usable keys, or will |
| 161 | // take the upstream path on its next miss. |
| 162 | } |
| 163 | }; |
| 164 | |
| 165 | const fetchJwksOnce = async ( |
| 166 | url: URL, |
no outgoing calls
no test coverage detected