build icon indicating copy to clipboard operation
build copied to clipboard

Check for issues with DAS+build_runner interaction

Open davidmorgan opened this issue 10 months ago • 3 comments

See https://github.com/dart-lang/sdk/issues/49427.

This should have been addressed by write caching, but I need to check it's working. Particularly as write caching is not enabled right now :) I have a TODO to add it back.

davidmorgan avatar Mar 06 '25 09:03 davidmorgan

build_runner does write caching now, but I think it's still deleting then recreating files in some workflows, for better DAS interaction it should minimize changes.

davidmorgan avatar Jun 18 '25 07:06 davidmorgan

Just trying to make sure I understand: Does 'write caching' imply that all of the writes will happen temporally close to one another?

bwilkerson avatar Jul 10 '25 14:07 bwilkerson

Yes, writes are cached during the build then flushed once when the build completes; so they're as close to simultaneous as we can make it :)

davidmorgan avatar Jul 10 '25 14:07 davidmorgan