Skip to content

Add more usage examples#389

Merged
nfx merged 21 commits intomainfrom
ast-experiment
May 22, 2023
Merged

Add more usage examples#389
nfx merged 21 commits intomainfrom
ast-experiment

Conversation

@nfx
Copy link
Copy Markdown
Contributor

@nfx nfx commented May 11, 2023

Parse integration tests into specialized AST

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 15, 2023

Codecov Report

Patch coverage: 73.16% and project coverage change: -15.86 ⚠️

Comparison is base (dd7286e) 34.57% compared to head (6b1b029) 18.72%.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #389       +/-   ##
===========================================
- Coverage   34.57%   18.72%   -15.86%     
===========================================
  Files          50       82       +32     
  Lines        3566     8551     +4985     
===========================================
+ Hits         1233     1601      +368     
- Misses       2220     6809     +4589     
- Partials      113      141       +28     
Impacted Files Coverage Δ
openapi/code/named.go 87.30% <0.00%> (-1.41%) ⬇️
service/compute/node_type.go 65.07% <0.00%> (-4.42%) ⬇️
service/compute/spark_version.go 0.00% <0.00%> (ø)
service/compute/utilities.go 1.47% <0.00%> (-0.46%) ⬇️
openapi/roll/ast.go 66.15% <66.15%> (ø)
openapi/roll/tool.go 78.88% <78.88%> (ø)

... and 30 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@nfx nfx marked this pull request as ready for review May 16, 2023 16:23
@nfx nfx changed the title Integration test transpiler Add more usage examples May 22, 2023
@nfx nfx force-pushed the ast-experiment branch from 9e282c5 to 8cfb608 Compare May 22, 2023 10:43
@nfx nfx merged commit e798a9c into main May 22, 2023
@nfx nfx deleted the ast-experiment branch May 22, 2023 10:51
@nfx nfx mentioned this pull request May 22, 2023
nfx added a commit that referenced this pull request May 22, 2023
* Added more usage examples for `go doc` and Go Packages
([#389](#389)).
* Make OAuth work with new CLI
([#394](#394)).
* Update from OpenAPI spec
([#390](#390)).

Dependency updates:

* Bump github.com/stretchr/testify from 1.8.2 to 1.8.3
([#393](#393)).
* Bump google.golang.org/api from 0.122.0 to 0.123.0
([#392](#392)).
pietern added a commit that referenced this pull request May 24, 2023
## Changes

Invalid refactor in #389.

## Tests

Ran TestAccLibraries manually to confirm this fixes the issue.
pietern added a commit that referenced this pull request May 24, 2023
## Changes

This was changed in #389 without testing.

The function `w.Warehouses.DeleteByIdAndWait` always fails because upon
deletion there is nothing left to GET and it returns a 404 error. For
the sake of test cleanup, we can issue the delete and move on without
waiting.

## Tests

Ran TestAccSqlWarehouses manually to confirm this fixes the issue.
pietern added a commit that referenced this pull request May 24, 2023
## Changes

Broken by #389.

The test performs recursive listing and asserts the result is non-empty
without first ensuring there is a file to list. This would sometimes
pass and sometimes fail because tests are executed in parallel.

## Tests

Ran TestAccWorkspaceRecursiveListNoTranspile manually.
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.

2 participants