Commit Graph

274 Commits

Author SHA1 Message Date
Rory& 47e782ad62 Fix voice state query trying to include member 2026-03-21 16:22:06 +01:00
Rory& 9e4274512a Migrate ReadyEventData to satisfies, part of #1577 2026-03-20 18:17:47 +01:00
Rory& 66bed974ff Migrate Stream*Event to satisfies, part of #1577 2026-03-20 18:17:47 +01:00
Rory& bd42196733 Migrate PresenceUpdateEvent to satisfies, part of #1577 2026-03-20 18:17:47 +01:00
Rory& 9597ebe941 Migrate VoiceS*Event to satisfies, part of #1577 2026-03-20 18:17:41 +01:00
MathMan05 5e2d0fac01 merge the functions 2026-03-20 16:31:32 +01:00
MathMan05 3126b4bdf0 remove weird debugging 2026-03-20 16:31:32 +01:00
MathMan05 26208390a6 a lot of small fixes 2026-03-20 16:31:32 +01:00
MathMan05 c718da5e98 it ain't async 2026-03-20 16:31:32 +01:00
MathMan05 2ff656ef03 sign 'em 2026-03-20 16:31:32 +01:00
Rory& 0b1d12d968 Some minor work 2026-03-14 06:13:32 +01:00
Rory& 8bb0b84b5e Shorten imports 2026-03-14 05:43:42 +01:00
Rory& e0783f7595 Remove unused imports for non-entities 2026-03-14 04:24:04 +01:00
Rory& 0370985a4e Clean up some type guards 2026-03-14 04:09:37 +01:00
Rory& a451f92e67 properly mark unused params 2026-03-14 03:59:28 +01:00
Rory& b5e63c06b6 Qodana: fix async warnings 2026-03-14 03:26:26 +01:00
Rory& 1e07c1eaa2 gateway offload work 2026-03-13 10:14:29 +01:00
Rory& fc5716ea77 identify: use proto toVoiceState 2026-03-13 09:34:21 +01:00
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
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
Build docker images / build (admin-api) (push) Failing after 1m28s
2026-02-17 18:36:17 +01:00
Rory& 0c384cf4e9 Gateway: dont block on clearing voice states
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
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