Repository navigation
Conversation
|
@Netty-kun is attempting to deploy a commit to the Ayomide Adeniran's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@Netty-kun 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! 🚀 |
e36d6cb to
3717234
Compare
|
Warning Possible malicious code: please review before merging. An automated security scan flagged files in this pull request that appear to contain malicious code. Code like this can run automatically when a project is opened in an editor or its dependencies are installed, so it could compromise the machine of anyone who checks out this branch. Automated scans can be wrong, so this may be a false positive. Maintainers: please review the flagged files carefully before merging, on GitHub in your browser rather than by checking out the branch. The malicious part is often hidden far off to the right of an ordinary-looking line, so scroll sideways through each file. @Netty-kun: this pull request adds or changes these files, possibly without your knowledge. Malware like this spreads by adding itself to repositories on machines it has infected, so your machine and / or GitHub account may be compromised. Please review your machine for a possible malware infection, and rotate your GitHub credentials / SSH keys as needed. Flagged files at commit
Only merge once you're confident these files are safe. ℹ️ Posted automatically by Drips Wave. Questions? Contact support@drips.network. |
Overview
This PR adds heap-usage instrumentation and alerting to the backend, and tightens cleanup of collaboration-server state so long-running processes no longer accumulate retained references. The changes target slow heap growth that eventually leads to V8 OOM crashes.
Related Issue
Closes BE-088
Changes
🧠 Heap Instrumentation & Alerts
[MODIFY]
backend/src/instrumentation.tsprocess.memoryUsage()andv8.getHeapStatistics()on a fixed interval.heap_size_limit, so it fires before exhaustion.[MODIFY]
backend/src/infrastructure/structured-logger.service.ts🔌 Collaboration Server Cleanup
backend/src/collaborationServer.tsclose/error.🧾 Request Logging
backend/src/middleware/requestLogger.tsVerification Results
Changes were reviewed against the issue's acceptance criteria. A 24-hour load test has not been run as part of this PR; the plateau behavior should be confirmed in a staging soak test before the issue is closed.
collaborationServer.tsinstrumentation.tsCloses #1835