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

gatewayd-io / gatewayd
62%
main: 60%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/github.com/redis/go-redis/v9-9.14.0
DEFAULT BRANCH: main
Repo Added 07 Sep 2023 08:58PM UTC
Files 65
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

LAST BUILD ON BRANCH feature/raft-loadbalancer-state
branch: feature/raft-loadbalancer-state
CHANGE BRANCH
x
Reset
  • feature/raft-loadbalancer-state
  • dependabot/go_modules/github.com/Masterminds/semver/v3-3.3.1
  • dependabot/go_modules/github.com/getsentry/sentry-go-0.35.1
  • dependabot/go_modules/github.com/getsentry/sentry-go-0.35.3
  • dependabot/go_modules/github.com/grpc-ecosystem/grpc-gateway/v2-2.24.0
  • dependabot/go_modules/github.com/grpc-ecosystem/grpc-gateway/v2-2.25.1
  • dependabot/go_modules/github.com/grpc-ecosystem/grpc-gateway/v2-2.26.1
  • dependabot/go_modules/github.com/jackc/pgx/v5-5.7.2
  • dependabot/go_modules/github.com/prometheus/client_golang-1.21.0
  • dependabot/go_modules/github.com/redis/go-redis/v9-9.13.0
  • dependabot/go_modules/github.com/redis/go-redis/v9-9.14.0
  • dependabot/go_modules/github.com/spf13/cast-1.7.1
  • dependabot/go_modules/github.com/spf13/cobra-1.9.1
  • dependabot/go_modules/github.com/stretchr/testify-1.11.0
  • dependabot/go_modules/github.com/stretchr/testify-1.11.1
  • dependabot/go_modules/go.opentelemetry.io/otel/exporters/otlp/otlptrace-1.35.0
  • dependabot/go_modules/go.opentelemetry.io/otel/exporters/otlp/otlptrace-1.36.0
  • dependabot/go_modules/go.opentelemetry.io/otel/exporters/otlp/otlptrace-1.37.0
  • dependabot/go_modules/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc-1.35.0
  • dependabot/go_modules/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc-1.36.0
  • dependabot/go_modules/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc-1.37.0
  • dependabot/go_modules/go.opentelemetry.io/otel/sdk-1.35.0
  • dependabot/go_modules/go.opentelemetry.io/otel/sdk-1.36.0
  • dependabot/go_modules/go.opentelemetry.io/otel/sdk-1.37.0
  • dependabot/go_modules/go.opentelemetry.io/otel/trace-1.35.0
  • dependabot/go_modules/go.opentelemetry.io/otel/trace-1.36.0
  • dependabot/go_modules/go.opentelemetry.io/otel/trace-1.37.0
  • dependabot/go_modules/golang.org/x/text-0.22.0
  • dependabot/go_modules/golang.org/x/text-0.23.0
  • dependabot/go_modules/golang.org/x/text-0.28.0
  • dependabot/go_modules/golang.org/x/text-0.29.0
  • dependabot/go_modules/google.golang.org/grpc-1.68.1
  • dependabot/go_modules/google.golang.org/grpc-1.69.0
  • dependabot/go_modules/google.golang.org/grpc-1.72.2
  • dependabot/go_modules/google.golang.org/grpc-1.73.0
  • dependabot/go_modules/google.golang.org/protobuf-1.36.0
  • dependabot/go_modules/google.golang.org/protobuf-1.36.1
  • dependabot/go_modules/google.golang.org/protobuf-1.36.5
  • feature/add-raft-cluster-peer-management
  • feature/add-raft-health-check
  • feature/dynamic-adding-raft-642
  • feature/setup-raft
  • fix-hclog-format-string
  • log-adapter
  • main
  • refactor-compat-policy
  • refactor-run-cmd
  • refactor-scheduler-functions
  • refs/tags/v0.10.0
  • refs/tags/v0.10.1
  • refs/tags/v0.10.2
  • refs/tags/v0.10.3
  • refs/tags/v0.9.0
  • refs/tags/v0.9.1
  • refs/tags/v0.9.10
  • refs/tags/v0.9.2
  • refs/tags/v0.9.3
  • refs/tags/v0.9.4
  • refs/tags/v0.9.5
  • refs/tags/v0.9.6
  • refs/tags/v0.9.7
  • refs/tags/v0.9.8
  • refs/tags/v0.9.9
  • update-deps

20 Dec 2024 09:41AM UTC coverage: 62.437% (+0.5%) from 61.911%
12429165378

Pull #641

github

sinadarbouy
refactor: introduce dedicated ApplyTimeout constant for Raft operations

Replace usage of LeaderElectionTimeout with a new dedicated ApplyTimeout constant
(2 seconds) for Raft command applications across different load balancing
strategies (ConsistentHash, RoundRobin, WeightedRoundRobin).

This change provides better separation of concerns by using a more appropriate
timeout value for command applications rather than reusing the leader election
timeout.
Pull Request #641: Add Raft State Management for Load Balancers

176 of 212 new or added lines in 4 files covered. (83.02%)

2 existing lines in 1 file now uncovered.

5043 of 8077 relevant lines covered (62.44%)

17.42 hits per line

Relevant lines Covered
Build:
Build:
8077 RELEVANT LINES 5043 COVERED LINES
17.42 HITS PER LINE
Source Files on feature/raft-loadbalancer-state
  • Tree
  • List 63
  • Changed 9
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
12429165378 feature/raft-loadbalancer-state refactor: introduce dedicated ApplyTimeout constant for Raft operations Replace usage of LeaderElectionTimeout with a new dedicated ApplyTimeout constant (2 seconds) for Raft command applications across different load balancing strategies (Consis... Pull #641 20 Dec 2024 09:47AM UTC sinadarbouy github
62.44
12417069014 feature/raft-loadbalancer-state feat(raft): Add comprehensive test coverage for FSM operations Add test cases covering: - Weighted round-robin operations (single and batch updates) - Round-robin index management - Invalid command handling - FSM snapshot restoration - Node shutd... Pull #641 19 Dec 2024 04:50PM UTC sinadarbouy github
62.41
12415126035 feature/raft-loadbalancer-state Add grpcAddress field to raft peer configuration Add commented example of grpcAddress field in peer configuration, which specifies the gRPC endpoint for raft peer communication. Pull #641 19 Dec 2024 02:58PM UTC sinadarbouy github
61.67
12415033305 feature/raft-loadbalancer-state feat: Add weighted round-robin state to FSM snapshots Add support for persisting and restoring weighted round-robin load balancer states in the Raft FSM snapshots. This ensures the weighted round-robin configuration survives cluster restarts and ... Pull #641 19 Dec 2024 02:52PM UTC sinadarbouy github
61.56
12414907710 feature/raft-loadbalancer-state fix: improve error handling and code readability in network package - Add JSON marshaling error handling in WeightedRoundRobin - Simplify proxy state validation logic in server tests - Clean up test formatting The main changes improve error prop... Pull #641 19 Dec 2024 02:45PM UTC sinadarbouy github
61.61
See All Builds (621)
  • Repo on GitHub
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