Commit Graph

11 Commits

Author SHA1 Message Date
Linus Flood
16be305ad3 Merged in feat/redis-batch-delete (pull request #2170)
feat: redis - batch delete in smaller chunks

* feat: redis - batch delete in smaller chunks

* fix: redis-api remove unnecessary loop when fuzzily deleting

* increase timeout between delete batches


Approved-by: Joakim Jäderberg
2025-05-21 11:16:35 +00:00
Joakim Jäderberg
7031ad3fae Merged in fix/bump-redis-prod-sku (pull request #2061)
fix: bump redis SKU in prod

* fix: bump redis SKU in prod


Approved-by: Linus Flood
2025-05-13 06:26:41 +00:00
Joakim Jäderberg
3ea26259df Merged in fix/redis-api-model-validation (pull request #2000)
* fix: model response validation for 204
* log: add more logging when deleting keys
* add version to health endpoint


Approved-by: Anton Gunnarsson
2025-05-07 13:45:35 +00:00
Joakim Jäderberg
33ef22ae23 Merged in fix/redis-api-set-socket-timeout (pull request #1991)
fix: redis - set timeout for calls and sockets

Approved-by: Michael Zetterberg
2025-05-07 09:16:25 +00:00
Joakim Jäderberg
814a1c534b Merged in fix/redis-api-set-sentry-environment-via-bicep (pull request #1981)
fix: set sentry environment through bicep deploys

* fix: set sentry environment through bicep deploys


Approved-by: Anton Gunnarsson
2025-05-06 13:06:28 +00:00
Joakim Jäderberg
0506d5847e Merged in fix/redis-shutdown-graceful (pull request #1969)
Fix/redis shutdown graceful

* fix: shutdown redis gracefully when container restarts
* throttle scans to redis to avoid overwhelming it

Approved-by: Anton Gunnarsson
2025-05-06 11:38:41 +00:00
Joakim Jäderberg
2acc17219a Merged in feature/SW-2538-redis-api-sentry (pull request #1973)
Feature/SW-2538 redis api sentry

* Add fingerprint to be able to differentiate JSON.parse errors
* update deploy script
* use status over deprecated error function in elysia
* use t3-env createFinalSchema for extra validation

Approved-by: Anton Gunnarsson
2025-05-06 11:29:37 +00:00
Joakim Jäderberg
4ab58cf330 Merged in feature/SW-2531-redis-api-scaling (pull request #1895)
Redis-Api: increase max replica count and cpu/memory

Approved-by: Linus Flood
2025-04-29 08:36:51 +00:00
Anton Gunnarsson
b535b53901 Merged in feat/shared-ts-config (pull request #1610)
Add typescript-config package with shared configs

* Move web config to shared

* Move design-system ts config to typescript-config package

* Move redis-api tsconfig to typescript-config package

* Sort tsconfig keys

* Update react-library tsconfig

Move declaration and declarationMap from base
Add sourceMap

This fixes Go-to-Definition, debugging and similar in packages/apps where it is consumed

* Update base config module and moduleResolution


Approved-by: Michael Zetterberg
Approved-by: Christian Andolf
2025-03-28 07:07:24 +00:00
Linus Flood
f954deaf22 Merged in fix/delete-fuzzy (pull request #1538)
Support for delete keys fuzzy

* Support for delete keys fuzzy

* Added some logs


Approved-by: Anton Gunnarsson
2025-03-14 12:50:34 +00:00
Joakim Jäderberg
fa63b20ed0 Merged in feature/redis (pull request #1478)
Distributed cache

* cache deleteKey now uses an options object instead of a lonely argument variable fuzzy

* merge

* remove debug logs and cleanup

* cleanup

* add fault handling

* add fault handling

* add pid when logging redis client creation

* add identifier when logging redis client creation

* cleanup

* feat: add redis-api as it's own app

* feature: use http wrapper for redis

* feat: add the possibility to fallback to unstable_cache

* Add error handling if redis cache is unresponsive

* add logging for unstable_cache

* merge

* don't cache errors

* fix: metadatabase on branchdeploys

* Handle when /en/destinations throws
add ErrorBoundary

* Add sentry-logging when ErrorBoundary catches exception

* Fix error handling for distributed cache

* cleanup code

* Added Application Insights back

* Update generateApiKeys script and remove duplicate

* Merge branch 'feature/redis' of bitbucket.org:scandic-swap/web into feature/redis

* merge


Approved-by: Linus Flood
2025-03-14 07:54:21 +00:00