The structured coverage rows link required rules to their scenarios. A covered category has a defined check; executable coverage and successful execution require separate evidence. The category map keeps incomplete lifecycle matrices and other missing checks visible as findings.
Capacity protection does not gate scheduled partition maintenance. The interaction scenarios use the related capabilities' rule references and identify the shared fixture and observable outcome.
Coverage
Rulegap: FND-PFM-DJE-080
Transitioncovered
Validationgap: FND-PFM-DJE-080
Permissiongap: FND-PFM-DJE-080
Edgegap: FND-PFM-DJE-080
Failurecovered
Boundarygap: FND-PFM-DJE-080
Concurrencygap: FND-PFM-DJE-080
Invariantcovered
Interactioncovered
Test Scenarios
5 scenarios proving CAP-PFM-DJE-020; 3 bound to an existing test.
01Maintenance prepares the current and upcoming monthstransitionapitest
Prepare registered tables without partitions at the initial fixture month.
Steps
[
{
"do": "Run maintenance once and inspect the created partitions and creation metric.",
"expect": "The current month and the next two months are created with no retirement on the initial pass.",
"provenance": "test",
"source": "services-platform:modules/partitions/tests/integration/services/maintenance/maintain-partitions.integration.spec.js#creates the current month and the two after it on the first run, and drops nothing"
}
]
Expected
The current month and the next two months are created with no retirement on the initial pass.
[
{
"do": "Run maintenance.",
"expect": "Both are archived before being dropped.",
"provenance": "test",
"source": "services-platform:modules/partitions/tests/integration/services/maintenance/maintain-partitions.integration.spec.js#still keeps the other table: the months ahead created, the two expired months archived and dropped"
}
]
Prepare a parent with forced row security and restricted grants.
Steps
[
{
"do": "Create its monthly child and read without workspace context.",
"expect": "The proposed helper proof expects matching policies and grants with no unscoped readable rows.",
"provenance": "proposed",
"source": "services-platform:docs/partitions.md#A partition is secured like its parent"
}
]
Expected
The proposed helper proof expects matching policies and grants with no unscoped readable rows.
[
{
"do": "Run the scheduled maintenance behavior.",
"expect": "The overall failure names the table, emits its failure metric and omits a success heartbeat.",
"provenance": "test",
"source": "services-platform:modules/partitions/tests/integration/services/maintenance/maintain-partitions.integration.spec.js#fails the run as a whole when one table’s pass failed, naming that table"
}
]
Expected
The overall failure names the table, emits its failure metric and omits a success heartbeat.
Prepare critical capacity and registered history tables, including one failing table.
Steps
[
{
"do": "Keep bulk admission held while running the scheduled maintenance pass.",
"expect": "History maintenance still prepares eligible storage and reports its failing table; it does not consume bulk admission slots.",
"provenance": "proposed",
"source": "services-platform:modules/capacity/tests/unit/services/capacity/decide-state.spec.ts#stops bulk and quarters heavy in critical, keeping writes and reads whole; services-platform:modules/partitions/tests/integration/services/maintenance/maintain-partitions.integration.spec.js#creates the current month and the two after it on the first run, and drops nothing; services-platform:modules/partitions/aws/logic/partitions-maintenance.schedule.ts:createPartitionsMaintenanceSchedule; services-platform:modules/partitions/tests/integration/services/maintenance/maintain-partitions.integration.spec.js#fails the run as a whole when one table’s pass failed, naming that table"
}
]
Expected
History maintenance still prepares eligible storage and reports its failing table; it does not consume bulk admission slots.
Data
Prepare critical capacity and registered history tables, including one failing table.