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

Remove nom, add recursion limits with arrays. #3975

Merged
merged 7 commits into from May 15, 2024

Conversation

DelSkayn
Copy link
Member

@DelSkayn DelSkayn commented May 1, 2024

Thank you for submitting this pull request! We really appreciate you spending the time to work on these changes.

What is the motivation? & What does this change do?

This PR fixes a missed recursion limit with arrays.
Also completely removes any remaining usage of nom.

What is your testing strategy?

Added a test for ensuring that the array limit is upheld.

Is this related to any issues?

None

Does this change need documentation?

  • No documentation needed

Have you read the Contributing Guidelines?

@DelSkayn DelSkayn force-pushed the minor-parser-improvements branch from c45f0c2 to 958bd76 Compare May 1, 2024 12:44
@DelSkayn DelSkayn marked this pull request as ready for review May 7, 2024 09:09
@DelSkayn DelSkayn requested review from a team and tobiemh as code owners May 7, 2024 09:09
rushmorem
rushmorem previously approved these changes May 7, 2024
emmanuel-keller
emmanuel-keller previously approved these changes May 7, 2024
Copy link
Contributor

@emmanuel-keller emmanuel-keller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@tobiemh tobiemh added this pull request to the merge queue May 7, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 7, 2024
@DelSkayn DelSkayn added this pull request to the merge queue May 7, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 7, 2024
@tobiemh
Copy link
Member

tobiemh commented May 7, 2024

@DelSkayn clippy and tests are failing in the merge queue. Perhaps a new release of Rust?

maxwellflitton
maxwellflitton previously approved these changes May 8, 2024
@DelSkayn
Copy link
Member Author

DelSkayn commented May 8, 2024

The clippy warning is indeed due to a new version of rust. The test is test_mtree_unique_small which I believe is a bit flaky.

@DelSkayn DelSkayn added this pull request to the merge queue May 8, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 8, 2024
@DelSkayn DelSkayn enabled auto-merge May 8, 2024 15:04
Copy link
Contributor

@phughk phughk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm, happy to retick when ready

@DelSkayn DelSkayn added this pull request to the merge queue May 15, 2024
github-merge-queue bot pushed a commit that referenced this pull request May 15, 2024
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
Merged via the queue into surrealdb:main with commit 75f48af May 15, 2024
22 checks passed
@DelSkayn DelSkayn deleted the minor-parser-improvements branch May 15, 2024 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants