Skip to content

framework stack trace/frame tests don't cover web release/debug mode #52685

Closed

Description

@jonahwilliams

Specifically, since flutter test -p chrome still uses build runner, the actual stack frames someone will see when using flutter run is different.

Finally, these tests do not currently cover profile/release mode

Activity

  1. added
    a: tests
    framework
    platform-web
    on Mar 16, 2020
  2. jonahwilliams commented on Mar 16, 2020

    @jonahwilliams
    ContributorAuthor

    More concretely, the frontend_server outputs paths such as:

    packages/flutter/foo.dart.

    While test outputs paths with a package scheme already.

    packages:flutter/foo.dart

  3. added this to the milestone on Mar 19, 2020
  4. added
    dependency: dart
    tool
    on Mar 19, 2020
  5. grouma commented on Mar 26, 2020

    @grouma
    Contributor

    What's preventing from migrating the tests over to Frontend Server?

  6. grouma commented on Apr 6, 2020

    @grouma
    Contributor

    @jonahwilliams is this still an issue with the move to the Frontend Server?

  7. added
    P1
    on May 29, 2020
  8. added
    P2
    and removed
    P1
    on Jun 16, 2020
  9. modified the milestone: on Jul 7, 2020
  10. removed this from the milestone on Jul 22, 2020
  11. removed this from the milestone on Aug 17, 2020
  12. tonnyavery commented on Sep 7, 2020

    @tonnyavery

    I am getting this exception, I think it might be coming when trying to send report to Crashlytics

    Unhandled Exception: 'package:flutter/src/foundation/stack_frame.dart': Failed assertion: line 115 pos 12: 'match != null': Expected  to match RegExp: pattern=^(.+) (\d+):(\d+)\s+(.+)$ flags=.
    
  13. github-actions commented on Aug 9, 2021

    @github-actions

    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 flutter doctor -v and a minimal reproduction of the issue.

  14. locked as resolved and limited conversation to collaborators on Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2a: testsdependency: dartframeworkplatform-webtool

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions