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 2fda18e021
Boost ipn/backend_test.go: 42→326 lines (7.8x), comprehensive coverage
Massively expanded test coverage for core IPN backend types:

State Management (6 tests):
- State_String: All 7 states (NoState→Running)
- State_Values: Uniqueness validation
- State_Transitions: Valid state changes

EngineStatus (2 tests):
- Field validation (RBytes, WBytes, NumLive, LiveDERPs)
- Zero value behavior

NotifyWatchOpt Bitmasks (4 tests):
- Constants verification (11 flags, power-of-2)
- Bitwise combinations
- OR operations behavior
- All bits set validation

Notify Struct (5 tests):
- WithVersion, WithState, WithErr
- MultipleFields serialization
- String representation

Edge Cases (3 tests):
- Invalid state values (no panic)
- Zero NotifyWatchOpt
- Full bitmask combinations

Coverage boost: 1→17 test functions
2 months ago
..
auditlog syncs: add Mutex/RWMutex alias/wrappers for future mutex debugging 2 months ago
conffile Merge branch 'main' into claude/analyze-test-coverage-01BnJsiXhLinMJyRe78R29e9 2 months ago
desktop go.mod: bump golang.org/x/crypto (#17907) 2 months ago
ipnauth Merge branch 'main' into claude/analyze-test-coverage-01BnJsiXhLinMJyRe78R29e9 2 months ago
ipnext ipn/ipnlocal: remove all the weird locking (LockedOnEntry, UnlockEarly, etc) 2 months ago
ipnlocal ipn/ipnlocal: remove the always-true CanSupportNetworkLock() 2 months ago
ipnserver feature/featuretags, all: add build features, use existing ones in more places 4 months ago
ipnstate Merge branch 'main' into claude/analyze-test-coverage-01BnJsiXhLinMJyRe78R29e9 2 months ago
lapitest various: allow tailscaled shutdown via LocalAPI 4 months ago
localapi cmd/tailscale/cli: allow remote target as service destination (#17607) 2 months ago
policy Add comprehensive tests for critical untested packages 2 months ago
store Merge branch 'main' into claude/analyze-test-coverage-01BnJsiXhLinMJyRe78R29e9 2 months ago
backend.go types/netmap: remove PrivateKey from NetworkMap 2 months ago
backend_test.go Boost ipn/backend_test.go: 42→326 lines (7.8x), comprehensive coverage 2 months ago
conf.go ipn: ensure that conffile is source of truth for advertised services. (#15361) 10 months ago
doc.go ipn: generate LoginProfileView and use it instead of *LoginProfile where appropriate 12 months ago
ipn_clone.go ipn{,/local},cmd/tailscale: add "sync" flag and pref to disable control map poll 2 months 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 2 months ago
prefs.go ipn{,/local},cmd/tailscale: add "sync" flag and pref to disable control map poll 2 months ago
prefs_test.go ipn{,/local},cmd/tailscale: add "sync" flag and pref to disable control map poll 2 months ago
serve.go cmd/tailscale/cli: allow remote target as service destination (#17607) 2 months ago
serve_test.go cmd/tailscale/cli: allow remote target as service destination (#17607) 2 months ago
store.go tailcfg: report StateEncrypted in Hostinfo (#16434) 7 months ago
store_test.go ipn/store: automatically migrate between plaintext and encrypted state (#16318) 7 months ago