Commit 580e733
fix: skip already-searched orgs on findProjectsBySlug fallthrough
When the cached-orgs fast path finds no projects and falls through to
the full listOrganizations() path, avoid re-searching orgs that already
returned 404 by filtering them out with a Set lookup.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 70d1730 commit 580e733
1 file changed
+8
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
218 | | - | |
219 | | - | |
| 218 | + | |
| 219 | + | |
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
| 228 | + | |
229 | 229 | | |
230 | | - | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
231 | 235 | | |
232 | 236 | | |
233 | 237 | | |
| |||
0 commit comments