Files
MikrotikManager/docs/mcp-poll-normal-startup-acceptance-20261029.json
T

413 lines
13 KiB
JSON

{
"date": "2026-10-29",
"fullPlanComplete": false,
"remainingDirectionCount": 7,
"scope": "Compiled public MCP poll AFTER the same actual initDatabase used before production API startup; isolated disposable database",
"permanentCommand": "npm --prefix backend run test:mcp:poll-memory-bootstrap:pg",
"localWindowsAccepted": true,
"targetLinuxNormalStartupAccepted": true,
"targetLinuxColdAccepted": false,
"wholeInstallation2GbAccepted": false,
"local": {
"log": "tmp/mcp-poll-bootstrap-current-owned-20261029.log",
"runtime": {
"actualDefaultPublicRegistry": true,
"actualRuntimeHumanApprovalRequiredInAutonomousMode": true,
"originalSealedExpiryPreserved": true,
"actualOperationIdentityBound": true,
"actualNativeGets": 4,
"dispatchesAfterConsumedAdmission": 4,
"innerPlanVersion": 2,
"maintenanceEffects": 17,
"completedPublications": 21,
"journalRows": 52,
"persistedReadAndVerifyNoMutation": true,
"idempotentApplyNoNewNativeOrCharge": true,
"readOnlyAndScopeAndJsonDeniedBeforeNative": true,
"directServiceRequiresInheritedGuard": true,
"safeSnapshotOnly": true,
"elapsedMs": 42737
},
"memory": {
"compiledProductionApp": true,
"tsxLoaded": false,
"nodeVersion": "v25.5.0",
"platform": "win32",
"arch": "x64",
"execArgv": [
"--max-old-space-size=192",
"--max-semi-space-size=16"
],
"heapLimitBytes": 251658240,
"heapLimitMiB": 240,
"catalogueInitialization": "actual-initDatabase",
"bootstrapElapsedMs": 2124.0983,
"diagnosticOnly": false,
"cpu": {
"user": 26578000,
"system": 12750000
},
"before": {
"rss": 51400704,
"heapTotal": 6426624,
"heapUsed": 5304992,
"external": 2065620,
"arrayBuffers": 19351
},
"appReady": {
"rss": 224239616,
"heapTotal": 165302272,
"heapUsed": 133253560,
"external": 4048885,
"arrayBuffers": 89314
},
"after": {
"rss": 249356288,
"heapTotal": 184721408,
"heapUsed": 134234264,
"external": 4580095,
"arrayBuffers": 572662
},
"sampledPeak": {
"rss": 250327040,
"heapTotal": 187686912,
"heapUsed": 158976704,
"external": 4851922,
"arrayBuffers": 844489
},
"samples": 183,
"sampleIntervalMs": 250,
"maximumSamples": 10000,
"maxRssKiB": 246960,
"candidateBackendRssBudgetBytes": 536870912,
"elapsedMs": 47020.8264,
"currentMigrations": 41,
"actualNativeGets": 4,
"completedPublications": 21,
"journalRows": 52,
"schedulerStarted": false,
"productionDatabaseTouched": false,
"wholeInstallation2GbAcceptance": false
},
"exitCode": 0
},
"unchangedColdProfile": "npm --prefix backend run test:mcp:poll-memory:pg",
"coldEvidenceReplaced": false,
"clockOrDeadlineExtended": false,
"sourcePins": [
{
"path": "backend/src/services/server-poll-journal.ts",
"sha256": "50028314cf0d9af7cf4bd869d3e32eff4e229c2e4a4256fc8c6080873146a3cf"
},
{
"path": "backend/src/services/server-poll-journal-snapshot.owned.test.ts",
"sha256": "3bbff4dfa7129c4994e8ec7fb63a3ccf58b4d9c9ddc5f7158aa92942cd26d250"
},
{
"path": "backend/src/services/server-poll-memory.owned.test.ts",
"sha256": "10f0ee06a8e8b5fe8364ff7f3725e0972e4ff08958f507aaf7b22283febc5e77"
},
{
"path": "backend/scripts/test-mcp-postgres.mjs",
"sha256": "2bfd4f9dc17d65bc4fc8832d179b40f9a5d53dcbdd8a380a8e418bdd2c084965"
},
{
"path": "backend/package.json",
"sha256": "65fb7949ba8862d21b72ce2b93976f74f6b5c041d21161ecf07d64a21897c310"
},
{
"path": "backend/src/db/bootstrap.ts",
"sha256": "58e840aaf02bc561bed0dd211509bcc6b4471f74450ec07f144dda11f72e729f"
}
],
"validation": {
"testRootTypecheckExitCode": 0,
"typesLog": "tmp/mcp-poll-bootstrap-current-types-20261029.log",
"lintExitCode": 0,
"lintLog": "tmp/mcp-poll-bootstrap-current-eslint-20261029.log"
},
"testTargetCpu": {
"baselineCpu": {
"intervalSeconds": 5.0098223951645195,
"hostBusyPercent": 9.8,
"iowaitPercent": 0,
"stealPercent": 0,
"containers": [
{
"service": "frontend",
"percentOfOneCpu": 0
},
{
"service": "backend",
"percentOfOneCpu": 0.2501323921878032
},
{
"service": "portal",
"percentOfOneCpu": 5.667009770341121
},
{
"service": "postgres",
"percentOfOneCpu": 0.9827695734276218
}
],
"samplingScope": "Short read-only baseline of old installation, no owned workload; not performance acceptance"
},
"readOnly": true,
"dockerNcpu": 1,
"hostCpuCount": 1,
"processAffinityCpus": 1,
"cgroupCpuMax": null,
"cgroupCpuStat": "usage_usec 364435526561\nuser_usec 304840382081\nsystem_usec 59595144480\nnice_usec 1183566\nnr_periods 0\nnr_throttled 0\nthrottled_usec 0\nnr_bursts 0\nburst_usec 0\n",
"loadavg": "2.63 2.89 2.91 3/226 1761115\n",
"existingServices": [
{
"service": "frontend",
"cpu": {
"NanoCpus": 0,
"CpuQuota": 0,
"CpuPeriod": 0,
"CpusetCpus": "",
"CpuShares": 0
}
},
{
"service": "backend",
"cpu": {
"NanoCpus": 0,
"CpuQuota": 0,
"CpuPeriod": 0,
"CpusetCpus": "",
"CpuShares": 0
}
},
{
"service": "portal",
"cpu": {
"NanoCpus": 0,
"CpuQuota": 0,
"CpuPeriod": 0,
"CpusetCpus": "",
"CpuShares": 0
}
},
{
"service": "postgres",
"cpu": {
"NanoCpus": 0,
"CpuQuota": 0,
"CpuPeriod": 0,
"CpusetCpus": "",
"CpuShares": 0
}
}
],
"baselineUnchanged": true,
"remoteFileChanges": 0,
"dockerChanges": 0
},
"cpuInterpretation": "One vCPU. Five-second old-installation sample9.8% busy,0iowait,0steal; load average2.63 alone is not evidence of CPU saturation. No causal attribution or sustained-load acceptance.",
"rejectedOptimization": "docs/mcp-poll-owned-validation-review-20261029.json",
"limitations": [
"Original migrations-only cold143 gate remains open",
"One normal-startup run on Windows and one on target Linux; sustained/concurrent load and current migrations-only cold poll remain unaccepted",
"Scheduler, GeoIP and active collector jobs are intentionally not started in this component profile",
"Whole-installation sustained2GB/no-swap, capacity336 and current global restore/profile matrix remain open"
],
"productionDatabaseTouched": false,
"realChrTouched": false,
"deployed": false,
"targetLinux": {
"runtimeAccepted": true,
"memoryCoLoadGateAccepted": false,
"rawReport": "tmp/mcp-poll-linux-bootstrap-v11-stand-20261029.json",
"log": "tmp/mcp-poll-linux-bootstrap-v11-stand-node-20261029.log",
"archiveSha256": "ba5174386427b64a63334634588bb1b812c8e7a3019fb301f955eb5f52d05bf4",
"runtime": {
"actualDefaultPublicRegistry": true,
"actualRuntimeHumanApprovalRequiredInAutonomousMode": true,
"originalSealedExpiryPreserved": true,
"actualOperationIdentityBound": true,
"actualNativeGets": 4,
"dispatchesAfterConsumedAdmission": 4,
"innerPlanVersion": 2,
"maintenanceEffects": 17,
"completedPublications": 21,
"journalRows": 52,
"persistedReadAndVerifyNoMutation": true,
"idempotentApplyNoNewNativeOrCharge": true,
"readOnlyAndScopeAndJsonDeniedBeforeNative": true,
"directServiceRequiresInheritedGuard": true,
"safeSnapshotOnly": true,
"elapsedMs": 87289
},
"memory": {
"compiledProductionApp": true,
"tsxLoaded": false,
"nodeVersion": "v22.23.3",
"platform": "linux",
"arch": "x64",
"execArgv": [
"--max-old-space-size=192",
"--max-semi-space-size=16"
],
"heapLimitBytes": 251658240,
"heapLimitMiB": 240,
"catalogueInitialization": "actual-initDatabase",
"bootstrapElapsedMs": 4213.668598,
"diagnosticOnly": false,
"cpu": {
"user": 34207688,
"system": 3546219
},
"before": {
"rss": 48852992,
"heapTotal": 5873664,
"heapUsed": 5037456,
"external": 1943760,
"arrayBuffers": 19347
},
"appReady": {
"rss": 229814272,
"heapTotal": 157200384,
"heapUsed": 120773464,
"external": 3990023,
"arrayBuffers": 172272
},
"after": {
"rss": 258600960,
"heapTotal": 183431168,
"heapUsed": 147795696,
"external": 4254897,
"arrayBuffers": 391704
},
"sampledPeak": {
"rss": 259129344,
"heapTotal": 184811520,
"heapUsed": 155482824,
"external": 4995046,
"arrayBuffers": 1129291
},
"samples": 362,
"sampleIntervalMs": 250,
"maximumSamples": 10000,
"maxRssKiB": 256328,
"candidateBackendRssBudgetBytes": 536870912,
"elapsedMs": 99982.11077300001,
"currentMigrations": 41,
"actualNativeGets": 4,
"completedPublications": 21,
"journalRows": 52,
"schedulerStarted": false,
"productionDatabaseTouched": false,
"wholeInstallation2GbAcceptance": false
},
"observedProcessPeakMiB": 250.3203125,
"sampledWindow": {
"samples": 93,
"elapsedMs": 100522,
"hostMemTotalBytes": 2069721088,
"minHostAvailableBytes": 466923520,
"maxObservedContainerUsageIncludingCacheBytes": 1205563392,
"containerIdentityAndStartStable": true,
"allObservedRunning": true,
"anyObservedOomKilled": false,
"allCgroupV2MetricsAvailable": true,
"pswpinDelta": 13663,
"pswpoutDelta": 33765,
"oom_killDelta": 0,
"acceptancePassed": false,
"scope": "sampled evidence only; correlate with workload, limits, errors and latency; unsampled peaks are unknown"
},
"resourceStates": {
"app": {
"Running": false,
"ExitCode": 0,
"OOMKilled": false,
"StartedAt": "2026-10-29T15:32:49.149941834Z",
"FinishedAt": "2026-10-29T15:34:29.954528719Z",
"configuredNanoCpus": 1000000000,
"cpuTotalNanoseconds": 0,
"cpuThrottling": {
"periods": 0,
"throttled_periods": 0,
"throttled_time": 0
}
},
"pg": {
"Running": true,
"ExitCode": 0,
"OOMKilled": false,
"StartedAt": "2026-10-29T15:32:46.445140122Z",
"FinishedAt": "0001-01-01T00:00:00Z",
"configuredNanoCpus": 1000000000,
"cpuTotalNanoseconds": 26080300000,
"cpuThrottling": {
"periods": 946,
"throttled_periods": 0,
"throttled_time": 0
}
}
},
"cleanup": {
"ownedResourcesRemoved": true,
"baselineUnchanged": true,
"outerDirectoryRemoved": true
},
"CPUAndRamScope": "Pinned temporary Node320MiB/PG192MiB, one CPU each, private loopback namespace; co-loaded with unchanged old installation",
"swapAttribution": "Host-wide counters increased. Per-container attribution and full-installation independence from sustained swap are not proven.",
"wholeInstallation2GbAccepted": false
},
"latestRestoredCold": {
"accepted": false,
"log": "tmp/mcp-poll-restored-current-cold-owned-20261029.log",
"exitCode": 1,
"runtimeFailure": {
"phase": "approved-apply",
"elapsedMs": 181245,
"nativeGets": 4,
"admissionChecked": 4,
"protocolErrors": 0,
"progress": {
"used_rows": 231,
"receipt_rows": 0,
"quarantine_rows": 0,
"last_stage": "publish.110",
"ack_rows": 115
},
"code": "ERR_ASSERTION"
},
"memory": {
"nodeVersion": "v25.5.0",
"platform": "win32",
"arch": "x64",
"compiledProductionApp": true,
"execArgv": [
"--max-old-space-size=192",
"--max-semi-space-size=16"
],
"heapLimitBytes": 251658240,
"catalogueInitialization": "migrations-only",
"sampledPeak": {
"rss": 258109440,
"heapTotal": 195207168,
"heapUsed": 157939048,
"external": 6661810,
"arrayBuffers": 2652124
},
"samples": 732,
"maxRssKiB": 252500,
"candidateBackendRssBudgetBytes": 536870912,
"elapsedMs": 184110.6184,
"diagnosticOnly": false,
"cpu": {
"user": 98000000,
"system": 49766000
},
"workloadAccepted": false,
"wholeInstallation2GbAcceptance": false
},
"automaticReplay": false,
"interpretation": "Restored original journal runtime also failed. Combined candidate is retired, but it is not established as the cause of slow cold performance. Earlier113202ms result is not repeatability acceptance."
}
}