sourcegraph/internal/gqltestutil
Erik Seliger 38b79fbb2f
authz: Compute providers on the fly (#64012)
Previously, we would store authz providers globally and refresh them
every now and then.
However, creating the providers is fairly cheap (1.3ms in a local trace)
so we should not keep them in memory and remember to not forget to start
the watcher routine.

This will help for multi-tenant Sourcegraph in that providers are now
computed for the context in question, and not held globally. Keeping
potentially 100k authz providers in memory will not scale.

Test plan: Still works, local Jaeger traces are quite acceptable.
2024-07-31 02:59:41 +02:00
..
access_token.go Implement expiry for access tokens (#59565) 2024-01-18 18:54:07 -05:00
batch_specs.go include paginated output lines in e2e tests (#47184) 2023-01-31 15:14:40 +01:00
BUILD.bazel chore: use set difference operation instead of a map. (#55249) 2023-07-25 15:43:30 +04:00
client.go chore: Remove client construction from SignUp/In funcs (#62789) 2024-05-21 15:18:58 +02:00
code_insights.go insights: allow to save the default number of series samples (#47329) 2023-02-08 12:24:08 +00:00
CODENOTIFY CODENOTIFY: subscribe changes for joe (#15141) 2020-10-29 15:31:53 +08:00
compute.go fix: update links for dev docs (#62758) 2024-05-17 13:47:34 +02:00
external_service.go Restore #44549 by making test more resilient and using context.Background (#44704) 2022-11-22 15:28:06 +01:00
git.go frontend: add a GraphQL test for sub-repo permissions for indexed symbols searches. (#45767) 2022-12-16 18:29:49 +04:00
helper.go errors: Introduce internal package (#30558) 2022-02-07 15:03:45 +00:00
migration.go codeintel: Register SCIP oobmigration (#45106) 2023-01-23 14:24:44 +00:00
organization.go Remove dead code from org invites (#57279) 2023-10-04 15:50:44 +02:00
permissions.go authz: Compute providers on the fly (#64012) 2024-07-31 02:59:41 +02:00
product_subscription.go ci: upsert license key for backend integration tests (#41163) 2022-09-01 18:45:50 +08:00
repository.go aspect workflows: add initial aspect workflow yaml (#56569) 2023-11-24 11:52:17 +02:00
search_aggregations.go insights: add integration tests for aggregations API (#41767) 2022-09-20 14:51:24 -04:00
search_context.go all: use any instead of interface{} (#35102) 2022-05-09 10:59:39 +02:00
search.go Search: expose path matches on FileMatch (#63396) 2024-06-26 08:23:28 -06:00
settings.go chore: Factor out logic for modifying site config (#62768) 2024-05-21 15:16:48 +02:00
user.go gqltest: add test cases to TestBitbucketProjectsPermsSync (#39370) 2022-07-26 11:50:10 +02:00