You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
File ReadingArea: what it touches
Bug FixesKind: in v2.1.283,
Bug FixesSection of the release
What
Claude Code has a file reader that keeps recently read files in memory. It now checks first whether a path is an ordinary file. If the path is something else, such as a named pipe or a device, the reader fails with EINVAL: not a regular file and drops anything it had kept for that path. Before, it tried to read the path anyway.
Why
Reading a pipe or a device as if it were a file can hang or return data that makes no sense. Such a path now fails straight away with a clear error.
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear which parts of Claude Code use this file reader.