scripts/provider-migration/results-2026-09-19.json
Rama main · réplica de lectura del repositorio original.
{
"date": "2026-09-19",
"project": "metjnjrhvujscngnpzdv",
"mode": "Local worker processes using real staging PostgREST, provider clients, mappers, encryption and database RPCs",
"providerResponses": "Synthetic HTTP responses; real local provider rate limiters retained",
"volumeRunsConcurrent": true,
"metricsNotes": [
"Forced-kill invocation metrics are not collected. Invocation maxima use returned invocations.",
"RSS is sampled at return, not a continuous peak-memory measurement.",
"The worker was hardened during the volume runs. Short-budget detail scenarios and final smoke ran after the fix."
],
"limitations": [
"No live Visma or Bokio account contacted",
"Hosted cron and deployed function runtime not exercised",
"No SIE ledger, registration voucher matching, supplier settlement or distributed Redis contention in these fixtures"
],
"checks": {
"fullUnitTestsPassed": 24239,
"fullUnitTestsSkipped": 5,
"newTypeErrors": 0,
"lintErrorsInChangedFiles": 0
},
"scenarios": [
{
"scenario": "volume-visma",
"provider": "visma",
"companyId": "9268c371-5c6a-45d4-b6af-e2c7e24ac96f",
"jobId": "f42dc7f8-abfd-4ad6-a2d7-662985009663",
"state": "completed",
"invoices": 25000,
"invoiceLines": 75000,
"customers": 250,
"totalOre": 937500000,
"invocationBudgetMs": 60000,
"totalElapsedMs": 843173,
"maxReturnedInvocationMs": 50183,
"invocations": 30,
"claimedInvocations": 17,
"forcedProcessKills": 1,
"detailEvery": 0,
"responseDelayMs": 0,
"failedRecords": 0,
"pendingRecords": 0,
"maxReturnedDatabaseHttpMs": 727,
"maxRssSampleAtReturnBytes": 213778432,
"recoveryChecks": [
"provider 429 retry",
"process kill after commit",
"lost commit acknowledgement",
"competing lease claim"
],
"completionEvents": 25000
},
{
"scenario": "volume-bokio",
"provider": "bokio",
"companyId": "ad417fc4-7f59-49e7-9446-c098e9ded84e",
"jobId": "f54fdac1-f4a4-4a37-83ee-10feed444bf8",
"state": "completed",
"invoices": 25000,
"invoiceLines": 75000,
"customers": 250,
"totalOre": 937500000,
"invocationBudgetMs": 60000,
"totalElapsedMs": 854430,
"maxReturnedInvocationMs": 50178,
"invocations": 22,
"claimedInvocations": 17,
"forcedProcessKills": 1,
"detailEvery": 0,
"responseDelayMs": 0,
"failedRecords": 0,
"pendingRecords": 0,
"maxReturnedDatabaseHttpMs": 679,
"maxRssSampleAtReturnBytes": 175300608,
"recoveryChecks": [
"provider 429 retry",
"process kill after commit",
"lost commit acknowledgement",
"competing lease claim"
],
"completionEvents": 25000
},
{
"scenario": "slow-details",
"provider": "visma",
"companyId": "56f9ea6d-2928-4f96-a456-e03b7464cc72",
"jobId": "5ca08d42-4430-44a9-b57f-f5151770a2f5",
"state": "completed",
"invoices": 100,
"invoiceLines": 300,
"customers": 100,
"totalOre": 3750000,
"invocationBudgetMs": 20000,
"totalElapsedMs": 68886,
"maxReturnedInvocationMs": 9225,
"invocations": 21,
"claimedInvocations": 4,
"forcedProcessKills": 1,
"detailEvery": 1,
"responseDelayMs": 250,
"failedRecords": 0,
"pendingRecords": 0,
"maxReturnedDatabaseHttpMs": 165,
"maxRssSampleAtReturnBytes": 212848640,
"recoveryChecks": [
"provider 429 retry",
"process kill after commit",
"lost commit acknowledgement",
"competing lease claim"
],
"completionEvents": 100
},
{
"scenario": "slow-details",
"provider": "bokio",
"companyId": "7009ed35-dd17-43d1-92b3-2f0b43c71560",
"jobId": "a4f00603-aeb7-452e-a265-38d9360b66ad",
"state": "completed",
"invoices": 100,
"invoiceLines": 300,
"customers": 100,
"totalOre": 3750000,
"invocationBudgetMs": 20000,
"totalElapsedMs": 58186,
"maxReturnedInvocationMs": 9272,
"invocations": 14,
"claimedInvocations": 4,
"forcedProcessKills": 1,
"detailEvery": 1,
"responseDelayMs": 250,
"failedRecords": 0,
"pendingRecords": 0,
"maxReturnedDatabaseHttpMs": 132,
"maxRssSampleAtReturnBytes": 214843392,
"recoveryChecks": [
"provider 429 retry",
"process kill after commit",
"lost commit acknowledgement",
"competing lease claim"
],
"completionEvents": 100
},
{
"scenario": "two-second-details",
"provider": "visma",
"companyId": "07064780-c0f8-47df-b3fa-b6d775ae7a6a",
"jobId": "2f383835-4e55-41af-9d2e-19fd41c4b1f8",
"state": "completed",
"invoices": 30,
"invoiceLines": 90,
"customers": 30,
"totalOre": 1125000,
"invocationBudgetMs": 15000,
"totalElapsedMs": 104411,
"maxReturnedInvocationMs": 5482,
"invocations": 17,
"claimedInvocations": 16,
"forcedProcessKills": 1,
"detailEvery": 1,
"responseDelayMs": 2000,
"failedRecords": 0,
"pendingRecords": 0,
"maxReturnedDatabaseHttpMs": 130,
"maxRssSampleAtReturnBytes": 211755008,
"recoveryChecks": [
"provider 429 retry",
"process kill after commit",
"lost commit acknowledgement",
"competing lease claim"
],
"completionEvents": 30
},
{
"scenario": "two-second-details",
"provider": "bokio",
"companyId": "798f5711-41f7-4e2b-a201-d28c0199d3fb",
"jobId": "1eceb72e-82d9-4d97-8f70-974e7828f631",
"state": "completed",
"invoices": 30,
"invoiceLines": 90,
"customers": 30,
"totalOre": 1125000,
"invocationBudgetMs": 15000,
"totalElapsedMs": 107623,
"maxReturnedInvocationMs": 5518,
"invocations": 17,
"claimedInvocations": 16,
"forcedProcessKills": 1,
"detailEvery": 1,
"responseDelayMs": 2000,
"failedRecords": 0,
"pendingRecords": 0,
"maxReturnedDatabaseHttpMs": 160,
"maxRssSampleAtReturnBytes": 208719872,
"recoveryChecks": [
"provider 429 retry",
"process kill after commit",
"lost commit acknowledgement",
"competing lease claim"
],
"completionEvents": 30
},
{
"scenario": "interrupted-details",
"provider": "visma",
"companyId": "993f5fcc-57ef-4ccc-8419-e2f10b7d3e5f",
"jobId": "9e13f08d-a228-4433-891e-e44cfef3a215",
"state": "completed",
"invoices": 30,
"invoiceLines": 90,
"customers": 30,
"totalOre": 1125000,
"invocationBudgetMs": 15000,
"totalElapsedMs": 116831,
"maxReturnedInvocationMs": 5201,
"invocations": 16,
"claimedInvocations": 15,
"forcedProcessKills": 1,
"detailEvery": 1,
"responseDelayMs": 1700,
"failedRecords": 0,
"pendingRecords": 0,
"maxReturnedDatabaseHttpMs": 138,
"maxRssSampleAtReturnBytes": 204181504,
"recoveryChecks": [
"provider 429 retry",
"process kill after commit",
"lost commit acknowledgement",
"competing lease claim"
],
"completionEvents": 30
},
{
"scenario": "interrupted-details",
"provider": "bokio",
"companyId": "38b9773c-e079-4de2-a2f2-a556a3bcda1f",
"jobId": "83a6673d-26ce-4c75-a9a6-47505a7e0f33",
"state": "completed",
"invoices": 30,
"invoiceLines": 90,
"customers": 30,
"totalOre": 1125000,
"invocationBudgetMs": 15000,
"totalElapsedMs": 112239,
"maxReturnedInvocationMs": 5211,
"invocations": 16,
"claimedInvocations": 15,
"forcedProcessKills": 1,
"detailEvery": 1,
"responseDelayMs": 1700,
"failedRecords": 0,
"pendingRecords": 0,
"maxReturnedDatabaseHttpMs": 173,
"maxRssSampleAtReturnBytes": 207499264,
"recoveryChecks": [
"provider 429 retry",
"process kill after commit",
"lost commit acknowledgement",
"competing lease claim"
],
"completionEvents": 30
},
{
"scenario": "final-smoke",
"provider": "visma",
"companyId": "489e44aa-9ee4-412d-ac5b-b5f3a958143f",
"jobId": "3d2ea841-ca6e-4d16-8eac-ece2dcc44c32",
"state": "completed",
"invoices": 30,
"invoiceLines": 90,
"customers": 30,
"totalOre": 1125000,
"invocationBudgetMs": 15000,
"totalElapsedMs": 9326,
"maxReturnedInvocationMs": 1325,
"invocations": 3,
"claimedInvocations": 2,
"forcedProcessKills": 1,
"detailEvery": 0,
"responseDelayMs": 0,
"failedRecords": 0,
"pendingRecords": 0,
"maxReturnedDatabaseHttpMs": 191,
"maxRssSampleAtReturnBytes": 195653632,
"recoveryChecks": [
"provider 429 retry",
"process kill after commit",
"lost commit acknowledgement",
"competing lease claim"
],
"completionEvents": 30
},
{
"scenario": "final-smoke",
"provider": "bokio",
"companyId": "5f1a703c-8b6b-45d9-b9f9-6b30e38fdd8f",
"jobId": "c4cb1a27-e9e4-417c-b176-d57385d5706b",
"state": "completed",
"invoices": 30,
"invoiceLines": 90,
"customers": 30,
"totalOre": 1125000,
"invocationBudgetMs": 15000,
"totalElapsedMs": 9024,
"maxReturnedInvocationMs": 1278,
"invocations": 3,
"claimedInvocations": 2,
"forcedProcessKills": 1,
"detailEvery": 0,
"responseDelayMs": 0,
"failedRecords": 0,
"pendingRecords": 0,
"maxReturnedDatabaseHttpMs": 162,
"maxRssSampleAtReturnBytes": 204550144,
"recoveryChecks": [
"provider 429 retry",
"process kill after commit",
"lost commit acknowledgement",
"competing lease claim"
],
"completionEvents": 30
}
]
}