Skip to content

Conversation

@Elutrixx
Copy link
Contributor

DO NOT MERGE

This pull request only exists to highlight existing sonar cube issues and should not be merged

tpurschke and others added 30 commits November 18, 2025 09:23
roles/tests-unit/files/FWO.Test/HtmlToPdfTest.cs (lines 21-115) now checks a new FW_SKIP_PDF_TEST environment flag (in addition to the old GitHub-runner heuristic) and uses Assert.Ignore when we intentionally skip the heavy Puppeteer test, so the result is clearly reported as “skipped” instead of silently returning.
Added helpers ShouldSkipPdfTest/IsTruthy in the same file to keep the skip logic readable and reusable.
roles/tests-unit/tasks/main.yml (lines 25-32) injects FW_SKIP_PDF_TEST=true into the environment for the Ansible-driven dotnet test run, preventing the Puppeteer test from running during test-install (the dedicated GitHub-step that runs HtmlToPdfTest directly is unaffected, because the variable isn’t set there).
Tests

dotnet test roles/tests-unit/files/FWO.Test/FWO.Test.csproj --filter UrlSanitizerTests
dotnet test roles/tests-unit/files/FWO.Test/FWO.Test.csproj --filter HtmlToPdfTest
Full dotnet test currently reproduces the same “Test host process crashed” failure you reported; I captured diagnostics in /tmp/dotnet_diag.log if you need to dig further.
The targeted suites covering the sanitizer and PDF generation both pass. The crash when running the entire test assembly predates this change and still occurs even with FW_SKIP_PDF_TEST set (identical to the log snippet you sent), but the new env flag allows the Ansible test-install run to bypass the problematic Puppeteer test until that underlying host issue is addressed. Next steps: rerun the test-install workflow with these changes; if the host crash persists even with the skip flag, we’ll need to investigate the other tests/process interactions using the collected diag log.
… IDs for Rulebase and Rule from MockReportRules
…ringExtensions

Task-importer-rework unit test string extensions #3801
Robin-Smets and others added 29 commits November 28, 2025 11:49
…arnings

fix/importer-rework fix sonar warnings
PR Enhanced Logging and Fallback for resolving custom fields in compliance check
…y-no-error-wrong-credentials

fix/importer-rework autodiscovery no error on wrong credentials - forti
do not allow c# builds with warnings
@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 2, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
82 New issues
10 Security Hotspots
16 Duplicated Lines on New Code (required ≤ 10)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants