Files
MikrotikManager/docs/mcp-flow-worker-ipc-acceptance-20261029.json
T

132 lines
5.5 KiB
JSON

{
"date": "2026-10-29",
"status": "production-flow-worker-ipc-component-accepted",
"fullPlanComplete": false,
"nativeDirectionComplete": false,
"remainingDirectionCount": 7,
"command": "npm --prefix backend run test:flow-worker-ipc:pg",
"terminalExitCode": 0,
"actual": {
"accepted": 6,
"groups": [
"main startup -> production Worker/localhost UDP -> scoped real IPC drain -> durable SQL receipt; listener remains active",
"real main restart retires previous worker before same-port bind; pending UDP data conserved across authorized shutdown",
"overlapping main starts: late initial authorization refuses displaced caller; winner retains same-port listener and persists subsequent actual UDP",
"actual main generation change refuses stale drain; tracked stop waits for exit, releases UDP port and preserves keys/peers/settings",
"real parentPort authorization exchange revokes an existing worker drain without publication",
"real production worker exit before IPC ACK fails closed; retirement failure stays latched"
],
"ifaceGets": 3,
"syntheticUdpDatagrams": 4,
"totalBytes": 12000,
"mainGenerationCoverage": "pre-dispatch invalidation, sequential replacement, overlapping starts with late initial authorization",
"overlappingStartLateInitialAuthorizationAccepted": true,
"allConcurrentSpawnInterleavingsAccepted": false,
"realRouterInteroperabilityAccepted": false
},
"verification": {
"focusedLifecycleTests": 21,
"focusedFailures": 0,
"focusedSkipped": 0,
"explicitEntryTypecheck": true,
"scopedLint": true,
"backendBuild": true,
"exclusiveProfileGuard": true,
"independentStaticReview": "No actionable findings in original entry or added late-initial-authorization race"
},
"scope": {
"actualProductionMainAndWorker": true,
"actualParentPortMessages": true,
"actualLocalhostUdpAndHttp": true,
"actualSqlBatchReceipt": true,
"schemaMigrations": 39,
"disposablePostgresOnly": true,
"externalRipeLookup": false,
"realChrOrProductionDatabase": false,
"notifierOrDeployment": false,
"settingsKeysPeersPreserved": true,
"trackedStopAndPortRebind": true,
"newProductionPoolsRolesMigrations": false,
"wholeInstallation2GbAcceptance": false
},
"remaining": [
"Other current/retiring worker startup/shutdown failure interleavings and post-spawn revocation beyond the exact tested late-initial-authorization race.",
"Live settings/rebuild/purge composition under active traffic and its native interoperability/load acceptance.",
"VRF/VPN/forwarding and the other NATIVE submodules remain separate gates."
],
"evidence": [
{
"path": "tmp/mcp-flow-worker-ipc-final-20261029.log",
"sha256": "81c332aec3202b09508fbd3b3bb1a137f8827ea3c2fe85994957aadc6bdf4884"
},
{
"path": "tmp/mcp-flow-worker-ipc-owned-20261029.log",
"sha256": "519f6318d4b59b5ec247847ea525ec121edf70d2961606aa31a4a2d29e382145"
},
{
"path": "tmp/mcp-flow-worker-ipc-unit-20261029.log",
"sha256": "c724f8fabcacebb327dce7eca8055430f1cbd309a8c47da253c05500943532e0"
},
{
"path": "tmp/mcp-flow-worker-ipc-types-20261029.log",
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
},
{
"path": "tmp/mcp-flow-worker-ipc-lint-20261029.log",
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
},
{
"path": "tmp/mcp-flow-worker-ipc-exclusive-20261029.log",
"sha256": "c1d12d208c2051cc7b62450f6d46ae6dd22f9f3045a584dd72216cbe6dd3201a"
},
{
"path": "tmp/mcp-worker-stage-build-20261029.log",
"sha256": "4f26b355b57fa516cf22f7286ea65b24c6b8d066f666278b5e704f5aa528e2d3"
},
{
"path": "backend/src/services/traffic-flow-worker-ipc.owned.test.ts",
"sha256": "1e33591034d6f3b43b13c629bebb295969ca11616190ce452b6ef757a1037b36"
},
{
"path": "backend/scripts/test-mcp-postgres.mjs",
"sha256": "3fc88311678320b2d2c9a1e357b53411ca2c6b09fce6efee42c62e66f775888e"
},
{
"path": "backend/package.json",
"sha256": "528d208cfc4fecf4e9e6ad3adc1c0c76c2c78fa4fd4f241edbffe6c598e6c280"
},
{
"path": "backend/src/services/traffic-flow-ingest.ts",
"sha256": "2bd7e8478631e099f3ba9aa096975f9be2a599824e8cc0c7f5423b8307aa88fa"
},
{
"path": "backend/src/services/traffic-flow-collector-worker.ts",
"sha256": "3e9262fe5d52fa20bd22caa8999cfac4c13cbea9f6a3325fdcc8d435ca8100f1"
},
{
"path": "backend/src/services/traffic-flow-worker-bootstrap.mjs",
"sha256": "63d37455efc8490d6aea9d7ad4ab8aca2eaeba9e9eff90a72c66a60217b81b84"
},
{
"path": "backend/src/services/traffic-flow-drain-protocol.ts",
"sha256": "b0be6fd3858bb1268840922012ab6eda26b3b34e383615e08f7997f8ff0b3f83"
},
{
"path": "backend/src/services/traffic-flow-worker-lifecycle.ts",
"sha256": "5dc5215b5f25c9ae3c786b6c0486f28d078919fd7fd0a06b63c4ed2a559a7ddd"
},
{
"path": "backend/src/services/traffic-flow-worker-shutdown.ts",
"sha256": "231131f79e720e5ec7d6f9fe3937d45641263b1df51f83f70b0383bf72dd5909"
},
{
"path": "backend/src/services/traffic-flow-write-transaction.ts",
"sha256": "1b044f326d0fe6e1383a225562e1950b9638a7084bbe054a90f4dd0b3989a3ec"
},
{
"path": "backend/src/services/traffic-flow-engine.ts",
"sha256": "42a346d71aff5307fa65ed5ef3e047fbfa170dd09d05eb933c98b2b6aa306f18"
}
]
}