Files
UA-.NETStandard/.github/workflows/mcpgrade.yml
Marc Schier 7bd90d1ed7 Update dependencies and re-enable macOS NativeAOT (#4493)
## Description

Updates unpinned NuGet dependencies to current compatible stable
versions, pins the repository and CI to .NET SDK 10.0.401 (.NET
10.0.12), and re-enables the macOS ARM64 NativeAOT lane.

The existing intentional pins remain unchanged, including Moq,
compatibility/security remediation pins, Roslyn compatibility versions,
coordinated OpenUSD packages, and per-TFM MQTTnet/ASP.NET Core bands.
The .NET 10.0.12 `Microsoft.DotNet.ILCompiler` package provenance was
verified against the runtime relocation-anchor fix required for the
Apple linker failure.

## Related Issues

- Fixes #4443

## Validation

- `dotnet restore UA.slnx`: passed
- Targeted .NET 10 build: passed
- Core schema tests: 160 passed
- Main NativeAOT tests: 178 passed
- Historian NativeAOT tests: 2 passed
- MCP NativeAOT tests: 3 passed
- `git diff --check`: passed

## Checklist

- [x] I have added tests that prove my fix is effective or that my
feature works and increased code coverage.
- [ ] I have added all necessary documentation.
- [x] I have verified that my changes do not introduce (new) build or
analyzer warnings.
- [ ] I ran all tests locally using the UA.slnx solution against at
least .NET Framework and .NET 10, and all passed.
- [ ] I fixed all failing and flaky tests in the CI pipelines and all
CodeQL warnings.
- [ ] I have addressed all PR feedback received.

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: marcschier <11168470+marcschier@users.noreply.github.com>
2026-09-17 15:15:38 +02:00

60 lines
1.4 KiB
YAML

name: MCP Agent Usability
on:
push:
branches: [ master, main, develop/* ]
paths:
- '.github/workflows/mcpgrade.yml'
- '.mcpgraderc.json'
- 'Directory.Packages.props'
- 'tools/Opc.Ua.Mcp/**'
- 'tools/Opc.Ua.Mcp.*/**'
pull_request:
branches: [ master, main, develop/* ]
paths:
- '.github/workflows/mcpgrade.yml'
- '.mcpgraderc.json'
- 'Directory.Packages.props'
- 'tools/Opc.Ua.Mcp/**'
- 'tools/Opc.Ua.Mcp.*/**'
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
grade:
name: Static and probe grading
runs-on: windows-latest
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Setup .NET 10
uses: actions/setup-dotnet@v6
with:
dotnet-version: '10.0.401'
- name: Setup Node.js
uses: actions/setup-node@v7
with:
node-version: '22'
- name: Grade MCP catalogs
shell: pwsh
run: >
./tools/Opc.Ua.Mcp/Test-McpGrade.ps1
-ResultsDirectory '${{ runner.temp }}/mcpgrade-results'
- name: Upload grading reports
if: ${{ always() }}
uses: actions/upload-artifact@v7
with:
name: mcpgrade-results
path: ${{ runner.temp }}/mcpgrade-results