• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gatewayd-io / gatewayd / 12504582612
60%

Build:
DEFAULT BRANCH: main
Ran 26 Dec 2024 01:48PM UTC
Jobs 1
Files 64
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Dec 2024 01:44PM UTC coverage: 63.027% (+0.4%) from 62.62%
12504582612

push

github

web-flow
Refactor commands (#644)

* Refactor global variables into a global struct
* Update tests
* Use param instead of global variable
* Update tests
* Fix formatting
* Add a hack to fix the tests
* Ignore raft files
* Fix tests
* Remove global variables
* Use a global app variable for test only and assign it only in tests
* Add stopGracefully as a method to the GatewayDInstance struct
* Move signal handler to the top to avoid half-states on exit
* Add a new function for creating an instance of GatewayDInstance using parsed flags
* Remove duplicate internal functions
* Update tests
* Use exported functions instead of internal variables
* Remove global variables
* Update tests
* Fix linter error
* Ignore dupl linter
* Fix tests with the actual log output
* Clean up after test
* Remove global variables
* Skip path slip verification
* Fix tests
* Remove backup
* Another try to fix the test
* Fix missing/unknown behavior
* Add a pull-only test
* Declare variable before assignment
* Fix plugin install behavior
* Fix plugin install with no overwrite
* Revert changes
* Rename variable
* Use filepath to join paths
* Remove unnecessary file
* Ignore plugins file if exists
* Remove duplicate code
* Reset the pull-only flag
* Check if the server is properly closed before erroring out
* Refactor run command into a separate file
* Fix bug in handling early exit
* Move left-over functions
* Add comments
* Fix linter errors
* Fix missing log message and span
* Handle errors when stopping the listener for gRPC server
* Graceful shutdown of gRPC server
* Revert changes to path
* Use local variable
* Replace all context.TODO with context.Background
* Split exit codes into a separate file
* Remove unused constant and renumber others
* Use exported function instead of internal variables
* Ignore linter errors
* Rename variable and comment to match the behavior

886 of 1138 new or added lines in 12 files covered. (77.86%)

33 existing lines in 3 files now uncovered.

5235 of 8306 relevant lines covered (63.03%)

17.12 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
68.42
-7.77% api/grpc_server.go
4
57.14
-3.38% api/http_server.go
4
54.44
2.32% cmd/plugin_install.go
17
68.0
-4.15% cmd/run.go
223
75.3
cmd/gatewayd_app.go

Uncovered Existing Lines

Lines Coverage ∆ File
4
15.17
-2.76% usagereport/v1/usagereport.pb.go
9
0.0
-27.27% usagereport/v1/usagereport_grpc.pb.go
20
68.0
-4.15% cmd/run.go
Jobs
ID Job ID Ran Files Coverage
1 12504582612.1 26 Dec 2024 01:48PM UTC 64
63.03
GitHub Action Run
Source Files on build 12504582612
  • Tree
  • List 64
  • Changed 22
  • Source Changed 0
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • ce578fc2 on github
  • Prev Build on main (#12458569615)
  • Next Build on main (#12521839110)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc