mercari / grpc-federation

gRPC Federation generates a gRPC server by writing a custom option in Protocol Buffers
MIT License
318 stars 13 forks source link

Show warning about file import #240

Closed utahta closed 3 months ago

utahta commented 3 months ago

Show the warning in the following cases:

github-actions[bot] commented 3 months ago

Code Metrics Report

main (5b6a227) #240 (0fc4f87) +/-
Coverage 65.5% 66.1% +0.6%
Code to Test Ratio 1:0.3 1:0.3 -0.0
Test Execution Time 7m10s 7m13s +3s
Details ``` diff | | main (5b6a227) | #240 (0fc4f87) | +/- | |---------------------|----------------|----------------|-------| + | Coverage | 65.5% | 66.1% | +0.6% | | Files | 71 | 72 | +1 | | Lines | 11990 | 12152 | +162 | + | Covered | 7850 | 8028 | +178 | - | Code to Test Ratio | 1:0.3 | 1:0.3 | -0.0 | | Code | 37291 | 37595 | +304 | - | Test | 13000 | 12986 | -14 | - | Test Execution Time | 7m10s | 7m13s | +3s | ```

Code coverage of files in pull request scope (71.5% → 72.9%)

Files Coverage +/-
compiler/compiler.go 80.8% +1.0%
generator/generator.go 24.3% +0.6%
grpc/federation/cel/bind.go 100.0% +6.1%
grpc/federation/cel/conv.go 93.8% +93.8%
internal/testutil/cmpopt.go 100.0% 0.0%
lsp/server/definition.go 63.6% +0.4%
resolver/context.go 87.5% +2.5%
resolver/error.go 65.2% +1.6%
resolver/resolver.go 83.1% +0.8%
resolver/types.go 86.7% 0.0%

Reported by octocov

github-actions[bot] commented 3 months ago

Code Metrics Report

main (5b6a227) #240 (d6d00b5) +/-
Coverage 65.5% 66.1% +0.6%
Code to Test Ratio 1:0.3 1:0.3 -0.0
Test Execution Time 7m10s 7m13s +3s
Details ``` diff | | main (5b6a227) | #240 (d6d00b5) | +/- | |---------------------|----------------|----------------|-------| + | Coverage | 65.5% | 66.1% | +0.6% | | Files | 71 | 72 | +1 | | Lines | 11990 | 12152 | +162 | + | Covered | 7850 | 8028 | +178 | - | Code to Test Ratio | 1:0.3 | 1:0.3 | -0.0 | | Code | 37291 | 37595 | +304 | - | Test | 13000 | 12986 | -14 | - | Test Execution Time | 7m10s | 7m13s | +3s | ```

Code coverage of files in pull request scope (71.5% → 72.9%)

Files Coverage +/-
compiler/compiler.go 80.8% +1.0%
generator/generator.go 24.3% +0.6%
grpc/federation/cel/bind.go 100.0% +6.1%
grpc/federation/cel/conv.go 93.8% +93.8%
internal/testutil/cmpopt.go 100.0% 0.0%
lsp/server/definition.go 63.6% +0.4%
resolver/context.go 87.5% +2.5%
resolver/error.go 65.2% +1.6%
resolver/resolver.go 83.1% +0.8%
resolver/types.go 86.7% 0.0%

Reported by octocov