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.
analytics/test/plausible
Vini Brasil 8834486a19
Pass cached site struct down the ingestion pipeline (#3027)
* Pass cached site struct down the ingestion pipeline

Revenue goals need the cached site struct during ingestion to get the
goals name and currency. This cache lookup is not necessary as
`GateKeeper.check/1`, which is called first in the ingestion pipeline,
could already return the site struct from the cache.

This commit changes `GateKeeper.check/1` to return the site struct
instead of the site ID. Moreover, this commit changes the ingestion
pipeline to avoid calling the sites cache twice.

Related: https://github.com/plausible/analytics/pull/2957#discussion_r1203921549

* Remove revenue_goals unnecessary fallback

* Change duplicate child_id in cache test

* Remove revenue goal condition from cache query

* Remove Plausible.DataCase.reload/1
3 years ago
..
auth Conditionally support switching between v1 and v2 clickhouse schemas (#2780) 4 years ago
billing Ignore missing subscription on update (#2930) 4 years ago
google Run tests in async mode where applicable (#2542) 4 years ago
imported Prepare Comparisons for release (#2873) 4 years ago
ingestion Revenue tracking: Ingestion and breakdown queries (#2957) 3 years ago
session Clean up after V2 migration (#2868) 4 years ago
site Pass cached site struct down the ingestion pipeline (#3027) 3 years ago
stats Allow setting sample_threshold in dashboard API queries (#2958) 4 years ago
config_test.exs add LOG_FAILED_LOGIN_ATTEMPTS (#2936) 4 years ago
funnels_test.exs Implement backend core for funnels (#3023) 3 years ago
goals_test.exs Pass cached site struct down the ingestion pipeline (#3027) 3 years ago
http_client_test.exs Google APIs integration improvements (#2358) 4 years ago
mailer_test.exs add MAILER_NAME (#2937) 4 years ago
purge_test.exs Keep track of native stats start timestamp when retrieving data (#2715) 4 years ago
release_test.exs improve first launch experience for self-hosters (#2357) 4 years ago
timezones_test.exs Fix timezone list when time changes (#2268) 4 years ago