|
| 1 | +# Intentional `undefined` fallbacks (checked by tools/scripts/check-silent-failures.mjs via npm run check:silent-failures). |
| 2 | +# Each entry lists a file, its exact count, and why an error means absence or drops only an optional detail. |
| 3 | +# Higher counts fail (new sites need a reason), and lower counts fail too so stale entries get pruned. |
| 4 | +allow: |
| 5 | + - path: packages/extractors/typescript-support/src/worker.ts |
| 6 | + count: 1 |
| 7 | + reason: Probes paths listed by git; a path that fails lstat was removed and cannot be read. |
| 8 | + - path: packages/host/core/src/targets/encoding.ts |
| 9 | + count: 1 |
| 10 | + reason: Decodes a target from a URL fragment; invalid input is not a target. |
| 11 | + - path: packages/host/inspector/src/app/extraction-coordinator.ts |
| 12 | + count: 1 |
| 13 | + reason: Cancels an unwanted job; if cancellation fails, the finished result is simply ignored. |
| 14 | + - path: packages/host/inspector/src/app/persistence.ts |
| 15 | + count: 1 |
| 16 | + reason: Reads a saved preference from localStorage; unavailable storage or corrupt JSON is treated as unset. |
| 17 | + - path: packages/host/inspector/src/app/use-live-changes.ts |
| 18 | + count: 1 |
| 19 | + reason: Refreshes the revision list after a working-tree change; on failure, the current refs stay visible. |
| 20 | + - path: packages/host/inspector/src/host.tsx |
| 21 | + count: 1 |
| 22 | + reason: Parses a host-supplied link; invalid URL text is ignored. |
| 23 | + - path: packages/host/inspector/src/mount.tsx |
| 24 | + count: 1 |
| 25 | + reason: Checks for an active explore session to pick the initial view; defaults to the Inspector on error. |
| 26 | + - path: packages/host/inspector/src/sweep/thumbnails.tsx |
| 27 | + count: 1 |
| 28 | + reason: Serializes thumbnail fetches; each cell's promise still rejects, while the queue ignores failures. |
| 29 | + - path: packages/integrations/copilot-canvas/extension.mjs |
| 30 | + count: 1 |
| 31 | + reason: Reads the last viewer from the canvas record; corrupt data is treated as none. |
| 32 | + - path: packages/integrations/vscode/src/develop-model.ts |
| 33 | + count: 1 |
| 34 | + reason: parseScenarios checks whether text is a scenarios document; non-JSON text is not one. |
| 35 | + - path: packages/integrations/vscode/src/folder-model/requests.ts |
| 36 | + count: 1 |
| 37 | + reason: Fetches the current change generation; if it fails, the first changes-stream notification sets it. |
| 38 | + - path: packages/integrations/vscode/src/language-model-tools/open-projection.ts |
| 39 | + count: 2 |
| 40 | + reason: Polls a tab page until its modes are available, retrying failed responses until the deadline. |
| 41 | + - path: packages/integrations/vscode/src/language-model-tools/view-tools.ts |
| 42 | + count: 1 |
| 43 | + reason: Polls a tab page until extraction finishes, retrying failed responses until the deadline. |
| 44 | + - path: packages/integrations/vscode/src/panels/projection-tab/facts.ts |
| 45 | + count: 3 |
| 46 | + reason: Optional tab facts (page view, side descriptions, definition file); a hidden tab or a ref git can't describe omits them and keeps the last reported values. |
| 47 | + - path: packages/integrations/vscode/src/pulls.ts |
| 48 | + count: 1 |
| 49 | + reason: Queries gh for the branch's pull request; missing gh, auth, or PR means nothing to link. |
| 50 | + - path: packages/integrations/vscode/src/refs.ts |
| 51 | + count: 5 |
| 52 | + reason: Optional git facts (working tree, changed files and counts, checkout location, edit hashes); outside a repo or without git, views omit them and fall back to non-repo behavior. |
| 53 | + - path: packages/integrations/vscode/src/scope.ts |
| 54 | + count: 1 |
| 55 | + reason: Hashes scope files for staleness; an unreadable file produces no digest, so the tab cannot mark its result current. |
| 56 | + - path: packages/integrations/vscode/src/viewing/recent-commits.ts |
| 57 | + count: 1 |
| 58 | + reason: Fetches a sweep thumbnail; on failure, the cell renders without an image. |
| 59 | + - path: tools/cli/src/commands/link.ts |
| 60 | + count: 1 |
| 61 | + reason: Checks whether the link path exists before writing it. |
| 62 | + - path: tools/cli/src/lib/ci-change.ts |
| 63 | + count: 1 |
| 64 | + reason: Reads current file contents; files deleted by the change do not exist. |
| 65 | + - path: tools/cli/src/lib/link.ts |
| 66 | + count: 1 |
| 67 | + reason: Reads .node-version, which a checkout may not have. |
| 68 | + - path: tools/cli/src/lib/links.ts |
| 69 | + count: 1 |
| 70 | + reason: Checks a link target's type; a missing target is neither a file nor a directory. |
| 71 | + - path: tools/cli/src/lib/repo.ts |
| 72 | + count: 1 |
| 73 | + reason: readText reads an optional file; callers treat a missing file as absent. |
| 74 | + - path: tools/scripts/product-icons.mjs |
| 75 | + count: 1 |
| 76 | + reason: Compares a generated file against disk; a missing file counts as different. |
| 77 | + - path: tools/scripts/reference-docs.mjs |
| 78 | + count: 1 |
| 79 | + reason: Compares a generated page against disk; a missing file counts as different. |
| 80 | + - path: tools/scripts/reference-docs/shared.mjs |
| 81 | + count: 1 |
| 82 | + reason: Checks whether a path exists. |
| 83 | + - path: tools/storybook/harness/host/params.ts |
| 84 | + count: 2 |
| 85 | + reason: Parses user-supplied Storybook URL parameters; invalid JSON is ignored. |
0 commit comments