Home / Companies / AuthZed / Blog / November 2024

November 2024 Summaries

2 posts from AuthZed

Filter
Month: Year:
Post Summaries Back to Blog
SpiceDB v1.38 introduces Transaction Metadata, a new API functionality that allows users to include arbitrary metadata when writing relationships. This feature is designed as a building block for solving various challenges faced by users and customers. It enables associating more information with changes to the underlying data powering authorization decisions, unlocking numerous potential use cases. The size of metadata is limited to 65k of total storage across all datastores to maintain consistency and compatibility when migrating relationship data. This feature was initially developed in response to a customer's need for observability in asynchronous workflows involving SpiceDB and Kafka streams.
Nov 07, 2024 616 words in the original blog post.
The text narrates an interesting incident where a test suite for the open-source permissions database, SpiceDB, started failing after Daylight Saving Time ended. The failure was traced back to a MySQL query that checks if a revision is still valid by comparing its timestamp with the current time within a specified window. Due to the change in Daylight Saving Time, the test's configured window accidentally matched the new timezone delta from UTC, causing the revision to be considered out of date by milliseconds. The issue was resolved by isolating the test that changes the timezone and ensuring it runs against an independent instance of MySQL. This incident highlights how Daylight Saving Time can cause unexpected bugs in software systems and emphasizes the importance of a systematic approach to debugging.
Nov 07, 2024 1,730 words in the original blog post.