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.
Brad Fitzpatrick 7b5b9f5ce2 client/web: fix nil metricCapture crash in mockLocalAPI
The upload-client-metrics handler called metricCapture without
checking if it was nil or if the metrics slice was empty. Most
tests pass nil for metricCapture, so if a metrics upload races
in during the test, it panics.

Fixes #19252

Change-Id: Ib904d1fe6779067dc2a153d1680b8f50cba9c773
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
1 month ago
..
build client/web: precompress assets 2 years ago
src client/web: signal need to wait for auth across tabs 2 months ago
assets.go all: remove AUTHORS file and references to it 4 months ago
auth.go client/web: signal need to wait for auth across tabs 2 months ago
index.html client/web: use CSP hash for inline javascript 2 years ago
package.json build(deps-dev): bump vitest from 1.3.1 to 1.6.1 in /client/web 5 months ago
qnap.go all: remove AUTHORS file and references to it 4 months ago
styles.json client/web: adjust colors and some UI margins 2 years ago
synology.go all: remove AUTHORS file and references to it 4 months ago
tailwind.config.js client/web: fix Vite CJS deprecation warning (#11288) 2 years ago
tsconfig.json client/web: update vite and vitest to latest versions (#11200) 2 years ago
vite.config.ts client/web: update vite and vitest to latest versions (#11200) 2 years ago
web.go client/web: signal need to wait for auth across tabs 2 months ago
web_test.go client/web: fix nil metricCapture crash in mockLocalAPI 1 month ago
yarn.lock build(deps): bump lodash from 4.17.21 to 4.17.23 in /client/web (#18476) 3 months ago