Skip to content

Commit 55264f9

Browse files
authored
fix: E2E test improvements and SDK versions in README (#203)
* fix: E2E test improvements and SDK versions in README - Fix Node.js test filters to use Category=HTTP (matches test attributes) - Add missing AGENT_URL env var to Node.js workflows - Add Node.js LangChain to README E2E status table - Add SDK Versions section to README with auto-update markers - Create Update-ReadmeVersions.ps1 script to extract versions - Create update-readme-versions.yml workflow for automatic updates - Add SDK versions note to orchestrator summary and PR comments * docs: Group SDK versions by language in README - Update Update-ReadmeVersions.ps1 to group Agent 365 SDK packages by language - Microsoft Agents SDK packages remain in one section - Microsoft Agent 365 SDK packages now split into Python, Node.js, and .NET subsections
1 parent e28af6a commit 55264f9

6 files changed

Lines changed: 421 additions & 2 deletions

File tree

.github/workflows/e2e-nodejs-langchain.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,9 @@ jobs:
147147
--verbosity normal `
148148
--logger "console;verbosity=detailed" `
149149
--logger "trx;LogFileName=test-results-nodejs-langchain.trx" `
150-
--filter "FullyQualifiedName~BasicConversation|FullyQualifiedName~Notification"
150+
--filter "Category=HTTP"
151151
env:
152+
AGENT_URL: http://localhost:${{ env.AGENT_PORT }}
152153
TEST_RESULTS_DIR: ${{ runner.temp }}/TestConversations
153154

154155
- name: Emit Test Conversations

.github/workflows/e2e-nodejs-openai.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,9 @@ jobs:
147147
--verbosity normal `
148148
--logger "console;verbosity=detailed" `
149149
--logger "trx;LogFileName=test-results-nodejs-openai.trx" `
150-
--filter "FullyQualifiedName~BasicConversation|FullyQualifiedName~Notification"
150+
--filter "Category=HTTP"
151151
env:
152+
AGENT_URL: http://localhost:${{ env.AGENT_PORT }}
152153
TEST_RESULTS_DIR: ${{ runner.temp }}/TestConversations
153154

154155
- name: Emit Test Conversations

.github/workflows/e2e-orchestrator.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ jobs:
122122
echo "| Node.js LangChain | $NODEJS_LANGCHAIN_ICON | ${{ needs.nodejs-langchain.result }} |" >> $GITHUB_STEP_SUMMARY
123123
echo "| .NET Semantic Kernel | $DOTNET_SK_ICON | ${{ needs.dotnet-sk.result }} |" >> $GITHUB_STEP_SUMMARY
124124
echo "| .NET Agent Framework | $DOTNET_AF_ICON | ${{ needs.dotnet-af.result }} |" >> $GITHUB_STEP_SUMMARY
125+
echo "" >> $GITHUB_STEP_SUMMARY
126+
echo "> 📦 **SDK Versions**: Click on each sample workflow above to view detailed SDK version information in the step summary." >> $GITHUB_STEP_SUMMARY
125127
126128
- name: Post PR Comment
127129
if: github.event_name == 'pull_request'
@@ -153,6 +155,8 @@ jobs:
153155
`| .NET Semantic Kernel | ${dotnetSkIcon} | ${{ needs.dotnet-sk.result }} |`,
154156
`| .NET Agent Framework | ${dotnetAfIcon} | ${{ needs.dotnet-af.result }} |`,
155157
'',
158+
`> 📦 **SDK Versions**: View the [workflow summary](${process.env.GITHUB_SERVER_URL}/${process.env.GITHUB_REPOSITORY}/actions/runs/${process.env.GITHUB_RUN_ID}) for detailed SDK version information.`,
159+
'',
156160
`[View full test details](${process.env.GITHUB_SERVER_URL}/${process.env.GITHUB_REPOSITORY}/actions/runs/${process.env.GITHUB_RUN_ID})`
157161
].join('\n');
158162
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Copyright (c) Microsoft Corporation.
2+
# Licensed under the MIT License.
3+
4+
name: Update SDK Versions in README
5+
6+
on:
7+
push:
8+
branches: [main]
9+
paths:
10+
- 'python/**/pyproject.toml'
11+
- 'nodejs/**/package.json'
12+
- 'dotnet/**/*.csproj'
13+
workflow_dispatch:
14+
15+
permissions:
16+
contents: write
17+
18+
jobs:
19+
update-versions:
20+
name: Update SDK Versions
21+
runs-on: ubuntu-latest
22+
23+
steps:
24+
- name: Checkout Repository
25+
uses: actions/checkout@v4
26+
with:
27+
token: ${{ secrets.GITHUB_TOKEN }}
28+
29+
- name: Update README with SDK Versions
30+
shell: pwsh
31+
run: |
32+
./scripts/Update-ReadmeVersions.ps1
33+
34+
- name: Check for Changes
35+
id: check
36+
run: |
37+
if git diff --quiet README.md; then
38+
echo "changed=false" >> $GITHUB_OUTPUT
39+
else
40+
echo "changed=true" >> $GITHUB_OUTPUT
41+
fi
42+
43+
- name: Commit and Push Changes
44+
if: steps.check.outputs.changed == 'true'
45+
run: |
46+
git config --local user.email "github-actions[bot]@users.noreply.github.com"
47+
git config --local user.name "github-actions[bot]"
48+
git add README.md
49+
git commit -m "docs: Update SDK versions in README [skip ci]"
50+
git push

README.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,63 @@ This repository contains sample agents and prompts for building with the Microso
1313
|--------|--------|
1414
| Python OpenAI | [![Python OpenAI](https://img.shields.io/github/actions/workflow/status/microsoft/Agent365-Samples/e2e-python-openai.yml?branch=main&label=E2E)](https://github.com/microsoft/Agent365-Samples/actions/workflows/e2e-python-openai.yml) |
1515
| Node.js OpenAI | [![Node.js OpenAI](https://img.shields.io/github/actions/workflow/status/microsoft/Agent365-Samples/e2e-nodejs-openai.yml?branch=main&label=E2E)](https://github.com/microsoft/Agent365-Samples/actions/workflows/e2e-nodejs-openai.yml) |
16+
| Node.js LangChain | [![Node.js LangChain](https://img.shields.io/github/actions/workflow/status/microsoft/Agent365-Samples/e2e-nodejs-langchain.yml?branch=main&label=E2E)](https://github.com/microsoft/Agent365-Samples/actions/workflows/e2e-nodejs-langchain.yml) |
1617
| .NET Semantic Kernel | [![.NET SK](https://img.shields.io/github/actions/workflow/status/microsoft/Agent365-Samples/e2e-dotnet-semantic-kernel.yml?branch=main&label=E2E)](https://github.com/microsoft/Agent365-Samples/actions/workflows/e2e-dotnet-semantic-kernel.yml) |
1718
| .NET Agent Framework | [![.NET AF](https://img.shields.io/github/actions/workflow/status/microsoft/Agent365-Samples/e2e-dotnet-agent-framework.yml?branch=main&label=E2E)](https://github.com/microsoft/Agent365-Samples/actions/workflows/e2e-dotnet-agent-framework.yml) |
1819

20+
## SDK Versions
21+
22+
The following SDK package versions are used across the samples in this repository. This section is automatically updated when package versions change.
23+
24+
<!-- SDK_VERSIONS_START -->
25+
26+
### Microsoft Agents SDK Packages
27+
28+
| Package | Version |
29+
|---------|---------|
30+
| `@microsoft/agents-activity` | `1.2.2` |
31+
| `@microsoft/agents-hosting` | `1.2.2` |
32+
| `Microsoft.Agents.AI` | `1.0.0-preview.251113.1` |
33+
| `Microsoft.Agents.Authentication.Msal` | `1.3.*-*` |
34+
| `Microsoft.Agents.Hosting.AspNetCore` | `1.3.*-*` |
35+
36+
### Microsoft Agent 365 SDK Packages
37+
38+
#### Python
39+
| Package | Version |
40+
|---------|---------|
41+
| `microsoft_agents_a365_notifications` | `0.1.0` |
42+
| `microsoft_agents_a365_observability_core` | `0.1.0` |
43+
| `microsoft_agents_a365_observability_extensions_openai` | `0.1.0` |
44+
| `microsoft_agents_a365_runtime` | `0.1.0` |
45+
| `microsoft_agents_a365_tooling` | `0.1.0` |
46+
| `microsoft_agents_a365_tooling_extensions_openai` | `0.1.0` |
47+
| `microsoft-agents-a365-observability-core` | `0.1.0` |
48+
| `microsoft-agents-a365-observability-hosting` | `0.2.0` |
49+
| `microsoft-agents-a365-tooling` | `0.1.0` |
50+
51+
#### Node.js
52+
| Package | Version |
53+
|---------|---------|
54+
| `@microsoft/agents-a365-notifications` | `0.1.0-preview.30` |
55+
| `@microsoft/agents-a365-observability` | `0.1.0-preview.30` |
56+
| `@microsoft/agents-a365-observability-extensions-openai` | `0.1.0-preview.30` |
57+
| `@microsoft/agents-a365-observability-hosting` | `0.1.0-preview.64` |
58+
| `@microsoft/agents-a365-runtime` | `0.1.0-preview.30` |
59+
| `@microsoft/agents-a365-tooling` | `0.1.0-preview.30` |
60+
| `@microsoft/agents-a365-tooling-extensions-langchain` | `0.1.0-preview.30` |
61+
| `@microsoft/agents-a365-tooling-extensions-openai` | `0.1.0-preview.30` |
62+
63+
#### .NET
64+
| Package | Version |
65+
|---------|---------|
66+
| `Microsoft.Agents.A365.Notifications` | `*-beta.*` |
67+
| `Microsoft.Agents.A365.Observability.Extensions.AgentFramework` | `*-beta.*` |
68+
| `Microsoft.Agents.A365.Tooling.Extensions.AgentFramework` | `*-beta.*` |
69+
| `Microsoft.Agents.A365.Tooling.Extensions.SemanticKernel` | `*-beta.*` |
70+
71+
<!-- SDK_VERSIONS_END -->
72+
1973
> #### Note:
2074
> Use the information in this README to contribute to this open-source project. To learn about using this SDK in your projects, refer to the [Microsoft Agent 365 Developer documentation](https://learn.microsoft.com/en-us/microsoft-agent-365/developer/).
2175

0 commit comments

Comments
 (0)