Skip to content

Conversation

@doorgan
Copy link
Collaborator

@doorgan doorgan commented Jan 20, 2026

Fix #317

The Engine node inherits the configuration of the user's project, so if the user configures a different timezone database, like Tzdata.TimeZoneDatabase, the engine may crash when trying to use a database that is not really available:

%ArgumentError{message: "cannot add 10 second to ~U[2026-01-20 07:44:55.937263Z] (with time zone database Tzdata.TimeZoneDatabase), reason: :time_zone_not_found"}

The fix here is to use the builtin Calendar.UTCOnlyTimeZoneDatabase for the Engine node. I also added a fixture project that replicates the scenario from the linked issue.

…ed tz database

The Engine node inherits the configuration of the user's project, so if
the user configures a different timezone database, like
Tzdata.TimeZoneDatabase,
the engine may crash when trying to use a database that is not
really available
@doorgan doorgan force-pushed the doorgan/tzdata-pollutes-engine branch from 7e37b81 to 1b8420e Compare January 20, 2026 23:54
@doorgan doorgan merged commit 9e913f6 into main Jan 21, 2026
37 checks passed
@doorgan doorgan deleted the doorgan/tzdata-pollutes-engine branch January 21, 2026 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Text Completion Crashing With use

3 participants