Skip to content
This repository was archived by the owner on Jan 6, 2026. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,9 @@ const mapping = {
'Graphsync error': [
/^LASSIE_(?!504)/
],
'IPNI Provider not found': [
'IPNI_PROVIDER_404',
],
'IPNI no advertisement': [
'IPNI_ERROR_404',
'IPNI_NO_VALID_ADVERTISEMENT',
Expand All @@ -305,6 +308,7 @@ const mapping = {
'UNSUPPORTED_MULTIADDR_FORMAT',
/^HTTP_4/,
/^ERROR_4/,
/^IPNI_PROVIDER_/,
'TIMEOUT',
'UNEXPECTED_CAR_BLOCK',
'LASSIE_504'
Expand All @@ -326,6 +330,7 @@ const tidy = clone(SparkRetrievalResultCodes).flatMap(({ day, rates }) => {
move(rates, sorted, 'Graphsync error')
move(rates, sorted, 'IPNI error')
move(rates, sorted, 'IPNI no advertisement')
move(rates, sorted, 'IPNI Provider not found')
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added the new entry after the existing entries to preserve the colour scheme.

for (const [key, value] of Object.entries(rates)) {
if (key !== 'Other') {
move(rates, sorted, key)
Expand Down