Commit Graph

5559 Commits

Author SHA1 Message Date
Rory& 31ca17d536 Some basic unit tests 2026-06-05 15:48:02 +02:00
Rory& 2597118ba4 More C# models, split basic client SDK from client 2026-06-05 15:47:25 +02:00
Rory& 805f76d04b Clean up import in Monitoring, close webrtc connection on IPC failure, add LOG_API_ERRORS env var 2026-06-05 15:46:25 +02:00
Rory& 7ff0e02d0a HTTP: reblanace buckets to prefer smaller response times 2026-05-29 10:23:48 +02:00
Rory& a6e6be065e Nix: prometheus support 2026-05-28 18:52:45 +02:00
Rory& 153ecfd992 Add grafana dashboard 2026-05-28 17:58:58 +02:00
Rory& 94b3056cef Merge branch 'dev/monitoring' 2026-05-28 17:32:37 +02:00
Rory& d3e81007e5 IPC: shutdown hooks 2026-05-28 17:27:08 +02:00
Rory& 63fb0a93a2 IPC metrics 2026-05-28 17:27:08 +02:00
Rory& acc4a10f09 monitoring: add helper to register a metric without duplicating 2026-05-28 17:27:08 +02:00
Rory& 22b5ed4434 monitoring: ignore OPTIONS requests that dont have a route handler 2026-05-28 17:27:08 +02:00
Rory& 0df292e90d nixos tests: check metrics endpoints on TS services 2026-05-28 17:27:08 +02:00
Rory& 6712db6bce Monitoring: tag HTTP response rate histogram by route rather than request url 2026-05-28 17:27:08 +02:00
Rory& e2da753c2d */Server.ts: Handle metrics requests 2026-05-28 17:27:08 +02:00
Rory& 4a9c6cacc5 */Server.ts: Add monitoring init hook 2026-05-28 17:27:08 +02:00
Rory& d8fb6d2ee8 CodeOwners: claim /nix dir 2026-05-28 17:27:08 +02:00
Rory& 9f9c30186f Move why-is-node-running to dependencies 2026-05-28 17:27:07 +02:00
Rory& 0d6824d285 Process lifecycle scripts 2026-05-28 17:27:07 +02:00
Rory& 232b53bc2d CodeOwners: claim /nix dir 2026-05-28 16:18:30 +02:00
Rory& c76c9f69e3 Move why-is-node-running to dependencies 2026-05-28 13:53:30 +02:00
Rory& b1b73d45e7 Process lifecycle scripts
#Conflicts:
#	src/api/Server.ts
#	src/bundle/Server.ts
#	src/cdn/Server.ts
#	src/gateway/Server.ts
#	src/gateway/events/Connection.ts
#	src/util/util/ipc/listener/RabbitMqSingleListener.ts
#	src/util/util/ipc/listener/UnixSocketListener.ts
#	src/util/util/ipc/writer/UnixSocketWriter.ts
#	src/webrtc/Server.ts
2026-05-28 10:38:39 +02:00
Rory& ac3160e833 Concurrent identify stress script 2026-05-28 09:18:27 +02:00
Rory& ced707abc7 IPC: shutdown hooks
#Conflicts:
#	src/util/util/ipc/listener/UnixSocketListener.ts
2026-05-28 09:17:01 +02:00
Rory& b924a2ffe5 Gateway: send reconnect on shutdown 2026-05-28 09:12:25 +02:00
Rory& 693f58e9eb Fix some copyright headers 2026-05-26 07:48:10 +02:00
Rory& b8decc64da Break up bulk inserts for read states to avoid postgres parameter exhaustion 2026-05-26 07:48:10 +02:00
Rory& 1fa3d392fa Trace fillInMissingIDs 2026-05-26 07:48:10 +02:00
Rory& 6dda5bd401 Bulk insert missing ReadStates 2026-05-26 07:48:10 +02:00
Rory& bd55ec01e5 No longer handle mention_count == null since its no longer nullable 2026-05-26 07:48:10 +02:00
Rory& 6098a03be4 Use forEach rather than .map.forEach 2026-05-26 07:48:10 +02:00
Rory& 37e393dd60 Add full trace 2026-05-26 07:48:10 +02:00
Rory& 3e86c14539 Use sets for mention roles/users 2026-05-26 07:48:10 +02:00
Rory& 35d1d73f0d Simplify some queries for handling mentions 2026-05-26 07:48:10 +02:00
Rory& 558dc94489 User mentions: use user_id IN (...) rather than user_id = ... OR user_id = ... 2026-05-26 07:48:10 +02:00
Rory& 0304f68980 Move message mention handling to separate function 2026-05-26 07:48:10 +02:00
Rory& 70d7d51048 Better error handling in rabbitmqsinglelistener/writer 2026-05-26 07:47:36 +02:00
Rory& 6217fe2d2c Add startup test for legacy rabbitmq setup 2026-05-26 07:47:36 +02:00
Rory& f4bc4a223d Add NixOS test for starting with rabbitmq-single ipc 2026-05-26 07:47:36 +02:00
Rory& 92c07ba445 Nix: expose EVENT_TRANSMISSION as an option 2026-05-26 07:47:36 +02:00
Rory& 5afcc5890e Demote default rabbitmq behavior, implement init for all BaseEventWriter/Listener abstracted implementations 2026-05-26 07:47:36 +02:00
Rory& 8318a03abd Move publishEvent to RabbitMQ.ts 2026-05-26 07:47:36 +02:00
Rory& c6bcd3b906 Move rabbitListen to RabbitMQ.ts 2026-05-26 07:47:36 +02:00
Rory& f788b46be5 Clean up unused imports in IPC code 2026-05-26 07:47:36 +02:00
Rory& 3c0d8b507b Add untested rabbitmq single-channel IPC 2026-05-26 07:47:36 +02:00
Rory& 6459a3332d Split unix socket IPC to separate files, add interfaces 2026-05-26 07:47:36 +02:00
Rory& cc9df708ce channelOrdering: fix null ref 2026-05-25 22:52:51 +02:00
Rory& 3d79fafe40 Fix db models build 2026-05-25 15:40:15 +02:00
Rory& b05519d394 side tangent: update C# DB model, fix admin api auth 2026-05-25 09:17:34 +02:00
Rory& 6d0564ed37 fix migrations script 2026-05-25 09:17:25 +02:00
Rory& d9b8075882 Fix some copyright headers 2026-05-24 06:11:28 +02:00