[COMPASS-5778] Disabling autopreview breaks stage validation and doesn't allow to run valid pipeline Created: 28/Apr/22  Updated: 29/Oct/23  Resolved: 06/May/22

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

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-5237
Documentation Changes: Not Needed
Sprint: Iteration Anemone

 Description   

Aggregation stage state relied on autopreview feature to detect if stage is valid or not. When disabling autopreview this state is never updated again, blocking "Run" and "Export" buttons



 Comments   
Comment by Githook User [ 09/May/22 ]

Author:

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

Message: chore(compass-aggregations): Do syntax validation every time stage changes COMPASS-5778 (#3036)

  • chore(compass-aggregation): Always validate stage on run; Debounce and cancel previous stage runs
  • chore(compass-aggregations): Remove console.log
  • chore(compass-aggregation): Remove debounce run triggered by stage operator change in component

It already happens in the action

Comment by Githook User [ 09/May/22 ]

Author:

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

Message: chore(compass-aggregations): Do syntax validation every time stage changes COMPASS-5778 (#3036)

  • chore(compass-aggregation): Always validate stage on run; Debounce and cancel previous stage runs
  • chore(compass-aggregations): Remove console.log
  • chore(compass-aggregation): Remove debounce run triggered by stage operator change in component

It already happens in the action

Comment by Githook User [ 09/May/22 ]

Author:

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

Message: chore(compass-aggregations): Do syntax validation every time stage changes COMPASS-5778 (#3036)

  • chore(compass-aggregation): Always validate stage on run; Debounce and cancel previous stage runs
  • chore(compass-aggregations): Remove console.log
  • chore(compass-aggregation): Remove debounce run triggered by stage operator change in component

It already happens in the action

Comment by Githook User [ 06/May/22 ]

Author:

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

Message: chore(compass-aggregations): Do syntax validation every time stage changes COMPASS-5778 (#3036)

  • chore(compass-aggregation): Always validate stage on run; Debounce and cancel previous stage runs
  • chore(compass-aggregations): Remove console.log
  • chore(compass-aggregation): Remove debounce run triggered by stage operator change in component

It already happens in the action

Comment by Githook User [ 06/May/22 ]

Author:

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

Message: chore(compass-aggregations): Do syntax validation every time stage changes COMPASS-5778 (#3036)

  • chore(compass-aggregation): Always validate stage on run; Debounce and cancel previous stage runs
  • chore(compass-aggregations): Remove console.log
  • chore(compass-aggregation): Remove debounce run triggered by stage operator change in component

It already happens in the action

Comment by Githook User [ 05/May/22 ]

Author:

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

Message: chore(compass-aggregations): Do syntax validation every time stage changes COMPASS-5778 (#3036)

  • chore(compass-aggregation): Always validate stage on run; Debounce and cancel previous stage runs
  • chore(compass-aggregations): Remove console.log
  • chore(compass-aggregation): Remove debounce run triggered by stage operator change in component

It already happens in the action

Comment by Githook User [ 29/Apr/22 ]

Author:

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

Message: Merge remote-tracking branch 'origin/main' into compass-5778-fix-stage-validation

Conflicts:
packages/compass-aggregations/src/components/stage-editor/stage-editor.jsx
Branch: compass-5778-fix-stage-validation
https://github.com/mongodb-js/compass/commit/673a629e0059502381dc30a955b1dc0eeb40fe02

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