Skip to content

Conversation

@busybox11
Copy link

the guild_joined event was not represented internally by the same timestamp instance as the rest of the events - they are represented by floats, which have 4 less digits than expected, leading to the date being interpreted in 1970.

this PR implements handling of those timestamps in the common util functions rather than at the event level, reducing the potential similar errors from other events along the way.

python not having types makes this hard to troubleshoot. i wasn't expecting to go very deep on this specific issue, so this PR works and will definitely help, but i believe that more changes on the parsing side could come in handy towards making parsing accurate and stable.

this PR also fixes the compose definition failing on initial install because of a postgres 18 change. i pinned the container to v17 so that it doesn't complain and endlessly restart. not the most ideal solution, but it works (see commit desc)

fixes parsing of guild_joined events which are using floats representing unix timestamps
fixes the following error:
Error: in 18+, these Docker images are configured to store database data in a format which is compatible with "pg_ctlcluster"

should probably implement the necessary changes for pg18 instead but i did not put much effort into setting the devserver. making it work at all was my priority, to make sure i had everything working as intended
@busybox11 busybox11 marked this pull request as draft January 11, 2026 03:41
@busybox11 busybox11 marked this pull request as ready for review January 11, 2026 04:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant