-
Notifications
You must be signed in to change notification settings - Fork 560
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
Server formatting tests are flaky on the main channel #3092
Comments
Hmm, that's concerning. An example failure is here: https://github.com/dart-lang/dart-pad/actions/runs/11861582966/job/33059207802
If the issue is in the analysis server, I can try to repro and take a look at this next week. |
I couldn't reproduce this locally - @devoncarew does it fail for you locally? I made a PR that spits out the traffic to see exactly what the server is returning: Is it possible to run on the bots and/or locally to see what the server traffic looks like? |
This does look like a server bug... The previous test sets the content of the file to 38 characters and the log shows that analysis starts (but it doesn't seem to complete). The next test sets the content to 40 characters (it adds two additional newlines) and the format result is to replace 38 characters (not 40). There was no change in analysis status during this period.
It's not clear why this happens on the bots but not for my locally (also on latest Flutter master). |
I reproduced this in a server test - I've filed dart-lang/sdk#57120 |
Fixes #57120 Fixes dart-lang/dart-pad#3092 Change-Id: I803cdc19702bcd357cdafde3176ecad246495182 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/396003 Reviewed-by: Brian Wilkerson <[email protected]> Commit-Queue: Brian Wilkerson <[email protected]> Reviewed-by: Konstantin Shcheglov <[email protected]>
This is fixed by dart-lang/sdk@be7a40d |
Thanks for digging into this! |
See this comment for details: #3091 (comment)
The text was updated successfully, but these errors were encountered: