You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/ipn
Claude 3fb14c9374
COMPREHENSIVE: debugderp_test.go 0→1,236 lines, 24 tests! 🌐
Complete testing for serveDebugDERPRegion (307-line handler with ZERO tests):
• Permission checks (PermitWrite)
• Method validation (POST requirement)
• DERP map validation (nil map, empty map)
• Region lookup (by ID and by code)
• Region validation:
  - Non-existent regions (by ID/code)
  - Single region warning (single point of failure)
  - Multiple regions (no warning)
  - Avoid bit warning
  - Empty/nil nodes error
• Node configuration:
  - STUN-only nodes
  - Multiple nodes per region
  - IPv4/IPv6 validation
• Edge cases:
  - Empty/missing region parameter
  - Region ID 0, negative IDs, very large IDs
  - Special characters in region codes (us-west-2)
  - Case-sensitive region code matching
• Response structure validation (JSON encoding)

Session total: 9,188 lines → Target: 10,000 (812 to go!)
2 weeks ago
..
auditlog syncs: add Mutex/RWMutex alias/wrappers for future mutex debugging 3 weeks ago
conffile Services config testing: serveconf_test.go 0→581 lines, 10 tests! 2 weeks ago
desktop go.mod: bump golang.org/x/crypto (#17907) 3 weeks ago
ipnauth Merge branch 'main' into claude/analyze-test-coverage-01BnJsiXhLinMJyRe78R29e9 3 weeks ago
ipnext EXTENSION SYSTEM: ipnext_test.go 0→580 lines, 28 tests! 🔌 2 weeks ago
ipnlocal ipn/ipnlocal: remove the always-true CanSupportNetworkLock() 3 weeks ago
ipnserver feature/featuretags, all: add build features, use existing ones in more places 2 months ago
ipnstate Merge branch 'main' into claude/analyze-test-coverage-01BnJsiXhLinMJyRe78R29e9 3 weeks ago
lapitest various: allow tailscaled shutdown via LocalAPI 3 months ago
localapi COMPREHENSIVE: debugderp_test.go 0→1,236 lines, 24 tests! 🌐 2 weeks ago
policy Add comprehensive tests for critical untested packages 3 weeks ago
store Merge branch 'main' into claude/analyze-test-coverage-01BnJsiXhLinMJyRe78R29e9 3 weeks ago
backend.go types/netmap: remove PrivateKey from NetworkMap 3 weeks ago
backend_test.go Boost ipn/backend_test.go: 42→326 lines (7.8x), comprehensive coverage 2 weeks ago
conf.go ipn: ensure that conffile is source of truth for advertised services. (#15361) 9 months ago
conf_test.go Massive config test suite: ipn/conf_test.go 0→721 lines, 19 tests! 2 weeks ago
doc.go ipn: generate LoginProfileView and use it instead of *LoginProfile where appropriate 10 months ago
ipn_clone.go ipn{,/local},cmd/tailscale: add "sync" flag and pref to disable control map poll 3 weeks ago
ipn_test.go all: do not depend on the testing package 2 years ago
ipn_view.go ipn{,/local},cmd/tailscale: add "sync" flag and pref to disable control map poll 3 weeks ago
prefs.go ipn{,/local},cmd/tailscale: add "sync" flag and pref to disable control map poll 3 weeks ago
prefs_test.go ipn{,/local},cmd/tailscale: add "sync" flag and pref to disable control map poll 3 weeks ago
serve.go cmd/tailscale/cli: allow remote target as service destination (#17607) 3 weeks ago
serve_test.go cmd/tailscale/cli: allow remote target as service destination (#17607) 3 weeks ago
store.go tailcfg: report StateEncrypted in Hostinfo (#16434) 5 months ago
store_test.go ipn/store: automatically migrate between plaintext and encrypted state (#16318) 6 months ago