Repository navigation
Include runtime versions in the unified agent session - #65320
Merged
Merged
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
Collect runtime versions in unified agent session
Include runtime versions in the unified agent session
Oct 3, 2026
Copilot created this pull request from a session on behalf of
pelikhan
October 3, 2026 13:58
View session
pelikhan
marked this pull request as ready for review
October 3, 2026 14:08
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Empty unavailable versions are retained despite the documented omission contract.
Review effort: Balanced
Findings: 1
What changed in this PR
Adds runtime component versions from aw_info.json to unified session metadata.
Changes:
- Maps CLI, AWF, MCP gateway, engine, and agent identifiers.
- Adds collection and normalization tests.
- Documents the field mapping and omission contract.
| File | Description |
|---|---|
docs/src/content/docs/specs/unified-agent-session-specification.md |
Documents version mappings. |
actions/setup/js/unified_session.test.cjs |
Tests metadata collection. |
actions/setup/js/unified_session_payload.test.cjs |
Tests version normalization. |
actions/setup/js/unified_session_payload.cjs |
Adds normalized version fields. |
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+147
to
+151
| engineId: ["engineId", "engine_id"], | ||
| agentVersion: ["agentVersion", "agent_version"], | ||
| cliVersion: ["cliVersion", "cli_version"], | ||
| awfVersion: ["awfVersion", "awf_version"], | ||
| mcpgVersion: ["mcpgVersion", "awmg_version"], |
Contributor
|
🎉 This pull request is included in a new release. Release: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

The unified agent session omitted version identifiers already available in
aw_info.json, making it harder to identify the components used in a run.workflow.infoevent. Keep unavailable identifiers absent rather than inferring them.For example,
workflow.info.datacan now include:{ "cliVersion": "v1.2.3", "awfVersion": "v0.4.5", "mcpgVersion": "v0.6.7", "engineId": "copilot", "agentVersion": "v2.3.4" }