Skip to content

fix(backend): no default encryption key, single pool escrow, shared platform cache, atomic user creation - #896

Merged
chonilius merged 2 commits into
MergeFi:mainfrom
maikNeta:fix/issues-781-782-788-789-backend-hardening
Nov 20, 2026
Merged

chonilius merged 2 commits into
MergeFi:mainfrom
maikNeta:fix/issues-781-782-788-789-backend-hardening

Conversation

@maikNeta

Copy link
Copy Markdown
Contributor

What

Fixes four issues in one PR.

Limitations, read before merging

Closes #781
Closes #782
Closes #788
Closes #789

…latform cache, atomic user creation

- encryption: remove the committed fallback AES key. ENCRYPTION_KEY must be set in every environment.
- maintenance pool: deposits go to the existing pool escrow via EscrowService.depositToPool, not a new fund() row.
- analytics: drop the process-local platform cache and its invalidation listener. The endpoint sends a shared Cache-Control header.
- users: the User and GithubAccount are saved in one transaction. A username clash retries the whole transaction.

Closes MergeFi#781
Closes MergeFi#782
Closes MergeFi#788
Closes MergeFi#789
@maikNeta
maikNeta requested a review from chonilius as a code owner November 20, 2026 11:57
@vercel

vercel Bot commented Nov 20, 2026

Copy link
Copy Markdown

@maikNeta is attempting to deploy a commit to the chonilius' projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Nov 20, 2026

Copy link
Copy Markdown

@maikNeta Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@chonilius
chonilius merged commit 1eb3fd1 into MergeFi:main Nov 20, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment