Skip to content

v2.11.0

Latest

Choose a tag to compare

@radu-mocanu radu-mocanu released this 16 Jun 16:56
ed5e509

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 init generates the id on first run and backfills it into an existing uipath.json that lacks one. If the project already has an identity (a Studio Web project id, or a legacy .uipath/.telemetry.json ProjectKey), that value is reused instead of minting a new one.
  • uipath pack uses uipath.json#id as the projectId in operate.json, falling back to the legacy sources only when id is absent. A non-GUID id is rejected at pack time.
  • Span and telemetry agentId now resolve from uipath.json#id first, then env vars (UIPATH_AGENT_ID / UIPATH_PROJECT_ID), then PROJECT_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.