Skip to content

Temp filename prefix can push long leafNames past NAME_MAX filesystem limit #10

@dzackgarza

Description

@dzackgarza

Codex reviewer flagged in PR #7 (src/bootstrap.ts:223): prepending local-write-api-- to sourceFile.leafName can push otherwise valid long filenames past common filesystem NAME_MAX limits (typically 255 bytes on Linux/macOS). The fix should truncate the leafName component so the total stays under the limit.

Suggested by: chatgpt-codex-connector[bot] on PR #7
Thread: PRRT_kwDORiY8Nc50eWc8

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions