Commit Graph

256 Commits

Author SHA1 Message Date
Rory&
1e82f2f1f8 gateway: util function to do gateway offload stuff 2026-03-13 06:09:27 +01:00
Rory&
3fdc6a54aa Gateway: add SB_SESSION_CLOSE and SB_SESSION_INVALIDATE events 2026-03-13 03:45:26 +01:00
Rory&
bf778e5133 Gateway: allow addressing dispatch events to specific sessions 2026-03-13 03:24:12 +01:00
Rory&
2f1c0ba2d4 Gateway: include entity counts in trace names 2026-03-12 21:52:34 +01:00
Rory&
6ed97ea2d1 Factor out getMostRelevantSession 2026-03-12 21:34:27 +01:00
Rory&
ba78ed8e6a fix op43 2026-03-12 03:25:03 +01:00
Rory&
7341d1f66f Gateway: implement op43 2026-03-12 02:34:16 +01:00
Rory&
d5dd74fc91 requestguildmembers: immediately send data instead of buffering 2026-03-11 02:23:32 +01:00
Rory&
2536201ca5 requestguildmembers: dont forget user relation, lol 2026-03-11 02:10:05 +01:00
Rory&
2ae4842bd1 requestguildmembers: assign presence list directly without for loop 2026-03-11 02:05:14 +01:00
Rory&
c76e1cebd7 requestguildmembers: select only relevant data 2026-03-11 01:55:39 +01:00
Rory&
afebcde105 requestguildmembers: track member count properly 2026-03-11 01:51:31 +01:00
Rory&
ed315b028b requestguildmembers: log chunks 2026-03-11 01:51:31 +01:00
Rory&
2b981c83ea requestguildmembers: bulk query sessions 2026-03-11 01:51:31 +01:00
dank074
43f2b8de58 when guild region is misconfigured, fallback to default region 2026-03-07 01:40:12 +01:00
dank074
e843d499ec gateway should not crash for clients that send Op 37 with missing channel ranges, instead ignore 2026-03-07 01:38:45 +01:00
Rory&
f8124dc2f4 oooops 2026-03-06 02:27:23 +01:00
Rory&
378f907dce actually backpropagate session id in identify to ws object 2026-03-06 00:59:24 +01:00
Rory&
3f756629e6 Log creation of new sessions, fix some comments 2026-03-06 00:25:59 +01:00
Rory&
b5c376881d Inline pointless const for session_id 2026-03-06 00:19:02 +01:00
dank074
0784add134 onVoiceStateUpdate: change to VoiceState.merge() for copying properties 2026-02-28 16:47:38 +01:00
Rory&
e918f771fa Log usage of old access token versions in identify 2026-02-25 07:05:19 +01:00
Rory&
780d2c69b0 Gateway: log user ID/i
Some checks failed
Build docker images / build (admin-api) (push) Failing after 1m28s
Build docker images / build (cdn) (push) Failing after 1m15s
Build docker images / build (cdn-cs) (push) Failing after 1m15s
Build / build (24.x) (push) Successful in 3m3s
Nix build / build-nix (push) Failing after 1m16s
Style / build (24.x) (push) Failing after 2m11s
Build docker images / build (api) (push) Failing after 1m16s
Build docker images / build (default) (push) Failing after 1m16s
Build docker images / build (gateway) (push) Failing after 1m15s
Build docker images / build (gateway-offload) (push) Failing after 1m27s
2026-02-17 18:36:17 +01:00
Rory&
0c384cf4e9 Gateway: dont block on clearing voice states
Some checks failed
Build docker images / build (api) (push) Failing after 1m9s
Build docker images / build (cdn) (push) Failing after 1m20s
Build docker images / build (admin-api) (push) Failing after 4m7s
Build docker images / build (cdn-cs) (push) Failing after 1m50s
Build docker images / build (gateway) (push) Failing after 1m28s
Build / build (24.x) (push) Successful in 2m42s
Nix build / build-nix (push) Failing after 5m17s
Build docker images / build (gateway-offload) (push) Failing after 1m20s
Build docker images / build (default) (push) Failing after 5m30s
Style / build (24.x) (push) Failing after 2m18s
2026-02-16 21:40:49 +01:00
Rory&
43b2e3ea93 gateeway debug logs 2026-02-16 21:33:44 +01:00
MathMan05
842c37b712 add keys to make bot libs happy
Some checks failed
Build docker images / build (admin-api) (push) Failing after 14s
Build docker images / build (cdn) (push) Failing after 11s
Build docker images / build (cdn-cs) (push) Failing after 11s
Build docker images / build (default) (push) Failing after 10s
Build docker images / build (gateway) (push) Failing after 11s
Build docker images / build (gateway-offload) (push) Failing after 11s
Build / build (24.x) (push) Successful in 1m18s
Nix build / build-nix (push) Failing after 8s
Build docker images / build (api) (push) Failing after 6m15s
Style / build (24.x) (push) Failing after 1m8s
2026-02-14 17:59:21 +01:00
MathMan05
e8f4173744 fix guild join 2026-02-13 18:08:42 +01:00
Rory&
d58574ee98 gateway: introspect endpoint 2026-02-08 03:56:52 +01:00
MathMan05
3a5009f7c7 shoot, screwed up the merge conflict 2026-02-05 21:29:08 -06:00
MathMan05
fbc9fd0b4f fix merge conflic 2026-02-05 21:25:25 -06:00
MathMan05
651a1491e3 fix slight error 2026-02-06 01:42:50 +01:00
MathMan05
c92b93f0ee maybe fix bot threads? 2026-02-06 01:42:50 +01:00
MathMan05
c26b0f3a4c create tags 2026-02-05 10:50:48 -06:00
MathMan05
f1f253e515 more forum fixes 2026-02-04 16:07:42 -06:00
Rory&
90291eadf4 Fix disabling migrations on nix not wirking 2026-02-04 05:07:10 +01:00
MathMan05
fd0dc4b6d7 fix threads :3 2026-02-04 03:25:48 +01:00
MathMan05
eaa2be281f some fixes 2026-02-04 03:25:48 +01:00
Rory&
b953291b99 Merge remote-tracking branch 'mathium05/threadFixes' 2026-02-04 00:19:51 +01:00
Rory&
dd42085975 Merge remote-tracking branch 's074/add-rabbitmq-error-handling' 2026-02-03 23:42:14 +01:00
MathMan05
049f7620d3 some thread fixes 2026-02-03 14:52:10 -06:00
dank074
5811024b07 convert event listener iterations to Promise.all + map 2026-01-30 18:54:14 -06:00
Rory&
4b5212ac65 LazyRequest: minor cleanup 2026-01-30 21:29:02 +01:00
Rory&
04ab638ed8 Identify: hold onto access token 2026-01-30 21:29:01 +01:00
Rory&
b97e9e03a0 READY changes for threads ported from #876 2026-01-29 20:37:08 +01:00
MathMan05
00b591abf0 thread API start 2026-01-28 21:46:24 +01:00
Rory&
0ed83c0b6c Identify: add self as recipient for DMs with nonexistnt users 2026-01-23 11:35:11 +01:00
dank074
3812f47ac2 add rabbitmq reconnection logic with state recovery 2026-01-22 17:06:30 -06:00
ohayo
61b468f76d Make this not use the whole session object 2026-01-15 23:28:18 +10:00
Rory&
23f6754597 Gateway close logging for 4002 2026-01-13 23:16:10 +01:00
Rory&
0b87ed9146 Commit evil (set process names) 2025-12-20 21:49:33 +01:00