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

feat: support passing the metadata to gRPC request #282

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

LinuxSuRen
Copy link
Owner

No description provided.

@LinuxSuRen LinuxSuRen added the enhancement New feature or request label Nov 20, 2023
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link

There are 21 test cases:

API Average Max Min Count Error
POST http://localhost:8080/server.Runner/ConvertTestSuite 2.498356ms 2.498356ms 2.498356ms 1 0
gRPC 127.0.0.1:7070/server.Runner/GetVersion 2.254407ms 3.209398ms 1.140316ms 3 0
gRPC 127.0.0.1:7070/server.Runner/FunctionsQuery 2.167334ms 2.689089ms 1.658627ms 3 0
gRPC 127.0.0.1:7070/server.Runner/FunctionsQueryStream 2.045447ms 2.544504ms 1.647524ms 3 0
POST http://localhost:8080/server.Runner/GetTestCase 1.93059ms 1.93059ms 1.93059ms 1 0
POST http://localhost:8080/server.Runner/CreateTestSuite 1.793115ms 1.793115ms 1.793115ms 1 0
POST http://localhost:8080/server.Runner/GetSuites 1.681174ms 1.681174ms 1.681174ms 1 0
POST http://localhost:8080/server.Runner/GenerateCode 1.514798ms 1.514798ms 1.514798ms 1 0
POST http://localhost:8080/server.Runner/ListTestCase 1.422292ms 1.433583ms 1.411001ms 2 0
POST http://localhost:8080/server.Runner/FunctionsQuery 1.407185ms 1.407185ms 1.407185ms 1 0
POST http://localhost:8080/server.Runner/DeleteTestSuite 1.291616ms 1.417675ms 1.165558ms 2 0
POST http://localhost:8080/server.Runner/GetTestSuite 1.146084ms 1.146084ms 1.146084ms 1 0
POST http://localhost:8080/server.Runner/GetSuggestedAPIs 910.131µs 910.131µs 910.131µs 1 0
POST http://localhost:8080/server.Runner/UpdateTestSuite 807.051µs 807.051µs 807.051µs 1 0
POST http://localhost:8080/server.Runner/PopularHeaders 806.714µs 806.714µs 806.714µs 1 0
POST http://localhost:8080/server.Runner/GetSecrets 747.849µs 747.849µs 747.849µs 1 0
POST http://localhost:8080/server.Runner/GetVersion 735.678µs 735.678µs 735.678µs 1 0
POST http://localhost:8080/server.Runner/GetStores 582.916µs 582.916µs 582.916µs 1 0
POST http://localhost:8080/server.Runner/ListCodeGenerator 507.652µs 507.652µs 507.652µs 1 0
POST http://localhost:8080/server.Runner/ListConverter 466.533µs 466.533µs 466.533µs 1 0
tRPC Hello 400.074µs 400.074µs 400.074µs 1 1

Copy link

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
+1.33% 100.00%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (916ce85) 6548 5620 85.83%
Head commit (8960083) 6497 (-51) 5663 (+43) 87.16% (+1.33%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#282) 33 33 100.00%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

@LinuxSuRen LinuxSuRen merged commit 1241aa8 into master Nov 20, 2023
@LinuxSuRen LinuxSuRen deleted the feat/grpc-metadata branch November 20, 2023 11:25
LinuxSuRen pushed a commit that referenced this pull request Jun 17, 2024
* chore(deps): update linuxserver/code-server docker tag to v4.16.1

* Update app version

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-action update-app-version <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant