-
Notifications
You must be signed in to change notification settings - Fork 28.2k
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
engine->flutter roller blocked on test/integration.shard/test_test.dart
#105340
Comments
@alexmarkov can you verify that the change in the stacktrace is acceptable so we can just update the golden for that test? |
Running this test with the new async implementation produces a much shorter stack trace for the "uncaught Future error" phase:
With the roll:
Before the roll:
|
This comment was marked as outdated.
This comment was marked as outdated.
…the Zone During 'await', when registering 'then' and 'error' callbacks in a custom Zone, the stack trace should be collected synchronously as there are no awaiters yet, but the suspended function and its callers are still on the stack. This change corrects the new implementation of async to collect these stack traces synchronously. Class StackZoneSpecification from package:stack_trace relies on the stack traces during callback registration in order to provide more detailed chain of async stack traces via Chain.capture. Without this change package:stack_trace captured truncated Chains. Issue: #48378 Issue: flutter/flutter#105340 TEST=vm/dart/causal_stacks/zone_callback_stack_traces_test Change-Id: Iee348aa5c9abb4126f6c5d8215a6dc2cee57e124 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/247620 Reviewed-by: Slava Egorov <vegorov@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com>
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
example: https://ci.chromium.org/ui/p/flutter/builders/try/Linux%20tool_integration_tests_3_4/11556/overview
The text was updated successfully, but these errors were encountered: