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

[Canvas] duplicated API call on loading workpad #114340

Closed
dmlemeshko opened this issue Oct 7, 2021 · 2 comments · Fixed by #114712 or #116773
Closed

[Canvas] duplicated API call on loading workpad #114340

dmlemeshko opened this issue Oct 7, 2021 · 2 comments · Fixed by #114712 or #116773
Labels
bug Fixes for quality problems that affect the customer experience Feature:Canvas Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas

Comments

@dmlemeshko
Copy link
Member

Kibana version: master

Elasticsearch version: 8.0.0 snapshot

Server OS version: MacOS

Browser version: Chrome 94

Browser OS version: MacOS

Original install method (e.g. download page, yum, from source, etc.): from source

Describe the bug: several completely identical calls are executed on loading eCommerce workpad

Steps to reproduce:

  1. Import eCommerce sample data
  2. Navigate to Canvas workpad and profile API calls

Expected behavior: it would be good not to repeat the same calls 2+ times

Screenshots (if relevant):

Screenshot 2021-10-07 at 20 29 11

Errors in browser console (if relevant):

Provide logs and/or server output (if relevant):

Any additional context:

It is a recent change, probably commit merged on 5-6.10.21

@dmlemeshko dmlemeshko added the bug Fixes for quality problems that affect the customer experience label Oct 7, 2021
@botelastic botelastic bot added the needs-team Issues missing a team label label Oct 7, 2021
@dmlemeshko dmlemeshko added the Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas label Oct 7, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-presentation (Team:Presentation)

@dmlemeshko
Copy link
Member Author

dmlemeshko commented Oct 27, 2021

Have to reopen since
GET '/api/canvas/workpad/resolve/workpad-e08b9bdb-ec14-4339-94c4-063bddfd610e' is repeated again on loading workpad. Could it be caused by #113827 ?
Screenshot 2021-10-27 at 13 06 09

I can confirm it was fixed and no duplicated were until Oct 26th

To keep track, this is baseline for eCommerce workpad:

[
        "GET /api/canvas/workpad/resolve/workpad-e08b9bdb-ec14-4339-94c4-063bddfd610e 200",
        "POST /api/timelion/run 200",
        "POST /internal/bsearch?compress=true 200",
        "POST /api/timelion/run 200",
        "POST /api/canvas/fns?compress=true 200",
        "POST /api/canvas/fns?compress=true 200",
        "POST /internal/bsearch?compress=true 200",
        "POST /api/timelion/run 200",
        "POST /api/canvas/fns?compress=true 200",
        "POST /api/canvas/fns?compress=true 200"
    ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Canvas Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas
Projects
None yet
3 participants