From fe0ac0f2760736e5c93d16e2964fd85cb185dabd Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 23 Jan 2026 21:36:58 +0000 Subject: [PATCH 1/5] Initial plan From 2e3789094267bb2772f96c209e0fdd4a5e171529 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 23 Jan 2026 21:39:35 +0000 Subject: [PATCH 2/5] Add RuntimeInfoContributor documentation to Info actuator endpoint Co-authored-by: TimHess <3947063+TimHess@users.noreply.github.com> --- docs/docs/v4/management/info.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/docs/v4/management/info.md b/docs/docs/v4/management/info.md index dc2dd42f..0fb6a219 100644 --- a/docs/docs/v4/management/info.md +++ b/docs/docs/v4/management/info.md @@ -74,6 +74,20 @@ This contributor exposes information from the `git.properties` Spring Boot file, > [!TIP] > For an example of how to use this contributor within MSBuild using [GitInfo](https://github.com/devlooped/GitInfo), see the [Steeltoe Management sample](https://github.com/SteeltoeOSS/Samples/tree/4.x/Management/src). +### Runtime info + +This contributor, added in Steeltoe 4.1.0, exposes information about the environment in which the application is running. It includes: + +| Property | Description | +| --- | --- | +| `runtimeName` | The name and version of the .NET runtime (for example, ".NET 10.0.0") | +| `runtimeVersion` | The version of the common language runtime | +| `runtimeIdentifier` | The runtime identifier (RID) of the platform (for example, "linux-x64", "win-x64") | +| `processArchitecture` | The process architecture (for example, "X64", "Arm64") | +| `osArchitecture` | The operating system architecture | +| `osDescription` | A description of the operating system | +| `osVersion` | The operating system version | + ## Sample Output The response is always returned as JSON: @@ -119,6 +133,15 @@ The response is always returned as JSON: }, "build": { "version": "1.0.0.0" + }, + "runtime": { + "runtimeName": ".NET 10.0.0", + "runtimeVersion": "10.0.0", + "runtimeIdentifier": "linux-x64", + "processArchitecture": "X64", + "osArchitecture": "X64", + "osDescription": "Ubuntu 22.04.3 LTS", + "osVersion": "Unix 5.15.0.88" } } ``` From eba91ad7389b66847c77054d7053b2bd3dcb341d Mon Sep 17 00:00:00 2001 From: Tim Hess Date: Fri, 23 Jan 2026 17:07:06 -0600 Subject: [PATCH 3/5] bump actions and .net version --- .github/workflows/build-and-stage.yml | 11 +++++------ src/Steeltoe.io/Steeltoe.io.csproj | 2 +- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-and-stage.yml b/.github/workflows/build-and-stage.yml index e385d038..f638ed8b 100644 --- a/.github/workflows/build-and-stage.yml +++ b/.github/workflows/build-and-stage.yml @@ -18,7 +18,6 @@ env: AZURE_WEBAPP_PACKAGE_PATH: '.' DOTNET_CLI_TELEMETRY_OPTOUT: 1 DOTNET_NOLOGO: true - DOTNET_VERSION: '8.0.x' DOCFX_SOURCE_BRANCH_NAME: ${{ github.head_ref || github.ref_name }} jobs: @@ -26,12 +25,12 @@ jobs: name: Build and publish app runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Setup .NET - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v5 with: - dotnet-version: ${{ env.DOTNET_VERSION }} + dotnet-version: 10.x - name: Generate API Browser docs shell: pwsh @@ -44,7 +43,7 @@ jobs: run: dotnet publish src/Steeltoe.io --configuration Release --no-build --output ${{ env.DOTNET_ROOT }}/mainsite - name: Upload artifact for deployment job - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: Steeltoe.io path: ${{ env.DOTNET_ROOT }}/mainsite @@ -61,7 +60,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Download artifact from build job - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v7 with: name: Steeltoe.io diff --git a/src/Steeltoe.io/Steeltoe.io.csproj b/src/Steeltoe.io/Steeltoe.io.csproj index 27a52c36..2f962604 100644 --- a/src/Steeltoe.io/Steeltoe.io.csproj +++ b/src/Steeltoe.io/Steeltoe.io.csproj @@ -1,6 +1,6 @@  - net8.0 + net10.0 enable From a2baf3ec06e7d4c2d211c61cfdd593ef40248639 Mon Sep 17 00:00:00 2001 From: Tim Hess Date: Fri, 23 Jan 2026 17:28:19 -0600 Subject: [PATCH 4/5] Set DOTNET_CLI_VARIABLES_LANG_VERSION to 'latest' for 'docfx metadata' --- build/build-metadata.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build/build-metadata.ps1 b/build/build-metadata.ps1 index 4778c90e..80b2f411 100644 --- a/build/build-metadata.ps1 +++ b/build/build-metadata.ps1 @@ -55,6 +55,8 @@ function Clone-Source-Build-Metadata Write-Output "Setting DOCFX_SOURCE_BRANCH_NAME to '$branch'" $env:DOCFX_SOURCE_BRANCH_NAME = $branch + Write-Output "Setting DOTNET_CLI_VARIABLES_LANG_VERSION to 'latest'" + $env:DOTNET_CLI_VARIABLES_LANG_VERSION = "latest" Write-Output "Running command: dotnet docfx metadata $apiFile" dotnet docfx metadata $apiFile } From 6c035b769eeaac9f49ed7b7cf318e286ec378f4d Mon Sep 17 00:00:00 2001 From: Tim Hess Date: Mon, 26 Jan 2026 11:56:04 -0600 Subject: [PATCH 5/5] checkout with persist-credentials=false, revert download-artifact version bump --- .github/workflows/build-and-stage.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-stage.yml b/.github/workflows/build-and-stage.yml index f638ed8b..1f9cfc56 100644 --- a/.github/workflows/build-and-stage.yml +++ b/.github/workflows/build-and-stage.yml @@ -26,6 +26,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 + with: + persist-credentials: false - name: Setup .NET uses: actions/setup-dotnet@v5 @@ -60,7 +62,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Download artifact from build job - uses: actions/download-artifact@v7 + uses: actions/download-artifact@v4 with: name: Steeltoe.io