[PR #182] fix: ensure Radzen CSS assets are present before Docker publish (2.0.0-rc5) #174

Closed
opened 2026-02-26 17:37:37 +03:00 by kerem · 0 comments
Owner

Original Pull Request: https://github.com/Corsinvest/cv4pve-admin/pull/182

State: closed
Merged: Yes


Summary

  • Download and clean Radzen CSS assets explicitly before dotnet publish in admin.ps1
  • Add download-assets step in GitHub Actions workflow before Docker build
  • Move UseStatusCodePagesWithReExecute before UseAntiforgery in Program.cs
  • Remove InDocker condition from DownloadFiles MSBuild target
  • Bump version to 2.0.0-rc5

Root cause

MapStaticAssets in Release mode computes fingerprints at publish time. If Radzen CSS files are not present in wwwroot before publish starts, they are excluded from the fingerprint manifest causing 500 errors on first clean build.

Test plan

  • Build with admin.ps1 build after clean — no 500 errors on CSS assets
  • GitHub Actions workflow build and push to Docker Hub
**Original Pull Request:** https://github.com/Corsinvest/cv4pve-admin/pull/182 **State:** closed **Merged:** Yes --- ## Summary - Download and clean Radzen CSS assets explicitly before `dotnet publish` in `admin.ps1` - Add `download-assets` step in GitHub Actions workflow before Docker build - Move `UseStatusCodePagesWithReExecute` before `UseAntiforgery` in `Program.cs` - Remove `InDocker` condition from `DownloadFiles` MSBuild target - Bump version to `2.0.0-rc5` ## Root cause `MapStaticAssets` in Release mode computes fingerprints at publish time. If Radzen CSS files are not present in `wwwroot` before publish starts, they are excluded from the fingerprint manifest causing 500 errors on first clean build. ## Test plan - [x] Build with `admin.ps1 build` after clean — no 500 errors on CSS assets - [ ] GitHub Actions workflow build and push to Docker Hub
kerem 2026-02-26 17:37:37 +03:00
kerem changed title from [PR #182] [MERGED] fix: ensure Radzen CSS assets are present before Docker publish (2.0.0-rc5) to [PR #182] fix: ensure Radzen CSS assets are present before Docker publish (2.0.0-rc5) 2026-03-07 19:57:19 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cv4pve-admin#174
No description provided.