UI work to fill SBOM sourcing management gap. UI planning remaining functionality exposure. Work on CI/Tests stabilization

Introduces CGS determinism test runs to CI workflows for Windows, macOS, Linux, Alpine, and Debian, fulfilling CGS-008 cross-platform requirements. Updates local-ci scripts to support new smoke steps, test timeouts, progress intervals, and project slicing for improved test isolation and diagnostics.
This commit is contained in:
master
2025-12-29 19:12:38 +02:00
parent 41552d26ec
commit a4badc275e
286 changed files with 50918 additions and 992 deletions

View File

@@ -48,6 +48,13 @@
# Quick smoke test (~2 min)
./devops/scripts/local-ci.sh smoke
# Smoke steps (isolate build vs unit tests)
./devops/scripts/local-ci.sh smoke --smoke-step build
./devops/scripts/local-ci.sh smoke --smoke-step unit
./devops/scripts/local-ci.sh smoke --smoke-step unit-split
./devops/scripts/local-ci.sh smoke --smoke-step unit-split --test-timeout 5m --progress-interval 60
./devops/scripts/local-ci.sh smoke --smoke-step unit-split --project-start 1 --project-count 50
# Full PR-gating suite (~15 min)
./devops/scripts/local-ci.sh pr
@@ -73,6 +80,13 @@
# Quick smoke test
.\devops\scripts\local-ci.ps1 smoke
# Smoke steps (isolate build vs unit tests)
.\devops\scripts\local-ci.ps1 smoke -SmokeStep build
.\devops\scripts\local-ci.ps1 smoke -SmokeStep unit
.\devops\scripts\local-ci.ps1 smoke -SmokeStep unit-split
.\devops\scripts\local-ci.ps1 smoke -SmokeStep unit-split -TestTimeout 5m -ProgressInterval 60
.\devops\scripts\local-ci.ps1 smoke -SmokeStep unit-split -ProjectStart 1 -ProjectCount 50
# Full PR check
.\devops\scripts\local-ci.ps1 pr
@@ -91,6 +105,14 @@ Quick validation before pushing. Runs only Unit tests.
./devops/scripts/local-ci.sh smoke
```
Optional stepwise smoke (to isolate hangs):
```bash
./devops/scripts/local-ci.sh smoke --smoke-step build
./devops/scripts/local-ci.sh smoke --smoke-step unit
./devops/scripts/local-ci.sh smoke --smoke-step unit-split
```
**What it does:**
1. Builds the solution
2. Runs Unit tests
@@ -183,6 +205,11 @@ Complete test suite including extended categories.
| `--category <cat>` | Run specific test category |
| `--module <name>` | Test specific module |
| `--workflow <name>` | Workflow to simulate |
| `--smoke-step <step>` | Smoke step: build, unit, unit-split |
| `--test-timeout <t>` | Per-test timeout (e.g., 5m) using --blame-hang |
| `--progress-interval <s>` | Progress heartbeat in seconds |
| `--project-start <n>` | Start index (1-based) for unit-split slicing |
| `--project-count <n>` | Limit number of projects for unit-split slicing |
| `--docker` | Force Docker execution |
| `--native` | Force native execution |
| `--act` | Force act execution |
@@ -319,6 +346,9 @@ docker info
# Check logs
cat out/local-ci/logs/Unit-*.log
# Check current test project during unit-split
cat out/local-ci/active-test.txt
```
### Act Issues