Skip to content

fix(studio): use aware UTC websocket timestamps#7869

Open
Ghraven wants to merge 1 commit into
microsoft:mainfrom
Ghraven:fix/studio-ws-aware-utc
Open

fix(studio): use aware UTC websocket timestamps#7869
Ghraven wants to merge 1 commit into
microsoft:mainfrom
Ghraven:fix/studio-ws-aware-utc

Conversation

@Ghraven

@Ghraven Ghraven commented Jun 20, 2026

Copy link
Copy Markdown

Problem: Autogen Studio websocket responses used datetime.utcnow() for auth errors, validation errors, and ping responses. That helper is deprecated and returns naive UTC timestamps.

Before / after: before, websocket JSON responses emitted naive UTC strings. After, the route uses a small _utc_timestamp() helper based on datetime.now(timezone.utc).isoformat(), so responses remain UTC and include explicit timezone information.

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