1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-06-14 01:16:17 +02:00
unleash.unleash/src/lib/features/project
Thomas Heartman 95359ecff8
fix: cap project ids to 90 characters (without suffix) (#7481)
This fixes the issue where project names that are 100 characters long
or longer would cause the project creation to fail. This is because
the resulting ID would be longer than the 100 character limit imposed
by the back end.

We solve this by capping the project ID to 90 characters, which leaves
us with 10 characters for the suffix, meaning you can have 1 billion
projects (999,999,999 + 1) that start with the same 90
characters (after slugification) before anything breaks.

It's a little shorter than what it strictly has to be (we could
probably get around with 95 characters), but at this point, you're
reaching into edge case territory anyway, and I'd rather have a little
too much wiggle room here.
2024-06-28 09:25:27 +02:00
..
createProjectService.ts feat: project flag creators api (#7302) 2024-06-06 11:10:28 +02:00
fake-project-flag-creators-read-model.ts feat: project flag creators api (#7302) 2024-06-06 11:10:28 +02:00
fake-project-owners-read-model.ts feat: project owners in project service (#6935) 2024-04-26 12:07:11 +02:00
project-applications.e2e.test.ts chore: [Gitar] Cleaning up stale feature flag: sdkReporting with value true (#6717) 2024-03-28 09:19:11 +02:00
project-controller.ts chore: remove unstable label from GA metrics features (#7433) 2024-06-24 13:32:35 +02:00
project-flag-creators-read-model.ts feat: show creators from non archived features (#7309) 2024-06-06 14:50:38 +02:00
project-flag-creators-read-model.type.ts feat: project flag creators api (#7302) 2024-06-06 11:10:28 +02:00
project-flag-creators.e2e.test.ts feat: show creators from non archived features (#7309) 2024-06-06 14:50:38 +02:00
project-owners-read-model.test.ts fix: turn off showing usernames and emails in the project cards when the flag is turned on (#7421) 2024-06-21 12:51:37 +02:00
project-owners-read-model.ts fix: turn off showing usernames and emails in the project cards when the flag is turned on (#7421) 2024-06-21 12:51:37 +02:00
project-owners-read-model.type.ts fix: turn off showing usernames and emails in the project cards when the flag is turned on (#7421) 2024-06-21 12:51:37 +02:00
project-service.e2e.test.ts fix: cap project ids to 90 characters (without suffix) (#7481) 2024-06-28 09:25:27 +02:00
project-service.test.ts chore: change generated project id format to use incrementing numbers instead of hashes (#7456) 2024-06-27 09:21:09 +02:00
project-service.ts fix: cap project ids to 90 characters (without suffix) (#7481) 2024-06-28 09:25:27 +02:00
project-store-type.ts chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
project-store.ts chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
projects.e2e.test.ts chore: [Gitar] Cleaning up stale feature flag: sdkReporting with value true (#6717) 2024-03-28 09:19:11 +02:00