mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-08-23 10:37:13 +00:00
feat: report independent instance and workspace identities (#2394)
* feat: report independent instance and workspace identities * test: include workspace in OAuth callback fixture * ci: pin production cloud adapter to Space release * fix: preserve authenticated Workspace telemetry attribution * ci: pin production cloud adapter to final Space release --------- Co-authored-by: dadachann <185672915+dadachann@users.noreply.github.com>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import datetime
|
||||
from dataclasses import dataclass
|
||||
|
||||
|
||||
@@ -12,3 +13,4 @@ class WorkspaceExecutionBinding:
|
||||
placement_generation: int
|
||||
write_fenced: bool
|
||||
state: str
|
||||
workspace_created_at: datetime.datetime | None = None
|
||||
|
||||
@@ -283,6 +283,7 @@ class WorkspaceService:
|
||||
placement_generation=execution_state.active_generation,
|
||||
write_fenced=execution_state.write_fenced,
|
||||
state=execution_state.state,
|
||||
workspace_created_at=workspace.created_at,
|
||||
)
|
||||
|
||||
binding = await self._run(operation, session=session)
|
||||
|
||||
Reference in New Issue
Block a user