Repository navigation
Repair CI and replace ImageSharp with SkiaSharp - #78
Merged
Merged
Conversation
Update vulnerable dependencies and lock files, add PNG characterization tests, and document runtime and license prerequisites. Release validation requires an issued ImageSharp community license before this change is ready to merge.
Preserve heatmap output and correct endpoint rounding. Include Linux native assets and their license notices, extend PNG regression coverage, and document the replacement.
This was referenced Nov 16, 2026
Merged
Kamilr616
marked this pull request as ready for review
November 16, 2026 00:28
There was a problem hiding this comment.
🟡 Changes recommended
Changes are still needed because the audit gate can silently pass when a project's framework list is missing or empty, allowing vulnerability checks to be bypassed.
1 open issue
What changed in this PR
This PR repairs dependency vulnerabilities, replaces ImageSharp with SkiaSharp for server-side heatmap generation, and expands CI coverage to both main and develop while preserving the existing .NET 8 application targets and deployment workflow.
Changes:
- Updates ASP.NET Core, SqlClient, SignalR, and transitive packages, replacing ImageSharp with SkiaSharp and Linux native assets.
- Adds heatmap rendering tests covering PNG output, orientation, colors, interpolation, and dimensions.
- Strengthens CI with locked restore, runtime setup, transitive vulnerability auditing, publishing, and Docker builds using
--pull. - Updates licensing, architecture, setup, repository guidance, and English/Polish README documentation.
| File | Description |
|---|---|
| THIRD_PARTY_NOTICES.md | Updates dependency versions, license counts, and SkiaSharp native notices. |
| src/server/SmartBotBlazorApp/SmartBotBlazorApp.csproj | Upgrades packages and includes SkiaSharp license files in outputs. |
| src/server/SmartBotBlazorApp/packages.lock.json | Locks updated server dependencies and SkiaSharp transitive assets. |
| src/server/SmartBotBlazorApp/ImageProcessor.cs | Replaces ImageSharp heatmap generation with SkiaSharp rendering and cubic scaling. |
| src/server/SmartBotBlazorApp.Tests/packages.lock.json | Updates test-project transitive dependency locks. |
| src/server/SmartBotBlazorApp.Tests/ImageProcessorTests.cs | Adds SkiaSharp heatmap, orientation, color, and interpolation tests. |
| src/server/SmartBotBlazorApp.Client/SmartBotBlazorApp.Client.csproj | Upgrades client-side ASP.NET Core and SignalR packages. |
| src/server/SmartBotBlazorApp.Client/packages.lock.json | Locks updated client dependencies. |
| README.pl.md | Provides corresponding Polish documentation updates. |
| README.md | Documents package versions, platform support, SkiaSharp, and expanded CI triggers. |
| docs/server.md | Documents server dependencies, SkiaSharp rendering, and CI behavior. |
| docs/getting-started.md | Updates SDK and runtime prerequisites and Linux image-rendering setup. |
| docs/architecture.md | Updates rendering and measurement-throttling architecture notes. |
| AGENTS.md | Updates repository build and runtime guidance. |
| .github/workflows/smartbotweb.yml | Adds develop coverage, runtime installation, stricter auditing, publishing, and Docker builds using --pull. |
Review effort: Lite
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

The dependency audit reported four vulnerable packages across ten advisories, while PRs to develop had no CI coverage. This repairs the dependency graph and runs the complete workflow for pushes and PRs to both develop and main.
Validation
This replaces closed #77 after renaming the source branch to
fix/repair-ci-and-release. The old remoteagent/branch no longer exists. Requiredbuildfrom GitHub Actions (app 15368), with strict up-to-date checks, is applied and verified on main/develop and main ruleset 2360726; all other protection settings are preserved.An authorized GitHub approval is still required before rebase merge into develop. Promotion uses existing #76 after refreshing its actual head, CI and review; preserve develop. .NET 8/EF Core 9 are out of support; migration to .NET 10 remains a separate follow-up.