Skip to content

fix: use timezone-aware websocket timestamps#7743

Open
Ghraven wants to merge 1 commit into
microsoft:mainfrom
Ghraven:fix/ws-timezone-aware-timestamps-v2
Open

fix: use timezone-aware websocket timestamps#7743
Ghraven wants to merge 1 commit into
microsoft:mainfrom
Ghraven:fix/ws-timezone-aware-timestamps-v2

Conversation

@Ghraven
Copy link
Copy Markdown

@Ghraven Ghraven commented May 24, 2026

Summary

  • replace deprecated naive datetime.utcnow() calls in the AutoGen Studio run websocket route
  • return explicit UTC timestamps for auth errors, validation errors, ping responses, and invalid JSON errors

Before / after

Before, websocket messages used naive UTC strings such as 2026-05-24T03:12:34.123456.
After, they use timezone-aware UTC strings such as 2026-05-24T03:12:34.123456+00:00.

Verification

  • python -m py_compile python/packages/autogen-studio/autogenstudio/web/routes/ws.py

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