What's new
Stable agent id in uipath.json
uipath.json now carries a stable id (a GUID) that durably identifies the project across packaging and tracing.
uipath initgenerates theidon first run and backfills it into an existinguipath.jsonthat lacks one. If the project already has an identity (a Studio Web project id, or a legacy.uipath/.telemetry.jsonProjectKey), that value is reused instead of minting a new one.uipath packusesuipath.json#idas theprojectIdinoperate.json, falling back to the legacy sources only whenidis absent. A non-GUIDidis rejected at pack time.- Span and telemetry
agentIdnow resolve fromuipath.json#idfirst, then env vars (UIPATH_AGENT_ID/UIPATH_PROJECT_ID), thenPROJECT_KEY. For a published agent this is the same value as before, so existing traces stay correlated.
Upgrading an already-published project
Run uipath init once in an environment that still has the project's original identity (a Studio Web project, or its .uipath/.telemetry.json) so the backfilled id matches the id Orchestrator already locked. Verify uipath.json#id equals the existing Orchestrator project id before re-publishing.
This release contains no breaking changes.
See #1695 for details.