1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-03-04 00:18:40 +01:00
unleash.unleash/src/lib
David Leek 9d2c65c9c0
chore: events created by userid migration (#6027)
## About the changes

Schedules a best-effort task setting the value of
events.created_by_user_id based on what is found in the created_by
column and if it's capable of resolving that to a userid/a system id.
The process is executed in the events-store, it takes a chunk of events
that haven't been processed yet, attempts to join users and api_tokens
tables on created_by = username/email, loops through and tries to figure
out an id to set. Then updates the record.

---------

Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2024-01-30 08:22:53 +01:00
..
__snapshots__ chore: default the data migration flag for createdbyuserid to false (#6048) 2024-01-29 08:07:33 +01:00
addons Biome1.5.1 (#5867) 2024-01-12 09:25:59 +00:00
db chore: events created by userid migration (#6027) 2024-01-30 08:22:53 +01:00
domain/project-health fix(import): making all imports relative and removing baseUrl (#5847) 2024-01-17 15:33:03 +02:00
error fix: return 400 when enabling env of archived toggle (#6049) 2024-01-26 16:02:17 +02:00
features chore: events created by userid migration (#6027) 2024-01-30 08:22:53 +01:00
middleware chore: add types to pat middleware (#5951) 2024-01-18 14:36:42 +01:00
openapi feat: stale flags count per project (#6043) 2024-01-26 12:04:43 +01:00
proxy chore(deps): update dependency @biomejs/biome to v1.4.1 (#5709) 2024-01-10 09:11:49 +00:00
routes task: Add banner encouraging edge upgrade (#6018) 2024-01-24 14:22:48 +00:00
schema feat: implement createdByUserId for all features (#5725) 2023-12-22 14:33:16 +01:00
segments fix(import): making all imports relative and removing baseUrl (#5847) 2024-01-17 15:33:03 +02:00
services chore: replace systemUser -1 with new -1337 system user (#5999) 2024-01-25 11:19:39 +01:00
types chore: events created by userid migration (#6027) 2024-01-30 08:22:53 +01:00
util fix: flag resolver get variant (#6020) 2024-01-24 11:53:04 +00:00
app.test.ts feat: Make compression middleware optional (#5306) 2023-12-16 08:06:26 +01:00
app.ts Biome1.5.1 (#5867) 2024-01-12 09:25:59 +00:00
create-config.test.ts feat: feature search stub (#5143) 2023-10-25 10:50:59 +02:00
create-config.ts fix: add unleash to default email sender string (#6002) 2024-01-23 14:32:40 +02:00
default-custom-auth-deny-all.ts chore: expose custom-handler-auth type (#5287) 2023-11-07 10:37:09 +01:00
internals.ts fix: export NotFoundError and ISegmentService in internals.ts (#4997) 2023-10-11 14:31:45 +03:00
logger.test.ts
logger.ts
metric-events.ts feat: scheduled functions observability (#5377) 2023-11-21 13:42:38 +01:00
metrics.test.ts Biome1.5.1 (#5867) 2024-01-12 09:25:59 +00:00
metrics.ts refactor: add typesafe wrappers for prom client metrics (#5969) 2024-01-19 14:51:29 +00:00
server-impl.test.ts chore(deps): update dependency @biomejs/biome to v1.4.0 (#5288) 2023-11-28 09:32:00 +00:00
server-impl.ts fix: enabled lock check (#5997) 2024-01-23 10:46:48 +01:00