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.
Operation declarations constrain submitted work. Platform datasets use the same domain authority as direct jobs. The interaction scenarios use the related capabilities' rule references and identify the shared fixture and observable outcome.
Coverage
Rulecovered
Transitiongap: FND-PFM-DJE-078
Validationcovered
Permissioncovered
Edgecovered
Failurecovered
Boundarycovered
Concurrencygap: FND-PFM-DJE-078
Invariantcovered
Interactioncovered
Test Scenarios
10 scenarios proving CAP-PFM-DJE-018; 5 bound to an existing test.
Prepare declarations without versions and deletes declaring writable fields or rollback.
Steps
[
{
"do": "Initialize each operation.",
"expect": "Every invalid declaration is refused.",
"provenance": "test",
"source": "macroservice-libraries:packages/data-jobs/src/validate-data-job-request.spec.ts#refuses a declaration with no contract version, which could accept no job at all"
}
]
[
{
"do": "Attempt foreign-workspace writes and queue claims.",
"expect": "Writes are refused and claims contain only the current workspace’s rows.",
"provenance": "test",
"source": "macroservice-libraries:packages/data-jobs/src/tests/integration/tenant-isolation.integration.spec.ts#refuses a row written into another tenant, whatever the statement says"
}
]
Expected
Writes are refused and claims contain only the current workspace’s rows.
Prepare definition input including an existing definition.
Steps
[
{
"do": "Submit insert and upsert operations.",
"expect": "Domain rules govern each write; insert refuses the existing definition and upsert updates it.",
"provenance": "test",
"source": "services-platform:modules/data-jobs/tests/integration/services/jobs/custom-field-data-jobs.integration.spec.js#writes the currency definition the metadata module’s own way, configuration and all"
}
]
Expected
Domain rules govern each write; insert refuses the existing definition and upsert updates it.
Prepare lines with rules, omitted rules and a forward reference.
Steps
[
{
"do": "Load the definitions, reset and load again.",
"expect": "Supplied rules replace existing rules, omissions preserve them and the forward reference is refused.",
"provenance": "proposed",
"source": "services-platform:docs/data-jobs/platform-data-operations.md#1.1 A definition's rules (the package format)"
}
]
Expected
Supplied rules replace existing rules, omissions preserve them and the forward reference is refused.
[
{
"do": "Submit, clear the error and retry.",
"expect": "The job pauses with transient-failure detail and finishes after recovery.",
"provenance": "proposed",
"source": "services-platform:docs/data-jobs/platform-data-operations.md#3. The batches run in the submitting request"
}
]
Expected
The job pauses with transient-failure detail and finishes after recovery.
[
{
"do": "Submit the dataset.",
"expect": "The refusal identifies its record count and supported limit.",
"provenance": "proposed",
"source": "services-platform:modules/data-jobs/services/jobs/custom-field-data-jobs.ts"
}
]
Expected
The refusal identifies its record count and supported limit.
Prepare callers with create access alone and with create plus bulk access.
Steps
[
{
"do": "Submit under both identities.",
"expect": "The first is refused and the fully authorized caller succeeds.",
"provenance": "test",
"source": "services-platform:modules/data-jobs/tests/integration/services/jobs/custom-field-data-jobs.integration.spec.js#refuses a caller who may create a definition but holds no bulk right"
}
]
Expected
The first is refused and the fully authorized caller succeeds.
Prepare boats including a repeated hull number and invalid type.
Steps
[
{
"do": "Load the dataset twice.",
"expect": "Invalid lines have numbered refusals, eligible input applies and repeated eligible records report unchanged.",
"provenance": "test",
"source": "services-platform:modules/data-jobs/tests/integration/services/jobs/custom-object-data-jobs.integration.spec.js#refuses a hull number an earlier line of the same file holds, naming that line"
}
]
Expected
Invalid lines have numbered refusals, eligible input applies and repeated eligible records report unchanged.
Prepare a supported Platform field-definition operation and authorized and unauthorized callers.
Steps
[
{
"do": "Submit a supported definition, an unsupported operation, and the supported input without bulk authority.",
"expect": "Only the permitted declared operation creates work; the refused requests leave no definition or job.",
"provenance": "proposed",
"source": "services-crm:modules/data-jobs/tests/integration/services/jobs/contact-data-jobs.integration.spec.js#refuses an object type CRM performs no bulk operation on, naming what it does perform; macroservice-libraries:packages/data-jobs/src/validate-data-job-request.spec.ts#refuses a delete that declares patchable fields, which a delete never sets; services-platform:modules/data-jobs/tests/integration/services/jobs/custom-field-data-jobs.integration.spec.js#refuses a caller who may create a definition but holds no bulk right"
}
]
Expected
Only the permitted declared operation creates work; the refused requests leave no definition or job.
Data
Prepare a supported Platform field-definition operation and authorized and unauthorized callers.
Register a package with custom definitions, records and associations and prepare limited and authorized staff contexts.
Steps
[
{
"do": "Start under insufficient domain authority, then under authorized authority and inspect each local job.",
"expect": "The refusal leaves the run unchanged; permitted local datasets use domain validation and preserve line-specific refusals.",
"provenance": "proposed",
"source": "services-platform:modules/data-jobs/tests/integration/services/runs/run-driver.integration.spec.js#forwards the staff caller’s own token with every call, and invents no identity of its own; services-platform:modules/data-jobs/services/runs/data-run-services.ts:DATA_RUN_SERVICES; services-platform:modules/data-jobs/tests/integration/services/jobs/custom-field-data-jobs.integration.spec.js#refuses a caller who may create a definition but holds no bulk right; services-platform:modules/data-jobs/tests/integration/services/jobs/custom-object-data-jobs.integration.spec.js#refuses a hull number an earlier line of the same file holds, naming that line"
}
]
Expected
The refusal leaves the run unchanged; permitted local datasets use domain validation and preserve line-specific refusals.
Data
Register a package with custom definitions, records and associations and prepare limited and authorized staff contexts.