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

[v1] Delete sprout-generated AST; remove v1 from AST package path #1639

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

alancai98
Copy link
Member

Relevant Issues

Description

  • Deletes sprout-generated AST
  • Remove v1 from AST package path
  • Moves Kotlin sources to Kotlin directory

Other Information

  • Updated Unreleased Section in CHANGELOG: [NO]

    • No on v1
  • Any backward-incompatible changes? [YES]

    • Yes but on v1
  • Any new external dependencies? [NO]

  • Do your changes comply with the Contributing Guidelines
    and Code Style Guidelines? [NO]

License Information

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@alancai98 alancai98 self-assigned this Nov 4, 2024
@@ -55,24 +55,3 @@ publish {
name = "PartiQL AST"
description = "PartiQL's Abstract Syntax Tree"
}

val generate = tasks.register<Exec>("generate") {
Copy link
Member Author

Choose a reason for hiding this comment

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

(self-review) remove sprout-generation from AST build

Copy link
Member

Choose a reason for hiding this comment

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

This is huge, thank you so much!

@@ -69,6 +69,8 @@ public <R, C> R accept(@NotNull AstVisitor<R, C> visitor, C ctx) {
@Builder(builderClassName = "Builder")
@EqualsAndHashCode(callSuper = false)
public static class StructWildcard extends ExcludeStep {
public StructWildcard() {}
Copy link
Member Author

Choose a reason for hiding this comment

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

(self-review) public constructors were missing fro ExcludeStep.StructWildcard and ExcludeStep.CollWildcard.

/**
* Basic printer for debugging during early development lifecycle
*/
internal object AstPrinter {
Copy link
Member Author

Choose a reason for hiding this comment

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

(self-review) this CLI object used the sprout-generated AST but it was unused.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (v1-migrate-ast-sqldialect@fc93151). Learn more about missing BASE report.

Additional details and impacted files
@@                     Coverage Diff                      @@
##             v1-migrate-ast-sqldialect    #1639   +/-   ##
============================================================
  Coverage                             ?   80.03%           
  Complexity                           ?       47           
============================================================
  Files                                ?       19           
  Lines                                ?      506           
  Branches                             ?       23           
============================================================
  Hits                                 ?      405           
  Misses                               ?       88           
  Partials                             ?       13           
Flag Coverage Δ
EXAMPLES 80.03% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

github-actions bot commented Nov 4, 2024

CROSS-ENGINE-REPORT ❌

BASE (LEGACY-V0.14.8) TARGET (EVAL-03CA641) +/-
% Passing 89.67% 94.39% 4.72% ✅
Passing 5287 5565 278 ✅
Failing 609 50 -559 ✅
Ignored 0 281 281 🔶
Total Tests 5896 5896 0 ✅

Testing Details

  • Base Commit: v0.14.8
  • Base Engine: LEGACY
  • Target Commit: 03ca641
  • Target Engine: EVAL

Result Details

  • ❌ REGRESSION DETECTED. See Now Failing/Ignored Tests. ❌
  • Passing in both: 2643
  • Failing in both: 17
  • Ignored in both: 0
  • PASSING in BASE but now FAILING in TARGET: 3
  • PASSING in BASE but now IGNORED in TARGET: 108
  • FAILING in BASE but now PASSING in TARGET: 180
  • IGNORED in BASE but now PASSING in TARGET: 0

Now FAILING Tests ❌

The following 3 test(s) were previously PASSING in BASE but are now FAILING in TARGET:

Click here to see
  1. undefinedUnqualifiedVariableWithUndefinedVariableBehaviorMissing, compileOption: PERMISSIVE
  2. undefinedUnqualifiedVariableIsNullExprWithUndefinedVariableBehaviorMissing, compileOption: PERMISSIVE
  3. undefinedUnqualifiedVariableIsMissingExprWithUndefinedVariableBehaviorMissing, compileOption: PERMISSIVE

Now IGNORED Tests ❌

The complete list can be found in GitHub CI summary, either from Step Summary or in the Artifact.

Now Passing Tests

180 test(s) were previously failing in BASE (LEGACY-V0.14.8) but now pass in TARGET (EVAL-03CA641). Before merging, confirm they are intended to pass.

The complete list can be found in GitHub CI summary, either from Step Summary or in the Artifact.

CROSS-COMMIT-REPORT ✅

BASE (EVAL-FF87A2A) TARGET (EVAL-03CA641) +/-
% Passing 94.39% 94.39% 0.00% ✅
Passing 5565 5565 0 ✅
Failing 50 50 0 ✅
Ignored 281 281 0 ✅
Total Tests 5896 5896 0 ✅

Testing Details

  • Base Commit: ff87a2a
  • Base Engine: EVAL
  • Target Commit: 03ca641
  • Target Engine: EVAL

Result Details

  • Passing in both: 5565
  • Failing in both: 50
  • Ignored in both: 281
  • PASSING in BASE but now FAILING in TARGET: 0
  • PASSING in BASE but now IGNORED in TARGET: 0
  • FAILING in BASE but now PASSING in TARGET: 0
  • IGNORED in BASE but now PASSING in TARGET: 0

@@ -55,24 +55,3 @@ publish {
name = "PartiQL AST"
description = "PartiQL's Abstract Syntax Tree"
}

val generate = tasks.register<Exec>("generate") {
Copy link
Member

Choose a reason for hiding this comment

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

This is huge, thank you so much!

Base automatically changed from v1-migrate-ast-sqldialect to v1 November 4, 2024 23:23
@alancai98 alancai98 force-pushed the v1-migrate-ast-delete-sprout-ast branch from 290262e to 1289a9b Compare November 4, 2024 23:25
@alancai98 alancai98 merged commit 9d6d0e2 into v1 Nov 4, 2024
14 checks passed
@alancai98 alancai98 deleted the v1-migrate-ast-delete-sprout-ast branch November 4, 2024 23:33
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.

3 participants