fix(reference): retain unknown kind for unsupported source entries

Keep FIFO, socket and device entries unknown instead of projecting unsupported reader entries as ordinary files. Preserve real file read-failure identity.

Fixes #3218

Co-authored-by: Saim Shafique <[email protected]>
This commit is contained in:
morlutoandSaim Shafique committed 2026-10-14 15:20:02 +08:00
1 parent b57a054d5e
commit ada133c256
2 files changed
+59 -1

No files matched your search

@@ -75,7 +75,7 @@ const failedEntry = (
classifications,
limitations: [limitation],
};
if (entry.kind === "unknown")
if (entry.kind === "unknown" || entry.kind === "other")
return {
path: entry.path,
kind: "unknown",