Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report and shutdown after file watch errors #3411

Merged
merged 2 commits into from
Nov 22, 2022
Merged

Report and shutdown after file watch errors #3411

merged 2 commits into from
Nov 22, 2022

Conversation

grouma
Copy link
Member

@grouma grouma commented Nov 21, 2022

Internally we are seeing reliability issues with our file watcher. This should help diagnose the root cause.

@grouma grouma requested a review from jakemac53 November 21, 2022 20:17
@grouma grouma merged commit 0b879c4 into master Nov 22, 2022
@grouma grouma deleted the errors branch November 22, 2022 19:59
jakemac53 added a commit that referenced this pull request Nov 30, 2022
This was removed in #3395 but reverted in #3411 (likely a bad merge). This just removes it again.
jakemac53 added a commit that referenced this pull request Nov 30, 2022
This was removed in #3395 but reverted in #3411 (likely a bad merge). This just removes it again.
simolus3 pushed a commit to simolus3/build that referenced this pull request Dec 11, 2022
* Report and shutdown after file watch errors

* change error codes
simolus3 pushed a commit to simolus3/build that referenced this pull request Dec 11, 2022
…-lang#3415)

This was removed in dart-lang#3395 but reverted in dart-lang#3411 (likely a bad merge). This just removes it again.
jakemac53 added a commit that referenced this pull request Mar 10, 2023
Removes all methods from ChangeProvider, and extract only the relevant ones into separate subclasses which are now public (AutoChangeProvider vs ManualChangeProvider).

Previously these modes were conflated and the different impls provided essentially no-op implementations of the non-applicable apis.

This should fix the failures we are seeing on the bots, because the daemon was shutting down early due to an empty stream given by the manual change provider. This was broken in #3411, but we only recently published that change, and weren't using dependency overrides for the tests that were actually broken, so we only saw it after the publish.
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.

2 participants