Skip to content

Last read and last modification past millisecond #7005

Closed

Description

@klonuo
← Edit frontend/package.json 
Error: File /frontend/package.json has been modified since it was last read.
Last modification: 2026-01-05T23:29:26.516Z
Last read: 2026-01-05T23:29:26.194Z
Please read the file again before modifying it.

This happens quite too often, and it seems that last read is somehow milliseconds past last modified, while the model made the modification obviously.

Activity

  1. github-actions commented on Jan 5, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  2. rekram1-node commented on Jan 6, 2026

    @rekram1-node
    Collaborator

    @klonuo are u on wsl or windows?

  3. klonuo commented on Jan 6, 2026

    @klonuo
    Author

    Yes, WSL :)

  4. kfuglsang commented on Jan 7, 2026

    @kfuglsang

    Im getting this quite a lot on Windows as well - but without WSL.

  5. acidnik commented on Jan 13, 2026

    @acidnik

    i'm getting this on linux

  6. lord-carlos commented on Feb 13, 2026

    @lord-carlos

    I'm getting this on windows without WSL as well. Only opencode has the file open, no other tool.

  7. klonuo commented on Feb 13, 2026

    @klonuo
    Author

    @lord-carlos you can use OPENCODE_DISABLE_FILETIME_CHECK env var, more info: #6581

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions