Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .docfx/Dockerfile.docfx
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM --platform=$BUILDPLATFORM nginx:1.28.0-alpine AS base
ARG NGINX_VERSION=1.29.0-alpine

FROM --platform=$BUILDPLATFORM nginx:${NGINX_VERSION} AS base
RUN rm -rf /usr/share/nginx/html/*

Comment on lines +3 to 5
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Avoid pulling the same NGINX image twice – reuse the base stage
The base stage already fetches nginx:${NGINX_VERSION} and strips the default html directory. The final stage re-pulls the identical image, duplicating layers and network I/O. You can reuse the cleaned image by deriving final directly from base:

-FROM nginx:${NGINX_VERSION} AS final
+FROM base AS final

This keeps the layer cache tight and speeds up builds, especially in CI.

Also applies to: 13-14

🤖 Prompt for AI Agents
In .docfx/Dockerfile.docfx around lines 3 to 5 and also lines 13 to 14, the
Dockerfile pulls the same nginx image twice for the base and final stages,
causing redundant layers and network usage. To fix this, modify the final stage
to use the previously defined base stage as its starting point instead of
pulling the nginx image again. This will reuse the cleaned image from the base
stage, improving build efficiency and caching.

FROM --platform=$BUILDPLATFORM codebeltnet/docfx:2.78.3 AS build
Expand All @@ -8,7 +10,7 @@ ADD [".", "docfx"]
RUN cd docfx; \
docfx build

FROM nginx:1.28.0-alpine AS final
FROM nginx:${NGINX_VERSION} AS final
WORKDIR /usr/share/nginx/html
COPY --from=build /build/docfx/wwwroot /usr/share/nginx/html

Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
restore-cache-key: ${{ needs.prepare_linux.outputs.restore-cache-key }}

test_linux:
name: call-test
name: call-test-linux
needs: [build, prepare_test, prepare_linux]
strategy:
fail-fast: false
Expand All @@ -99,7 +99,7 @@ jobs:
restore-cache-key: ${{ needs.prepare_linux.outputs.restore-cache-key }}

test_windows:
name: call-test
name: call-test-windows
needs: [build, prepare_test]
strategy:
fail-fast: false
Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:
sonarcloud:
name: call-sonarcloud
needs: [build, test_linux, test_windows, integration_test]
uses: codebeltnet/jobs-sonarcloud/.github/workflows/default.yml@v1
uses: codebeltnet/jobs-sonarcloud/.github/workflows/default.yml@v2
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Workflow version upgrade may introduce breaking changes.

The upgrade from @v1 to @v2 for the SonarCloud workflow should be verified to ensure compatibility with existing configuration and that no breaking changes affect the current setup.


🏁 Script executed:

#!/bin/bash
# Description: Check for any breaking changes or new requirements in the SonarCloud workflow v2

# Search for any documentation or changelog references to v2 breaking changes
rg -i "breaking|deprecated|removed" --type md -A 5 -B 5 | grep -i "sonar\|v2"

Length of output: 221


🏁 Script executed:

#!/bin/bash
# Clone the SonarCloud jobs repository and diff the v1 vs v2 default workflows
set -e

# Clean up any previous runs
rm -rf sonar-jobs default_v1.yml default_v2.yml

# Clone the repo
git clone https://github.com/codebeltnet/jobs-sonarcloud.git sonar-jobs
cd sonar-jobs

# Fetch tags and capture v1 workflow
git fetch --tags
git checkout v1
cp .github/workflows/default.yml ../default_v1.yml

# Capture v2 workflow
git checkout v2
cp .github/workflows/default.yml ../default_v2.yml

cd ..

# Show the diff (exit code 0 or 1 is okay)
diff -u default_v1.yml default_v2.yml || true

Length of output: 3527


Validate and Adapt SonarCloud Workflow Upgrade to v2

Several inputs and defaults have changed in the v2 workflow—please update your pipeline invocation accordingly:

  • New Inputs
    include-preview (boolean, default false) replaces the hard-coded preview flag.
    • Ensure you pass include-preview: true if you relied on previews before.

  • Removed Defaults
    • The defaults for -d:sonar.sources and -d:sonar.tests are no longer included.
    • Add these to your parameters input if you need them.

  • Updated Action Versions
    • install-dotnet → @v2
    • dotnet-tool-install-sonarscanner → @v2
    • dotnet-restore → @v3
    • sonarcloud-scan → @v2
    • dotnet-build → @v4

  • Renamed Inputs
    includePreviewinclude-preview
    buildSwitchesbuild-switches

  • New Required Inputs for sonarcloud-scan@v2
    host (defaults to your previous host)
    parameters (now only defaults to exclusions)

Locations to update in .github/workflows/pipelines.yml (around line 181):

uses: codebeltnet/jobs-sonarcloud/.github/workflows/default.yml@v2
with:
  # add or rename inputs here:
  include-preview: true            # if needed
  host: ${{ inputs.host }}         # optional override
  parameters: ${{ inputs.parameters }}  # include your sources/tests flags

Please review these changes and test your workflow to confirm nothing breaks.

🤖 Prompt for AI Agents
In .github/workflows/pipelines.yml at line 181, update the SonarCloud workflow
usage to the v2 version by adding or renaming inputs as required: replace
includePreview with include-preview and set it to true if previews were used
before; add the host input with the appropriate value; add the parameters input
including sonar.sources and sonar.tests if needed; also ensure that any action
versions used in the workflow are updated to the specified newer versions.
Adjust the pipeline invocation accordingly to match the new v2 workflow input
requirements and test the workflow to confirm it functions correctly.

with:
organization: geekle
projectKey: Cuemon
Expand All @@ -198,7 +198,9 @@ jobs:
codeql:
name: call-codeql
needs: [build, test_linux, test_windows, integration_test]
uses: codebeltnet/jobs-codeql/.github/workflows/default.yml@v1
uses: codebeltnet/jobs-codeql/.github/workflows/default.yml@v2
with:
timeout-minutes: 30
permissions:
security-events: write

Expand Down
8 changes: 7 additions & 1 deletion .nuget/Cuemon.AspNetCore.App/PackageReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
Version 9.0.6
Version 9.0.7
Availability: .NET 9 and .NET 8

# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs

Version 9.0.6
Availability: .NET 9 and .NET 8

# ALM
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
Version 9.0.6
Version 9.0.7
Availability: .NET 9 and .NET 8

# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs

Version 9.0.6
Availability: .NET 9 and .NET 8

# ALM
Expand Down
8 changes: 7 additions & 1 deletion .nuget/Cuemon.AspNetCore.Mvc/PackageReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
Version 9.0.6
Version 9.0.7
Availability: .NET 9 and .NET 8

# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs

Version 9.0.6
Availability: .NET 9 and .NET 8

# ALM
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
Version 9.0.6
Version 9.0.7
Availability: .NET 9 and .NET 8

# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs

Version 9.0.6
Availability: .NET 9 and .NET 8

# ALM
Expand Down
8 changes: 7 additions & 1 deletion .nuget/Cuemon.AspNetCore/PackageReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
Version 9.0.6
Version 9.0.7
Availability: .NET 9 and .NET 8

# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs

Version 9.0.6
Availability: .NET 9 and .NET 8

# ALM
Expand Down
8 changes: 7 additions & 1 deletion .nuget/Cuemon.Core.App/PackageReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
Version 9.0.6
Version 9.0.7
Availability: .NET 9, .NET 8 and .NET Standard 2.0

# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs

Version 9.0.6
Availability: .NET 9, .NET 8 and .NET Standard 2.0

# ALM
Expand Down
8 changes: 7 additions & 1 deletion .nuget/Cuemon.Core/PackageReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
Version 9.0.6
Version 9.0.7
Availability: .NET 9, .NET 8 and .NET Standard 2.0

# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs

Version 9.0.6
Availability: .NET 9, .NET 8 and .NET Standard 2.0

# ALM
Expand Down
8 changes: 7 additions & 1 deletion .nuget/Cuemon.Data.Integrity/PackageReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
Version 9.0.6
Version 9.0.7
Availability: .NET 9, .NET 8 and .NET Standard 2.0

# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs

Version 9.0.6
Availability: .NET 9, .NET 8 and .NET Standard 2.0

# ALM
Expand Down
9 changes: 8 additions & 1 deletion .nuget/Cuemon.Data.SqlClient/PackageReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
Version 9.0.6
Version 9.0.7
Availability: .NET 9, .NET 8 and .NET Standard 2.0

# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs
- CHANGED System.Data.SqlClient to Microsoft.Data.SqlClient since the former is officially deprecated

Version 9.0.6
Availability: .NET 9, .NET 8 and .NET Standard 2.0

# ALM
Expand Down
8 changes: 7 additions & 1 deletion .nuget/Cuemon.Data/PackageReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
Version 9.0.6
Version 9.0.7
Availability: .NET 9, .NET 8 and .NET Standard 2.0

# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs

Version 9.0.6
Availability: .NET 9, .NET 8 and .NET Standard 2.0

# ALM
Expand Down
8 changes: 7 additions & 1 deletion .nuget/Cuemon.Diagnostics/PackageReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
Version 9.0.6
Version 9.0.7
Availability: .NET 9, .NET 8 and .NET Standard 2.0

# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs

Version 9.0.6
Availability: .NET 9, .NET 8 and .NET Standard 2.0

# ALM
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
Version 9.0.6
Version 9.0.7
Availability: .NET 9 and .NET 8

# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs

Version 9.0.6
Availability: .NET 9 and .NET 8

# ALM
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
Version 9.0.6
Version 9.0.7
Availability: .NET 9 and .NET 8

# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs

Version 9.0.6
Availability: .NET 9 and .NET 8

# ALM
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
Version 9.0.6
Version 9.0.7
Availability: .NET 9 and .NET 8

# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs

Version 9.0.6
Availability: .NET 9 and .NET 8

# ALM
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
Version 9.0.6
Version 9.0.7
Availability: .NET 9 and .NET 8

# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs

Version 9.0.6
Availability: .NET 9 and .NET 8

# ALM
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
Version 9.0.6
Version 9.0.7
Availability: .NET 9 and .NET 8

# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs

Version 9.0.6
Availability: .NET 9 and .NET 8

# ALM
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
Version 9.0.6
Version 9.0.7
Availability: .NET 9 and .NET 8

# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs

Version 9.0.6
Availability: .NET 9 and .NET 8

# ALM
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
Version 9.0.6
Version 9.0.7
Availability: .NET 9 and .NET 8

# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs

Version 9.0.6
Availability: .NET 9 and .NET 8

# ALM
Expand Down
8 changes: 7 additions & 1 deletion .nuget/Cuemon.Extensions.AspNetCore/PackageReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
Version 9.0.6
Version 9.0.7
Availability: .NET 9 and .NET 8

# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs

Version 9.0.6
Availability: .NET 9 and .NET 8

# ALM
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
Version 9.0.6
Version 9.0.7
Availability: .NET 9, .NET 8 and .NET Standard 2.0

# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs

Version 9.0.6
Availability: .NET 9, .NET 8 and .NET Standard 2.0

# ALM
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
Version 9.0.6
Version 9.0.7
Availability: .NET 9, .NET 8 and .NET Standard 2.0

# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs

Version 9.0.6
Availability: .NET 9, .NET 8 and .NET Standard 2.0

# ALM
Expand Down
8 changes: 7 additions & 1 deletion .nuget/Cuemon.Extensions.Core/PackageReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
Version 9.0.6
Version 9.0.7
Availability: .NET 9, .NET 8 and .NET Standard 2.0

# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs

Version 9.0.6
Availability: .NET 9, .NET 8 and .NET Standard 2.0

# ALM
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
Version 9.0.6
Version 9.0.7
Availability: .NET 9, .NET 8 and .NET Standard 2.0

# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs

Version 9.0.6
Availability: .NET 9, .NET 8 and .NET Standard 2.0

# ALM
Expand Down
8 changes: 7 additions & 1 deletion .nuget/Cuemon.Extensions.Data/PackageReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
Version 9.0.6
Version 9.0.7
Availability: .NET 9, .NET 8 and .NET Standard 2.0

# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs

Version 9.0.6
Availability: .NET 9, .NET 8 and .NET Standard 2.0

# ALM
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
Version 9.0.6
Version 9.0.7
Availability: .NET 9, .NET 8 and .NET Standard 2.0

# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs

Version 9.0.6
Availability: .NET 9, .NET 8 and .NET Standard 2.0

# ALM
Expand Down
8 changes: 7 additions & 1 deletion .nuget/Cuemon.Extensions.Diagnostics/PackageReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
Version 9.0.6
Version 9.0.7
Availability: .NET 9, .NET 8 and .NET Standard 2.0

# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs

Version 9.0.6
Availability: .NET 9, .NET 8 and .NET Standard 2.0

# ALM
Expand Down
8 changes: 7 additions & 1 deletion .nuget/Cuemon.Extensions.Hosting/PackageReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
Version 9.0.6
Version 9.0.7
Availability: .NET 9, .NET 8 and .NET Standard 2.0

# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs

Version 9.0.6
Availability: .NET 9, .NET 8 and .NET Standard 2.0

# ALM
Expand Down
8 changes: 7 additions & 1 deletion .nuget/Cuemon.Extensions.IO/PackageReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
Version 9.0.6
Version 9.0.7
Availability: .NET 9, .NET 8, .NET Standard 2.1 and .NET Standard 2.0

# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs

Version 9.0.6
Availability: .NET 9, .NET 8, .NET Standard 2.1 and .NET Standard 2.0

# ALM
Expand Down
Loading
Loading