Skip to content
This repository was archived by the owner on Jan 6, 2026. It is now read-only.

Commit 9c1acc2

Browse files
committed
feat: add "IPNI Provider not found" bucket
Signed-off-by: Miroslav Bajtoš <oss@bajtos.net>
1 parent 34542af commit 9c1acc2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,9 @@ const mapping = {
289289
'Graphsync error': [
290290
/^LASSIE_(?!504)/
291291
],
292+
'IPNI Provider not found': [
293+
'IPNI_PROVIDER_404',
294+
],
292295
'IPNI no advertisement': [
293296
'IPNI_ERROR_404',
294297
'IPNI_NO_VALID_ADVERTISEMENT',
@@ -305,6 +308,7 @@ const mapping = {
305308
'UNSUPPORTED_MULTIADDR_FORMAT',
306309
/^HTTP_4/,
307310
/^ERROR_4/,
311+
/^IPNI_PROVIDER_/,
308312
'TIMEOUT',
309313
'UNEXPECTED_CAR_BLOCK',
310314
'LASSIE_504'
@@ -326,6 +330,7 @@ const tidy = clone(SparkRetrievalResultCodes).flatMap(({ day, rates }) => {
326330
move(rates, sorted, 'Graphsync error')
327331
move(rates, sorted, 'IPNI error')
328332
move(rates, sorted, 'IPNI no advertisement')
333+
move(rates, sorted, 'IPNI Provider not found')
329334
for (const [key, value] of Object.entries(rates)) {
330335
if (key !== 'Other') {
331336
move(rates, sorted, key)

0 commit comments

Comments
 (0)