Skip to content

fix: use aware UTC for S3 log partitions#811

Merged
elijahbenizzy merged 1 commit into
apache:mainfrom
Ghraven:fix/s3client-aware-utc
Jun 20, 2026
Merged

fix: use aware UTC for S3 log partitions#811
elijahbenizzy merged 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
@elijahbenizzy elijahbenizzy enabled auto-merge (squash) June 20, 2026 19:56
@elijahbenizzy elijahbenizzy merged commit d3278d2 into apache:main Jun 20, 2026
27 checks passed
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.

2 participants