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

Support multi env definitions in one file #210

Closed shuheiktgw closed 4 months ago

shuheiktgw commented 4 months ago

Allow users to define multiple environment variables in the same package. The result env message will be the intersection set of each service's environment variables.

github-actions[bot] commented 4 months ago

Code Metrics Report

main (f5d2079) #210 (02bde2c) +/-
Coverage 64.9% 64.9% +0.1%
Code to Test Ratio 1:0.3 1:0.3 +0.0
Test Execution Time 7m6s 7m8s +2s
Details ``` diff | | main (f5d2079) | #210 (02bde2c) | +/- | |---------------------|----------------|----------------|-------| + | Coverage | 64.9% | 64.9% | +0.1% | | Files | 69 | 69 | 0 | | Lines | 11603 | 11631 | +28 | + | Covered | 7525 | 7553 | +28 | + | Code to Test Ratio | 1:0.3 | 1:0.3 | +0.0 | | Code | 36815 | 36849 | +34 | + | Test | 12567 | 12598 | +31 | - | Test Execution Time | 7m6s | 7m8s | +2s | ```

Code coverage of files in pull request scope (81.7% → 81.9%)

Files Coverage +/-
resolver/graph.go 86.7% +0.4%
resolver/resolver.go 81.3% +0.2%

Reported by octocov

github-actions[bot] commented 4 months ago

Code Metrics Report

main (f5d2079) #210 (8ede3de) +/-
Coverage 64.9% 64.9% +0.1%
Code to Test Ratio 1:0.3 1:0.3 +0.0
Test Execution Time 7m6s 7m9s +3s
Details ``` diff | | main (f5d2079) | #210 (8ede3de) | +/- | |---------------------|----------------|----------------|-------| + | Coverage | 64.9% | 64.9% | +0.1% | | Files | 69 | 69 | 0 | | Lines | 11603 | 11632 | +29 | + | Covered | 7525 | 7554 | +29 | + | Code to Test Ratio | 1:0.3 | 1:0.3 | +0.0 | | Code | 36815 | 36850 | +35 | + | Test | 12567 | 12598 | +31 | - | Test Execution Time | 7m6s | 7m9s | +3s | ```

Code coverage of files in pull request scope (81.7% → 81.9%)

Files Coverage +/-
resolver/graph.go 86.7% +0.4%
resolver/resolver.go 81.3% +0.2%

Reported by octocov

github-actions[bot] commented 4 months ago

Code Metrics Report

main (f5d2079) #210 (9d3b8bd) +/-
Coverage 64.9% 65.0% +0.1%
Code to Test Ratio 1:0.3 1:0.3 +0.0
Test Execution Time 7m6s 7m11s +5s
Details ``` diff | | main (f5d2079) | #210 (9d3b8bd) | +/- | |---------------------|----------------|----------------|-------| + | Coverage | 64.9% | 65.0% | +0.1% | | Files | 69 | 69 | 0 | | Lines | 11603 | 11653 | +50 | + | Covered | 7525 | 7572 | +47 | + | Code to Test Ratio | 1:0.3 | 1:0.3 | +0.0 | | Code | 36815 | 36888 | +73 | + | Test | 12567 | 12599 | +32 | - | Test Execution Time | 7m6s | 7m11s | +5s | ```

Code coverage of files in pull request scope (81.7% → 81.9%)

Files Coverage +/-
resolver/graph.go 86.7% +0.4%
resolver/resolver.go 81.4% +0.3%

Reported by octocov

github-actions[bot] commented 4 months ago

Code Metrics Report

main (f5d2079) #210 (d54f954) +/-
Coverage 64.9% 65.0% +0.1%
Code to Test Ratio 1:0.3 1:0.3 +0.0
Test Execution Time 7m6s 7m0s -6s
Details ``` diff | | main (f5d2079) | #210 (d54f954) | +/- | |---------------------|----------------|----------------|-------| + | Coverage | 64.9% | 65.0% | +0.1% | | Files | 69 | 69 | 0 | | Lines | 11603 | 11654 | +51 | + | Covered | 7525 | 7572 | +47 | + | Code to Test Ratio | 1:0.3 | 1:0.3 | +0.0 | | Code | 36815 | 36892 | +77 | + | Test | 12567 | 12601 | +34 | + | Test Execution Time | 7m6s | 7m0s | -6s | ```

Code coverage of files in pull request scope (81.7% → 81.9%)

Files Coverage +/-
resolver/graph.go 86.7% +0.4%
resolver/resolver.go 81.3% +0.2%

Reported by octocov

shuheiktgw commented 4 months ago

🚀