[COMPASS-6278] Preview fetching for the stage / whole pipeline is not canceled correctly if the next pipeline state contains errors Created: 07/Nov/22  Updated: 29/Oct/23  Resolved: 08/Nov/22

Status: Closed
Project: Compass
Component/s: Aggregation pipeline
Affects Version/s: None
Fix Version/s: 1.34.0

Type: Bug Priority: Major - P3
Reporter: Sergey Petushkov Assignee: Sergey Petushkov
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: COMPASS-5403
Documentation Changes: Not Needed
Sprint: Iteration Narwhal

 Description   

If you edit pipeline, wait for the loading of the preview to kick off and then immediately introduce a syntax error, preview fetching is not canceled because the action is not trying to run a fetch for a broken pipeline and that's what cancellation relies on, we should update the logic to always clean up the current preview fetch run, no matter what's the state of the stage / pipeline



 Comments   
Comment by Githook User [ 01/Dec/22 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: chore(compass-aggregations): cancel preview fetch for pipeline / stages even if we don't run the pipeline COMPASS-6278 (#3714)

chore(compass-aggregations): cancel preview fetch for pipeline / stages even if we don't run the pipeline
Branch: update-compass-shell-to-shared-config
https://github.com/mongodb-js/compass/commit/0624dedc7b5ac0a9e4cc9bc5c9d460e787816953

Comment by Githook User [ 18/Nov/22 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: chore(compass-aggregations): cancel preview fetch for pipeline / stages even if we don't run the pipeline COMPASS-6278 (#3714)

chore(compass-aggregations): cancel preview fetch for pipeline / stages even if we don't run the pipeline
Branch: reduce-collection-header-size
https://github.com/mongodb-js/compass/commit/0624dedc7b5ac0a9e4cc9bc5c9d460e787816953

Comment by Githook User [ 11/Nov/22 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: chore(compass-aggregations): cancel preview fetch for pipeline / stages even if we don't run the pipeline COMPASS-6278 (#3714)

chore(compass-aggregations): cancel preview fetch for pipeline / stages even if we don't run the pipeline
Branch: compass-6057-refactor-auto-updates
https://github.com/mongodb-js/compass/commit/0624dedc7b5ac0a9e4cc9bc5c9d460e787816953

Comment by Githook User [ 09/Nov/22 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: chore(compass-aggregations): cancel preview fetch for pipeline / stages even if we don't run the pipeline COMPASS-6278 (#3714)

chore(compass-aggregations): cancel preview fetch for pipeline / stages even if we don't run the pipeline
Branch: COMPASS-4763-atlas-entry-point
https://github.com/mongodb-js/compass/commit/0624dedc7b5ac0a9e4cc9bc5c9d460e787816953

Comment by Githook User [ 09/Nov/22 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: chore(compass-aggregations): cancel preview fetch for pipeline / stages even if we don't run the pipeline COMPASS-6278 (#3714)

chore(compass-aggregations): cancel preview fetch for pipeline / stages even if we don't run the pipeline
Branch: COMPASS-6064-implement-readonly-option
https://github.com/mongodb-js/compass/commit/0624dedc7b5ac0a9e4cc9bc5c9d460e787816953

Comment by Githook User [ 08/Nov/22 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: chore(compass-aggregations): cancel preview fetch for pipeline / stages even if we don't run the pipeline COMPASS-6278 (#3714)

chore(compass-aggregations): cancel preview fetch for pipeline / stages even if we don't run the pipeline
Branch: 6075-dev
https://github.com/mongodb-js/compass/commit/0624dedc7b5ac0a9e4cc9bc5c9d460e787816953

Comment by Githook User [ 08/Nov/22 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: chore(compass-aggregations): cancel preview fetch for pipeline / stages even if we don't run the pipeline COMPASS-6278 (#3714)

chore(compass-aggregations): cancel preview fetch for pipeline / stages even if we don't run the pipeline
Branch: main
https://github.com/mongodb-js/compass/commit/0624dedc7b5ac0a9e4cc9bc5c9d460e787816953

Generated at Wed Feb 07 22:42:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.