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

Serving and debugging a web app prints unactionable survey errors #8405

Open
elliette opened this issue Oct 4, 2024 · 1 comment
Open

Serving and debugging a web app prints unactionable survey errors #8405

elliette opened this issue Oct 4, 2024 · 1 comment
Labels
cross-screen Issues that affect multiple DevTools screens, i.e. shared functionality and widgets P2 important to work on, but not at the top of the work list. reproduce to verify Issues that need to be reproduced to verify that they still exist. web debugging Issues related to debugging a web app

Comments

@elliette
Copy link
Member

elliette commented Oct 4, 2024

Copied from: dart-lang/sdk#56843

When I try running and debugging a (in this case, pure Dart) web app with webdev serve --debug, I get repeated survey errors that are unactionable and aren't relevant to developers:

[INFO] Serving DevTools at http://127.0.0.1:56627
[INFO] Serving `web` on http://127.0.0.1:8080
[INFO] Running build completed, took 54ms
[INFO] Caching finalized dependency graph completed, took 90ms
[INFO] Succeeded after 146ms with 0 outputs (0 actions)
[INFO] Debug service listening on sse://127.0.0.1:56677/ecP-qts8hmU=/$debugHandler

ERROR: setActiveSurvey not called. - api/getSurveyShownCount
ERROR: setActiveSurvey not called. - api/getSurveyActionTaken
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Reproduction steps:

  1. dart create -t web web_app
  2. dart pub add dev:webdev
  3. dart run webdev serve --debug
  4. Open DevTools, either through the output link or the debug extension.
@elliette elliette added P2 important to work on, but not at the top of the work list. web debugging Issues related to debugging a web app cross-screen Issues that affect multiple DevTools screens, i.e. shared functionality and widgets reproduce to verify Issues that need to be reproduced to verify that they still exist. labels Oct 4, 2024
@kenzieschmoll
Copy link
Member

I'd like to refactor the survey APIs so that we can remove the setActiveSurvey api altogether and just send the active survey as a parameter with the other survey APIs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cross-screen Issues that affect multiple DevTools screens, i.e. shared functionality and widgets P2 important to work on, but not at the top of the work list. reproduce to verify Issues that need to be reproduced to verify that they still exist. web debugging Issues related to debugging a web app
Projects
None yet
Development

No branches or pull requests

2 participants