You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 69a048f
Browse filesBrowse the repository at this point in the historyBrowse files
[flutter_tools, devicelab] Add safety filesystem guard to tests (flutter#186748)
Implement `FSGuardIOOverrides` along with custom wrapping proxies
(`GuardedFile`, `GuardedDirectory`, and `GuardedLink`) to intercept and
isolate filesystem modifications during test execution.
This prevents tests in `flutter_tools` and `devicelab` from executing
destructive filesystem operations (e.g., writes, deletes, and creations)
outside the system temporary directory, while still permitting safe
non-modifying operations (like reading templates and source files).
Provides an unstageable environment variable bypass toggle
`FLUTTER_TEST_DISABLE_FS_GUARD=true` to allow developers to safely
deactivate the guard for local debugging and custom logging without the
risk of committing configuration overrides to git.
Fixesflutter#186419
0 commit comments