ci: test whether EF-InMemory/Moq (runtime IL emission) is the runner trigger
CI and Deploy / test (push) Failing after 52s
CI and Deploy / deploy (push) Has been skipped

This commit is contained in:
cesnimda
2026-07-18 23:17:12 +02:00
parent 8f73548e33
commit c4c0cd4e42
+18
View File
@@ -68,6 +68,24 @@ jobs:
# under a hostile locale/timezone -- so the trigger is specific to this runner host. # under a hostile locale/timezone -- so the trigger is specific to this runner host.
# See docs/infrastructure/runner-investigation.md. Collection parallelism stays off for determinism, the # See docs/infrastructure/runner-investigation.md. Collection parallelism stays off for determinism, the
# same reason the frontend runs --runInBand. Every test still runs; nothing is filtered. # same reason the frontend runs --runInBand. Every test still runs; nothing is filtered.
# Post-reboot the failure is identical (smoke 1s pass, suite 3s fail), so it is deterministic,
# not an OOM/flake -- and host telemetry shows no disk/memory/PID pressure. The passing smoke is
# a PURE test (no EF, no Moq); every class known to fail uses EF InMemory + Moq, whose Castle
# DynamicProxy emits IL at runtime. A container seccomp/W^X policy that blocks runtime code
# generation would kill the host exactly this way. These ordered steps test that: pure classes
# first, then a Moq+EF class. Diagnostic scaffolding; no test is skipped or weakened.
- name: T pure JobPipeline
run: dotnet test JobTrackerApi.Tests/JobTrackerApi.Tests.csproj --configuration Release --no-build --filter "FullyQualifiedName~JobPipelineTests"
- name: T pure EmailStatusClassifier
run: dotnet test JobTrackerApi.Tests/JobTrackerApi.Tests.csproj --configuration Release --no-build --filter "FullyQualifiedName~EmailStatusClassifierTests"
- name: T pure JobCvMatchService
run: dotnet test JobTrackerApi.Tests/JobTrackerApi.Tests.csproj --configuration Release --no-build --filter "FullyQualifiedName~JobCvMatchServiceTests"
- name: T MoqEF CvBuilder
run: dotnet test JobTrackerApi.Tests/JobTrackerApi.Tests.csproj --configuration Release --no-build --filter "FullyQualifiedName~CvBuilderTests"
- name: Test backend - name: Test backend
run: dotnet test JobTrackerApi.Tests/JobTrackerApi.Tests.csproj --configuration Release --no-build -- xUnit.parallelizeTestCollections=false xUnit.maxParallelThreads=1 run: dotnet test JobTrackerApi.Tests/JobTrackerApi.Tests.csproj --configuration Release --no-build -- xUnit.parallelizeTestCollections=false xUnit.maxParallelThreads=1