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

HelixObs / gateway / 26158838679
91%

Build:
DEFAULT BRANCH: main
Ran 20 May 2026 11:14AM UTC
Jobs 1
Files 18
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

20 May 2026 11:12AM UTC coverage: 90.984% (+8.7%) from 82.315%
26158838679

push

github

chitrangpatel
test: add unit tests for auth and duplicate-issue fixes

auth package (new):
- auth_test.go: Issuer (enable/disable, issue+validate, multi-key rotation,
  wrong key, garbage token), SecretBackend (valid/invalid credential, bad hash
  format), TokenIntrospectionBackend (valid/invalid/network-error),
  BackendFor (all types + missing verify_url + unknown type)
- handler_test.go: TokenHandler (issues JWT, rejects invalid credential,
  unknown instrument, wrong method, bad JSON, missing fields)
- middleware_test.go: BearerAuth (disabled passthrough, valid token, missing/
  invalid token, bare Bearer), UnaryInterceptor (disabled, valid, missing
  metadata, missing auth header, invalid token, non-Bearer scheme)
- config_test.go: ConfigStore (secret backend, token_introspection, missing
  instrument, non-YAML files ignored, no auth block, empty dir)

notifier/github (extended):
- TestDispatch_UpsertUsesBackgroundContext: verifies UpsertNotificationIssue
  receives context.Background(), not the caller's context — documents the fix
  that prevents orphaned issues on gateway restart
- TestDispatch_ConcurrentCreatesOneIssue: verifies that serialised Dispatch
  calls (as guaranteed by the notifier's per-fingerprint mutex) produce exactly
  one GitHub issue create followed by N-1 body updates

notifier (extended):
- TestDoSCM_FingerprintMutexSerialisesDispatches: sends N events with the
  same fingerprint and asserts that the slow SCM backend's dispatch intervals
  never overlap — proving the per-fingerprint mutex serialises concurrent calls

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

2099 of 2307 relevant lines covered (90.98%)

1971.5 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26158838679.1 20 May 2026 11:14AM UTC 18
90.98
GitHub Action Run
Source Files on build 26158838679
  • Tree
  • List 18
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26158838679
  • e19a236c on github
  • Prev Build on main (#26158274886)
  • Next Build on main (#26196219763)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc