save checkpoint
This commit is contained in:
@@ -0,0 +1,65 @@
|
||||
{
|
||||
"type": "integration",
|
||||
"capturedAtUtc": "2026-02-13T14:34:00Z",
|
||||
"testCommand": "dotnet test src/Policy/__Tests/StellaOps.Policy.Engine.Tests/StellaOps.Policy.Engine.Tests.csproj --no-restore -v normal && dotnet test src/Policy/__Tests/StellaOps.Policy.Unknowns.Tests/StellaOps.Policy.Unknowns.Tests.csproj --no-restore -v normal",
|
||||
"testFilter": "BudgetEnforcementIntegrationTests, LedgerExportServiceTests, UnknownBudgetServiceTests, UnknownsBudgetPropertyTests, RiskBudgetMonotonicityPropertyTests, VerdictBudgetCheckTests",
|
||||
"testsRun": 1337,
|
||||
"testsPassed": 1337,
|
||||
"testsFailed": 0,
|
||||
"targetedTestMethods": [
|
||||
"BudgetEnforcementIntegrationTests.Budget_DifferentWindows_AreIndependent",
|
||||
"BudgetEnforcementIntegrationTests.Budget_WindowReset_DoesNotCarryOver",
|
||||
"BudgetEnforcementIntegrationTests.Consume_MultipleReleases_AccumulatesCorrectly",
|
||||
"BudgetEnforcementIntegrationTests.Consume_UpToExactLimit_Succeeds",
|
||||
"BudgetEnforcementIntegrationTests.Consume_AttemptOverBudget_Fails",
|
||||
"BudgetEnforcementIntegrationTests.Consume_ZeroPoints_Succeeds",
|
||||
"BudgetEnforcementIntegrationTests.ThresholdTransition_GreenToYellow",
|
||||
"BudgetEnforcementIntegrationTests.ThresholdTransition_YellowToRed",
|
||||
"BudgetEnforcementIntegrationTests.ThresholdTransition_RedToExhausted",
|
||||
"BudgetEnforcementIntegrationTests.ThresholdBoundaries_AreCorrect (7 cases: 0/39/40/69/70/99/100)",
|
||||
"BudgetEnforcementIntegrationTests.AdjustAllocation_IncreasesCapacity_ChangesThreshold",
|
||||
"BudgetEnforcementIntegrationTests.AdjustAllocation_DecreaseCapacity_ChangesThreshold",
|
||||
"BudgetEnforcementIntegrationTests.GetHistory_ReturnsAllEntriesForWindow",
|
||||
"BudgetEnforcementIntegrationTests.GetHistory_EmptyForNewService",
|
||||
"BudgetEnforcementIntegrationTests.GetHistory_DifferentWindows_AreIsolated",
|
||||
"BudgetEnforcementIntegrationTests.ConcurrentConsumption_IsThreadSafe",
|
||||
"BudgetEnforcementIntegrationTests.ConcurrentConsumption_RespectsLimit",
|
||||
"BudgetEnforcementIntegrationTests.DefaultAllocations_MatchTierRiskProfile (4 tiers)",
|
||||
"LedgerExportServiceTests.BuildAsync_ProducesOrderedNdjson",
|
||||
"UnknownBudgetServiceTests (budget retrieval, within-limit check, exceeds-total violation, reason-limit violation, escalation with exceptions)",
|
||||
"UnknownsBudgetPropertyTests (FsCheck property tests for budget constraints)",
|
||||
"RiskBudgetMonotonicityPropertyTests (FsCheck property tests for monotonic budget consumption)",
|
||||
"VerdictBudgetCheckTests (verdict-level budget enforcement)"
|
||||
],
|
||||
"behaviorVerified": [
|
||||
"BudgetEndpoints: GET /api/v1/policy/budgets (list all budgets with enforcement status)",
|
||||
"BudgetEndpoints: GET /api/v1/policy/budgets/{environment} (single budget with 404 handling)",
|
||||
"BudgetEndpoints: GET /api/v1/policy/budgets/{environment}/status (status with consumption, limits, percentage, violations)",
|
||||
"BudgetEndpoints: POST /api/v1/policy/budgets/{environment}/check (check unknowns against budget)",
|
||||
"BudgetEndpoints: GET /api/v1/policy/budgets/defaults (default budgets for prod/staging/dev/default)",
|
||||
"RiskBudgetEndpoints: GET /api/v1/policy/budget/status/{serviceId} (risk budget status with allocated/consumed/remaining/percentage/status)",
|
||||
"RiskBudgetEndpoints: POST /api/v1/policy/budget/consume (record consumption with validation)",
|
||||
"RiskBudgetEndpoints: POST /api/v1/policy/budget/check (release check with gate level, risk points, budget before/after)",
|
||||
"RiskBudgetEndpoints: GET /api/v1/policy/budget/history/{serviceId} (consumption history entries)",
|
||||
"RiskBudgetEndpoints: POST /api/v1/policy/budget/adjust (earned capacity replenishment or penalty)",
|
||||
"RiskBudgetEndpoints: GET /api/v1/policy/budget/list (list all risk budgets)",
|
||||
"LedgerExportService: deterministic NDJSON export with schema version policy-ledger-export-v1",
|
||||
"Budget threshold boundaries: Green(0-39%), Yellow(40-69%), Red(70-99%), Exhausted(100%+)",
|
||||
"Concurrent budget consumption thread safety",
|
||||
"Window-isolated budget management"
|
||||
],
|
||||
"assertionTypes": [
|
||||
"endpoint-contract",
|
||||
"budget-status-transition",
|
||||
"consumption-tracking",
|
||||
"threshold-boundary",
|
||||
"concurrent-safety",
|
||||
"window-isolation",
|
||||
"ledger-determinism",
|
||||
"property-based-invariant"
|
||||
],
|
||||
"newTestsWritten": [],
|
||||
"bugsFixed": [],
|
||||
"rawOutput": "Passed! - Failed: 0, Passed: 1278, Skipped: 0, Total: 1278 (Engine.Tests) + Passed! - Failed: 0, Passed: 59, Skipped: 0, Total: 59 (Unknowns.Tests)",
|
||||
"verdict": "pass"
|
||||
}
|
||||
Reference in New Issue
Block a user