Skip to content

Conversation

kateinoigakukun
Copy link
Member

@kateinoigakukun kateinoigakukun commented Oct 19, 2025

The mtime-based change detection is not very reliable in tests due to the coarse timestamp resolution of some file systems, especially on artificial file operations in tests that happen in quick succession. This change introduces an abstraction over file system operations in MiniMake, allowing tests to use an in-memory file system with precise control over modification times.

https://github.com/swiftwasm/JavaScriptKit/actions/runs/18591749354/job/53008086007 is an example of such failure

…ile system operations

The mtime-based change detection is not very reliable in tests due to
the coarse timestamp resolution of some file systems, especially on
artificial file operations in tests that happen in quick succession.
This change introduces an abstraction over file system operations in
MiniMake, allowing tests to use an in-memory file system with precise
control over modification times.

https://apenwarr.ca/log/20181113
@kateinoigakukun kateinoigakukun merged commit a31b50d into main Oct 19, 2025
9 checks passed
@kateinoigakukun kateinoigakukun deleted the yt/fix-race-mtime-in-test branch October 19, 2025 04:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant