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

getlantern / flashlight / 12240454439
32%

Build:
DEFAULT BRANCH: main
Ran 09 Dec 2024 05:06PM UTC
Jobs 1
Files 116
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

09 Dec 2024 04:57PM UTC coverage: 37.521% (-0.3%) from 37.809%
12240454439

push

github

web-flow
adding IsReady to dialer interface (#1436)

* feat: adding IsReady to BanditDialer and isReady to proxy implementations

* feat: only select dialer when ready to dial

* fix: adding IsReady to test dialer

* fix: loading b64 wasm in background so channel doesn't lock and only wait for download when ready is isn't ready

* fix: removing err declaration

* fix: renaming channel and waiting dialer to be available before checking at test

* feat: if dialer is not ready, try to add to bypass again in 60s

* feat: adding log debug and continue when loading dialer in background

* fix: adopt suggestions and make IsReady return an error

* feat: verifying IsReady error at bandit before checking if it's ready or not

* fix: updating bypass function for using and checking context timeout, if it happens it should stop retrying to load the proxy async

* feat: adding locker at package lever for avoiding downloading WASM file with data race

* feat: add support for water multiplex

* fix: typo

* fix: checking error at bypass before using ready

* fix: canceling context if dialer IsReady returns an error

* fix: start proxy if dialer is ready

* fix: removing retry atomic bool and replace by select statement

* fix: removing if statement for checking if thereadyChain is closed and removing close

* fix: removing close calls for finishedToLoad; updated dialer closed message and isReady now returns true based on flag and dialer different than nil

* fix: using a sync.Map for handling lockers per WATER transport

* fix: making Ready returns a <- chan error

* fix: checking if ready chan is nil

* fix: adding on success to dialer

* fix: deleting bandit package

* fix: removing errLoadingWASM var and send it directly to the channel

* feat: go mod tidy

* fix: replace log by logger

* fix: add comment for making explicit IsReady can return a nil value if initialization is not required and verifying at bypass even when loading async

* fix: replace sync.Map usage by cr... (continued)

74 of 251 new or added lines in 19 files covered. (29.48%)

15 existing lines in 6 files now uncovered.

4453 of 11868 relevant lines covered (37.52%)

46.07 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
0.0
0.0% chained/algeneva_impl.go
3
68.52
-1.96% chained/broflake_impl.go
3
33.33
-16.67% chained/http_impl.go
3
0.0
0.0% chained/https_impl.go
3
16.13
-0.82% chained/multipath.go
3
0.0
0.0% chained/multiplexed_impl.go
3
90.18
-2.48% chained/preconnecting_dialer.go
3
41.14
-0.06% chained/proxy.go
3
0.0
0.0% chained/quic_impl.go
3
38.18
-0.35% chained/shadowsocks_impl.go
3
0.0
0.0% chained/starbridge_impl.go
3
0.0
0.0% chained/tlsmasq_impl.go
3
0.0
0.0% chained/wss_impl.go
8
3.45
-0.12% apipb/legacy.go
10
58.96
-9.9% dialer/bandit.go
11
12.33
-0.1% apipb/types.pb.go
19
56.56
-11.86% chained/water_version_control.go
32
71.01
0.78% chained/water_impl.go
58
0.0
0.0% services/bypass.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
71.01
0.78% chained/water_impl.go
1
47.87
-0.53% logging/logging.go
1
3.45
-0.12% apipb/legacy.go
2
0.0
0.0% services/bypass.go
3
56.56
-11.86% chained/water_version_control.go
7
58.96
-9.9% dialer/bandit.go
Jobs
ID Job ID Ran Files Coverage
1 12240454439.1 09 Dec 2024 05:06PM UTC 116
37.52
GitHub Action Run
Source Files on build 12240454439
  • Tree
  • List 116
  • Changed 24
  • Source Changed 0
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 30d5ac4f on github
  • Prev Build on main (#12181175780)
  • Next Build on main (#12244634478)
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