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

m-lab / ndt-server
76%

Build:
DEFAULT BRANCH: main
Repo Added 11 Jan 2019 09:27PM UTC
Files 36
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 main
branch: main
CHANGE BRANCH
x
Reset
  • main
  • KwadroNaut-patch-1
  • add-claude-github-actions-1777994309333
  • add-full-stack-dockerfile
  • add-libndt-integration-tests
  • add-packet-headers-to-fullstack
  • add-to-output
  • add-version-metric
  • bassosimone-patch-1
  • connection-info
  • coverage
  • dependabot/go_modules/cmd/generate-schemas/github.com/apache/thrift-0.23.0
  • dependabot/go_modules/cmd/generate-schemas/golang.org/x/net-0.38.0
  • dependabot/go_modules/cmd/generate-schemas/golang.org/x/oauth2-0.27.0
  • dependabot/go_modules/cmd/generate-schemas/google.golang.org/grpc-1.56.3
  • dependabot/go_modules/cmd/generate-schemas/google.golang.org/grpc-1.79.3
  • dependabot/go_modules/cmd/generate-schemas/google.golang.org/protobuf-1.33.0
  • dependabot/go_modules/github.com/go-jose/go-jose/v4-4.1.4
  • dependabot/go_modules/golang.org/x/crypto-0.1.0
  • eliminate-ndt-cloud
  • feature/C
  • feature/cleartext
  • feature/docker
  • feature/il_barbiere_di_siviglia
  • feature/moreshaving
  • feature/ndt7-beta
  • feature/nofloat
  • feature/spec
  • feature/upload
  • feature/yakshaving
  • fix-fullstack
  • fix-legacy-bug
  • fix-nil-bug
  • fix-uuid
  • fix/64
  • fix/79
  • fix/89
  • fix/cors
  • fix/dirnames
  • fix/fourtuple
  • fix/logmessage
  • fix/macos_build
  • fix/ndt7
  • fix/ndt7-datadir
  • fix/remove-unused-line
  • fix/socket_cookies
  • fullstack-fix-#211
  • goroutine-leak
  • improve-default-message
  • improve-logging
  • improve-logs
  • issue/103
  • issue/113
  • issue/130
  • issue/194
  • issue/238
  • issue/242
  • issue/34
  • issue/58
  • issue/70
  • jsclient
  • last-features-for-onebox-compatibility
  • master
  • move-default-webpage
  • ndt5
  • ndt7-locations
  • non-ws-with-json
  • pasta-and-pizza
  • promlint
  • protocol-fix
  • quantization
  • remove-client
  • remove-etl-connection
  • remove-mk
  • revert-232-l7-ping
  • robust-s2c-receive
  • sandbox-cristinaleon-1.20
  • sandbox-cristinaleon-ConnectionInfo
  • sandbox-cristinaleon-fix-build
  • sandbox-cristinaleon-health-endpoint
  • sandbox-cristinaleon-labeling
  • sandbox-cristinaleon-servermetada-panic
  • sandbox-kinkade
  • sandbox-pboothe
  • sandbox-roberto
  • sandbox-roberto-add-canary-flag
  • sandbox-roberto-autocert
  • sandbox-roberto-disable-http2
  • sandbox-roberto-exit-on-failed-write
  • sandbox-roberto-fix-close
  • sandbox-roberto-fix-ndt7-test-termination
  • sandbox-roberto-fix-now
  • sandbox-roberto-increase-message-size
  • sandbox-roberto-integration-claims
  • sandbox-roberto-ndt7-js
  • sandbox-roberto-pin-go-version
  • sandbox-roberto-remove-fd-calls
  • sandbox-roberto-update-deps
  • sandbox-roberto-update-fullstack
  • sandbox-roberto-update-uuid-dep
  • sandbox-sbs
  • sandbox-sbs-fix-tests
  • sandbox-sbs-pipeline
  • sandbox-soltesz
  • sandbox-soltesz-bbr-enable
  • sandbox-soltesz-count-bbr-success
  • sandbox-soltesz-download-close
  • sandbox-soltesz-errors
  • sandbox-soltesz-eventsocket
  • sandbox-soltesz-explicit-access
  • sandbox-soltesz-fix
  • sandbox-soltesz-fix-bbr-metric
  • sandbox-soltesz-fix-close
  • sandbox-soltesz-fix-crash
  • sandbox-soltesz-fix-flaky
  • sandbox-soltesz-fix-schema
  • sandbox-soltesz-go1.18
  • sandbox-soltesz-jostler-example
  • sandbox-soltesz-labels
  • sandbox-soltesz-lossrate
  • sandbox-soltesz-meta
  • sandbox-soltesz-metrics
  • sandbox-soltesz-migrate-go1.18
  • sandbox-soltesz-monitoring-metrics
  • sandbox-soltesz-ndt7
  • sandbox-soltesz-ndt7-1
  • sandbox-soltesz-ndt7-results
  • sandbox-soltesz-new-keyvalues
  • sandbox-soltesz-nodebug
  • sandbox-soltesz-parameters-txlimits
  • sandbox-soltesz-require-ndt7
  • sandbox-soltesz-rotate
  • sandbox-soltesz-s2c
  • sandbox-soltesz-schema
  • sandbox-soltesz-server-timeout
  • sandbox-soltesz-stringfile-flags
  • sandbox-soltesz-testserver
  • sandbox-soltesz-token
  • sandbox-soltesz-txctl-plain
  • sandbox-soltesz-txwatcher
  • sandbox-soltesz-uncompressed
  • sandbox-soltesz-unified-schema
  • save-data2
  • smooth_c2s
  • soltesz-bbrconn
  • soltesz-fix-error-metrics
  • soltesz-fix-netx-dec
  • soltesz-local-testing
  • soltesz-logerr
  • soltesz-ndt5-labels
  • soltesz-ndt7-metrics
  • soltesz-remove-fdcache
  • soltesz-replace-fdcache
  • soltesz-simple-upload
  • support-plain-clients
  • tlv-support
  • unify-timeouts
  • update-readme-clients
  • use-forwarded-for-hint-of-client-ip
  • uuid
  • uuid_prefixes_in_tmpfiles
  • v0.10.0
  • v0.10.1
  • v0.10.2
  • v0.11.0
  • v0.12.0
  • v0.13.0
  • v0.13.1
  • v0.13.2
  • v0.13.3
  • v0.13.4
  • v0.14.0
  • v0.14.1
  • v0.14.2
  • v0.15.0
  • v0.16.0
  • v0.17.0
  • v0.18.0
  • v0.18.1
  • v0.18.2
  • v0.19.0
  • v0.20.0
  • v0.20.1
  • v0.20.10
  • v0.20.11
  • v0.20.12
  • v0.20.13
  • v0.20.14
  • v0.20.15
  • v0.20.16
  • v0.20.17
  • v0.20.18
  • v0.20.2
  • v0.20.3
  • v0.20.4
  • v0.20.5
  • v0.20.6
  • v0.20.7
  • v0.20.8
  • v0.20.9
  • v0.6.0
  • v0.6.1
  • v0.6.2
  • v0.6.3
  • v0.7.0
  • v0.8.0
  • v0.8.1
  • v0.8.2
  • v0.9.0
  • v0.9.1
  • vet-etl

06 May 2026 05:32PM UTC coverage: 75.902% (+0.09%) from 75.811%
25450954111

push

github

web-flow
feat(ndt7): write integration claims (int_id, key_id) to ClientMetadata (#430)

* feat(ndt7): write integration claims (int_id, key_id) to ClientMetadata

Extract integration claims from request context (set by access token controller)
and append them to ClientMetadata. These flow through JSON results into BigQuery
for per-integration test attribution.

* fix: remove local replace directive from go.mod

* refactor(ndt7): adopt generic custom-claim API from m-lab/access

Replace the integration-specific controller.GetIntegrationClaims /
token.IntegrationClaims types (removed during the m-lab/access#43
refactor) with the new generic controller.GetCustomClaim mechanism.

- Define IntegrationClaims locally in ndt7/handler.
- appendIntegrationMetadata type-asserts controller.GetCustomClaim(ctx)
  to *IntegrationClaims.
- Wire NewCustomClaim through ndt7's controller.Setup call via the new
  controller.WithCustomClaim option.

* chore(go.mod): require m-lab/access at PR #43 head commit

Pins github.com/m-lab/access to the pseudo-version for commit 78d3830
on the m-lab/access#43 branch. Drop this commit (or replace it with a
version bump) once the access PR is merged and tagged.

* refactor(ndt7/handler): improve integration claim handling

- Distinguish missing claim (silent) from wrong type (logged warning)
- Rename integration_claims.go to integrationclaims.go to avoid the
  Go *_GOOS.go file-naming convention
- Cover the unexpected-claim-type branch in tests

* ndt7/handler: exclude int_id and key_id from client metadata

Prevent clients from injecting unverified values for int_id and key_id
URL parameters, which are server-verified claims that should not be
overridable by client-supplied metadata.

https://claude.ai/code/session_01KR7gWP4ApK1hwAwDygmmEU

* chore(go.mod): pin m-lab/access to v0.1.0

* refactor(ndt7/handler): address PR review feedback

- Make ctx the first argument in appendIntegrationMetadata (Go idiom)
- Document why excludeKeyRe filte... (continued)

21 of 21 new or added lines in 2 files covered. (100.0%)

3 existing lines in 1 file now uncovered.

1767 of 2328 relevant lines covered (75.9%)

1.56 hits per line

Relevant lines Covered
Build:
Build:
2328 RELEVANT LINES 1767 COVERED LINES
1.56 HITS PER LINE
Source Files on main
  • Tree
  • List 36
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
25450954111 main feat(ndt7): write integration claims (int_id, key_id) to ClientMetadata (#430) * feat(ndt7): write integration claims (int_id, key_id) to ClientMetadata Extract integration claims from request context (set by access token controller) and append ... push 06 May 2026 05:34PM UTC web-flow github
75.9
25385234067 main "Claude PR Assistant workflow" (#431) push 05 May 2026 03:20PM UTC web-flow github
75.81
22229108747 main docs: add AGENTS.md with AI contribution guidelines push 20 Feb 2026 03:03PM UTC robertodauria github
75.68
20964978714 main docs: replace Travis CI badge with GitHub Actions badge (#423) push 13 Jan 2026 04:48PM UTC web-flow github
75.68
20961287864 main Bump golang.org/x/oauth2 from 0.5.0 to 0.27.0 in /cmd/generate-schemas (#421) Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.5.0 to 0.27.0. - [Commits](https://github.com/golang/oauth2/compare/v0.5.0...v0.27.0) --- updated-... push 13 Jan 2026 02:56PM UTC web-flow github
75.68
20961021140 main Bump google.golang.org/grpc in /cmd/generate-schemas (#422) Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.53.0 to 1.56.3. - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](https://github.com/grpc/grp... push 13 Jan 2026 02:48PM UTC web-flow github
75.68
20960751559 main Bump google.golang.org/protobuf in /cmd/generate-schemas (#420) Bumps google.golang.org/protobuf from 1.28.1 to 1.33.0. --- updated-dependencies: - dependency-name: google.golang.org/protobuf dependency-version: 1.33.0 dependency-type: indir... push 13 Jan 2026 02:40PM UTC web-flow github
75.68
20960733196 main Bump golang.org/x/net from 0.7.0 to 0.38.0 in /cmd/generate-schemas (#419) * Bump golang.org/x/net from 0.7.0 to 0.38.0 in /cmd/generate-schemas Bumps [golang.org/x/net](https://github.com/golang/net) from 0.7.0 to 0.38.0. - [Commits](https://gi... push 13 Jan 2026 02:39PM UTC web-flow github
75.68
20960309393 main Merge pull request #418 from m-lab/sandbox-roberto-update-deps chore: update Go to 1.25 and refresh dependencies push 13 Jan 2026 02:27PM UTC web-flow github
75.68
1665 main All fields are not required (#386) * All fields are not required push 22 May 2023 03:52PM UTC web-flow travis-ci-com
81.55
See All Builds (1154)
  • 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

© 2026 Coveralls, Inc