[COMPASS-6246] PipelineParser: parser fails to position disabled stage at correct location in text pipeline Created: 26/Oct/22  Updated: 29/Oct/23  Resolved: 03/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: Basit Chonka 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   

In this pipeline, when I comment out $match stage (in text mode), toggle to Builder UI and then toggle back to As Text, the pipeline breaks stages order.



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

Author:

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

Message: chore(compass-aggregations): attach disabled stages as leading comments to enabled stages COMPASS-6246 (#3655)

  • chore(compass-aggregations): attach disabled stages as leading comments to enabled stages
  • chore(compass-aggregations): handle object expressions and same-line objects in stage parser
  • chore: fix types in tests
  • chore(compass-aggregations): adjust stages loc to improve formatting COMPASS-6192 (#3667)

chore(compass-aggregations): adjuct stages loc to improve formatting
Branch: update-compass-shell-to-shared-config
https://github.com/mongodb-js/compass/commit/c2e6ba537915530aa32016f97f9da072c224046b

Comment by Githook User [ 11/Nov/22 ]

Author:

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

Message: chore(compass-aggregations): attach disabled stages as leading comments to enabled stages COMPASS-6246 (#3655)

  • chore(compass-aggregations): attach disabled stages as leading comments to enabled stages
  • chore(compass-aggregations): handle object expressions and same-line objects in stage parser
  • chore: fix types in tests
  • chore(compass-aggregations): adjust stages loc to improve formatting COMPASS-6192 (#3667)

chore(compass-aggregations): adjuct stages loc to improve formatting
Branch: compass-6057-refactor-auto-updates
https://github.com/mongodb-js/compass/commit/c2e6ba537915530aa32016f97f9da072c224046b

Comment by Githook User [ 09/Nov/22 ]

Author:

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

Message: chore(compass-aggregations): attach disabled stages as leading comments to enabled stages COMPASS-6246 (#3655)

  • chore(compass-aggregations): attach disabled stages as leading comments to enabled stages
  • chore(compass-aggregations): handle object expressions and same-line objects in stage parser
  • chore: fix types in tests
  • chore(compass-aggregations): adjust stages loc to improve formatting COMPASS-6192 (#3667)

chore(compass-aggregations): adjuct stages loc to improve formatting
Branch: COMPASS-6064-implement-readonly-option
https://github.com/mongodb-js/compass/commit/c2e6ba537915530aa32016f97f9da072c224046b

Comment by Githook User [ 02/Nov/22 ]

Author:

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

Message: chore(compass-aggregations): attach disabled stages as leading comments to enabled stages COMPASS-6246 (#3655)

  • chore(compass-aggregations): attach disabled stages as leading comments to enabled stages
  • chore(compass-aggregations): handle object expressions and same-line objects in stage parser
  • chore: fix types in tests
  • chore(compass-aggregations): adjust stages loc to improve formatting COMPASS-6192 (#3667)

chore(compass-aggregations): adjuct stages loc to improve formatting
Branch: remove-last-globally-impacting-all-scope-global-styles
https://github.com/mongodb-js/compass/commit/c2e6ba537915530aa32016f97f9da072c224046b

Comment by Githook User [ 02/Nov/22 ]

Author:

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

Message: chore(compass-aggregations): attach disabled stages as leading comments to enabled stages COMPASS-6246 (#3655)

  • chore(compass-aggregations): attach disabled stages as leading comments to enabled stages
  • chore(compass-aggregations): handle object expressions and same-line objects in stage parser
  • chore: fix types in tests
  • chore(compass-aggregations): adjust stages loc to improve formatting COMPASS-6192 (#3667)

chore(compass-aggregations): adjuct stages loc to improve formatting
Branch: 1.34-releases
https://github.com/mongodb-js/compass/commit/c2e6ba537915530aa32016f97f9da072c224046b

Comment by Githook User [ 02/Nov/22 ]

Author:

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

Message: chore(compass-aggregations): attach disabled stages as leading comments to enabled stages COMPASS-6246 (#3655)

  • chore(compass-aggregations): attach disabled stages as leading comments to enabled stages
  • chore(compass-aggregations): handle object expressions and same-line objects in stage parser
  • chore: fix types in tests
  • chore(compass-aggregations): adjust stages loc to improve formatting COMPASS-6192 (#3667)

chore(compass-aggregations): adjuct stages loc to improve formatting
Branch: menu-refactor
https://github.com/mongodb-js/compass/commit/c2e6ba537915530aa32016f97f9da072c224046b

Comment by Githook User [ 02/Nov/22 ]

Author:

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

Message: chore(compass-aggregations): attach disabled stages as leading comments to enabled stages COMPASS-6246 (#3655)

  • chore(compass-aggregations): attach disabled stages as leading comments to enabled stages
  • chore(compass-aggregations): handle object expressions and same-line objects in stage parser
  • chore: fix types in tests
  • chore(compass-aggregations): adjust stages loc to improve formatting COMPASS-6192 (#3667)

chore(compass-aggregations): adjuct stages loc to improve formatting
Branch: COMPASS-6256-expand-collapse
https://github.com/mongodb-js/compass/commit/c2e6ba537915530aa32016f97f9da072c224046b

Comment by Githook User [ 02/Nov/22 ]

Author:

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

Message: chore(compass-aggregations): attach disabled stages as leading comments to enabled stages COMPASS-6246 (#3655)

  • chore(compass-aggregations): attach disabled stages as leading comments to enabled stages
  • chore(compass-aggregations): handle object expressions and same-line objects in stage parser
  • chore: fix types in tests
  • chore(compass-aggregations): adjust stages loc to improve formatting COMPASS-6192 (#3667)

chore(compass-aggregations): adjuct stages loc to improve formatting
Branch: 6066-dev
https://github.com/mongodb-js/compass/commit/c2e6ba537915530aa32016f97f9da072c224046b

Comment by Githook User [ 01/Nov/22 ]

Author:

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

Message: chore(compass-aggregations): attach disabled stages as leading comments to enabled stages COMPASS-6246 (#3655)

  • chore(compass-aggregations): attach disabled stages as leading comments to enabled stages
  • chore(compass-aggregations): handle object expressions and same-line objects in stage parser
  • chore: fix types in tests
  • chore(compass-aggregations): adjust stages loc to improve formatting COMPASS-6192 (#3667)

chore(compass-aggregations): adjuct stages loc to improve formatting
Branch: use-leafygreen-code-in-export-query-preview
https://github.com/mongodb-js/compass/commit/c2e6ba537915530aa32016f97f9da072c224046b

Comment by Githook User [ 01/Nov/22 ]

Author:

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

Message: chore(compass-aggregations): attach disabled stages as leading comments to enabled stages COMPASS-6246 (#3655)

  • chore(compass-aggregations): attach disabled stages as leading comments to enabled stages
  • chore(compass-aggregations): handle object expressions and same-line objects in stage parser
  • chore: fix types in tests
  • chore(compass-aggregations): adjust stages loc to improve formatting COMPASS-6192 (#3667)

chore(compass-aggregations): adjuct stages loc to improve formatting
Branch: dependabot/npm_and_yarn/terser-4.8.1
https://github.com/mongodb-js/compass/commit/c2e6ba537915530aa32016f97f9da072c224046b

Comment by Githook User [ 01/Nov/22 ]

Author:

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

Message: chore(compass-aggregations): attach disabled stages as leading comments to enabled stages COMPASS-6246 (#3655)

  • chore(compass-aggregations): attach disabled stages as leading comments to enabled stages
  • chore(compass-aggregations): handle object expressions and same-line objects in stage parser
  • chore: fix types in tests
  • chore(compass-aggregations): adjust stages loc to improve formatting COMPASS-6192 (#3667)

chore(compass-aggregations): adjuct stages loc to improve formatting
Branch: COMPASS-6257-out-merge-preview
https://github.com/mongodb-js/compass/commit/c2e6ba537915530aa32016f97f9da072c224046b

Comment by Githook User [ 01/Nov/22 ]

Author:

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

Message: chore(compass-aggregations): attach disabled stages as leading comments to enabled stages COMPASS-6246 (#3655)

  • chore(compass-aggregations): attach disabled stages as leading comments to enabled stages
  • chore(compass-aggregations): handle object expressions and same-line objects in stage parser
  • chore: fix types in tests
  • chore(compass-aggregations): adjust stages loc to improve formatting COMPASS-6192 (#3667)

chore(compass-aggregations): adjuct stages loc to improve formatting
Branch: main
https://github.com/mongodb-js/compass/commit/c2e6ba537915530aa32016f97f9da072c224046b

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