Skip to content

Ensure UTC DateTime handling for SQL Server and re-enable retry tests - #5767

Open
johnsimons wants to merge 1 commit into
masterfrom
john/more_acceptance_tests
Open

Ensure UTC DateTime handling for SQL Server and re-enable retry tests#5767
johnsimons wants to merge 1 commit into
masterfrom
john/more_acceptance_tests

Conversation

@johnsimons

Copy link
Copy Markdown
Member

SQL Server datetime2 columns do not store timezone offsets, leading to DateTimeKind.Unspecified when retrieved. This adds EF Core value converters to enforce UTC kind on all persisted timestamps and updates acceptance tests to compare UTC instants.

These changes allow several previously deferred retry and ingestion acceptance tests to be re-enabled for both SQL Server and PostgreSQL persistence.

SQL Server `datetime2` columns do not store timezone offsets, leading to `DateTimeKind.Unspecified` when retrieved. This adds EF Core value converters to enforce UTC kind on all persisted timestamps and updates acceptance tests to compare UTC instants.

These changes allow several previously deferred retry and ingestion acceptance tests to be re-enabled for both SQL Server and PostgreSQL persistence.
@johnsimons johnsimons self-assigned this Aug 13, 2026
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