Skip to content

fix: use aware UTC for S3 log partitions#811

Open
Ghraven wants to merge 1 commit into
apache:mainfrom
Ghraven:fix/s3client-aware-utc
Open

fix: use aware UTC for S3 log partitions#811
Ghraven wants to merge 1 commit into
apache:mainfrom
Ghraven:fix/s3client-aware-utc

Conversation

@Ghraven

@Ghraven Ghraven commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

Problem: S3TrackingClient._get_time_partition() used datetime.datetime.utcnow(), which is deprecated and returns a naive UTC timestamp.

Before / after: before, S3 log partition keys were derived from a naive UTC timestamp. After, they are derived from datetime.datetime.now(datetime.UTC), preserving UTC partitioning while avoiding the deprecated API.

Verification: python -m py_compile burr\tracking\s3client.py

@github-actions github-actions Bot added the area/tracking Telemetry, tracing, OpenTelemetry label Jun 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/tracking Telemetry, tracing, OpenTelemetry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant