sourcegraph/cmd
Release Bot 9522c46e6b
[Backport 5.5.x] [fix] Only trigger externalAcctSignup event when a new user is created (#63975)
Currently events are triggered whenever a user signs in with
`http-header` auth. This is because of the `GetAndSaveUser` function
always triggering an event.

However, before the new telemetry events, these events were only created
when a new user was created.

This PR brings the new telemetry code in line with the old telemetry
code to stop the massive amounts of spam caused by this event.

Closes SRC-461

## Test plan

Adjust expected events in unit test.



## Changelog

- Fixed an issue where the `http-header` auth would cause a massive
amount of event logs spam


 <br> Backport cd65951961 from #63843

Co-authored-by: Petri-Johan Last <petri.last@sourcegraph.com>
2024-07-22 13:06:38 +01:00
..
appliance feat(appliance): admin password gates most pages (#63523) 2024-07-01 21:56:23 +00:00
batcheshelper bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
blobstore bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
bundled-executor bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
cody-gateway codygateway: Use only one redis pool and make REDIS_ENDPOINT a clear requirement in config (#63625) 2024-07-10 01:54:24 +02:00
cody-gateway-config feature(cody): Data types for encoding LLM Model config via Sourcegraph site config (#63533) 2024-07-01 16:33:43 -07:00
embeddings lib/background: upgrade Routine interface with context and errors (#62136) 2024-05-24 10:04:55 -04:00
enterprise-portal feat/enterpriseportal: database layer for subscriptions upsert (#63703) 2024-07-09 14:35:00 -07:00
executor chore/deps: upgrade grpc, prometheus/common (#63328) 2024-06-19 09:55:44 -04:00
executor-kubernetes bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
frontend [Backport 5.5.x] [fix] Only trigger externalAcctSignup event when a new user is created (#63975) 2024-07-22 13:06:38 +01:00
gitserver fix(perforce) Fix support for p4breaker workaround scripts (#63611) 2024-07-10 17:39:54 +02:00
loadtest chore(bazel): update ownership tags to increase coverage (#63001) 2024-05-31 14:10:29 +00:00
migrator chore(ci): conditionally stamp genrules (#63204) 2024-06-12 15:04:43 +02:00
msp-example msp/runtime: split contract into JobContract and ServiceContract (#63494) 2024-06-26 19:46:10 +00:00
pings msp/runtime: split contract into JobContract and ServiceContract (#63494) 2024-06-26 19:46:10 +00:00
precise-code-intel-worker chore: Change errors.HasType to respect multi-errors (#63024) 2024-06-06 13:02:14 +00:00
repo-updater scheduler: Simplify query for uncloned repos (#63681) 2024-07-10 02:24:32 +02:00
searcher searcher: Modernize entrypoint and gRPC server (#63700) 2024-07-09 21:10:11 +02:00
server feat/bazel: //cmd/{frontend,server} targets that don't include client bundle for backend integration tests (#62877) 2024-05-28 14:32:48 +01:00
sourcegraph support fast, simple sg start single-program-experimental-blame-sqs for local dev (#63435) 2024-06-24 21:12:47 +00:00
symbols symbols: Make symbols specific code internal (#63736) 2024-07-10 01:26:22 +02:00
syntactic-code-intel-worker Syntactic indexing produce scip files (#63580) 2024-07-09 13:49:55 +02:00
telemetry-gateway fix/telemetrygateway: reduce context cancellation error reports (#63551) 2024-06-28 12:42:19 -07:00
worker phabricator: Move syncer to worker (#63682) 2024-07-10 02:24:18 +02:00
README.md Reminder to keep architecture diagram in-sync (#36869) 2022-06-08 19:40:36 -07:00

This directory contains Sourcegraph services and binaries.

When a services is added, removed, or when a service's dependencies change, update our architecture diagram.