This commit introduces several significant improvements across the backend and gateway services:
- **Data Retention**: Added an automated cleanup scheduler in `discord-gateway` to prune expired messages, attachments, and voice recordings based on configurable retention policies.
- **Observability**: Integrated `prom-client` in the `backend` service to expose Prometheus metrics via `/api/metrics` and added default Node.js runtime metrics.
- **Media Handling**: Enhanced `MediaHandler` in `discord-gateway` to support media URL resolution and improved playback status tracking.
- **API & Config**: Expanded the configuration endpoint to expose more system settings and reorganized `.env.example` for better readability.
- **Refactoring & Cleanup**:
- Removed unused `better-sqlite3` dependency.
- Refactored voice channel routing.
- Improved error handling and testing coverage with comprehensive unit tests for shared utilities and error classes.
- **Documentation**: Added `MEMORY.md` for project context.
38 lines
736 B
YAML
38 lines
736 B
YAML
packages:
|
|
- services/frontend
|
|
- services/backend
|
|
- services/discord-gateway
|
|
- packages/shared
|
|
- vendor/discord-video-stream
|
|
- vendor/discord.js-selfbot-v13
|
|
|
|
allowBuilds:
|
|
'@discordjs/opus': true
|
|
'@lng2004/node-datachannel': true
|
|
esbuild: true
|
|
node-av: true
|
|
node-crc: true
|
|
sharp: true
|
|
zeromq: true
|
|
|
|
minimumReleaseAgeExclude:
|
|
- '@types/node@25.9.0'
|
|
- pg-cloudflare@1.4.0
|
|
- pg-connection-string@2.13.0
|
|
- pg-pool@3.14.0
|
|
- pg-protocol@1.14.0
|
|
- pg@8.21.0
|
|
- tsx@4.22.2
|
|
|
|
onlyBuiltDependencies:
|
|
- '@discordjs/opus'
|
|
- '@lng2004/node-datachannel'
|
|
- esbuild
|
|
- node-av
|
|
- sharp
|
|
- zeromq
|
|
|
|
patchedDependencies:
|
|
jsdoc@3.6.11: patches/jsdoc@3.6.11.patch
|
|
node-crc@4.0.0: patches/node-crc@4.0.0.patch
|