Skip to content

fix: use timezone-aware S3 partition timestamps#788

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

fix: use timezone-aware S3 partition timestamps#788
Ghraven wants to merge 1 commit into
apache:mainfrom
Ghraven:fix/s3client-timezone-aware-partitions

Conversation

@Ghraven
Copy link
Copy Markdown

@Ghraven Ghraven commented May 24, 2026

Summary

  • replace deprecated datetime.utcnow() in the S3 tracking client partition timestamp
  • use datetime.now(datetime.timezone.utc) so generated partition timestamps are timezone-aware

Before / after

Before, S3TrackingClient.save() generated a naive UTC timestamp with datetime.datetime.utcnow().isoformat().
After, it generates an explicit UTC timestamp such as 2026-05-24T03:12:34+00:00.

Verification

  • python -m py_compile burr/tracking/s3client.py
  • git diff --check

@github-actions github-actions Bot added the area/tracking Telemetry, tracing, OpenTelemetry label May 24, 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