Merge pull request #2156 from PR0M3TH3AN/telemetry-aggregator-update-15409738198546473637

Update telemetry aggregator to parse test_output.txt
This commit is contained in:
thePR0M3TH3AN authored and GitHub committed 2026-02-07 09:27:28 -05:00
commit 4f13d49f66
2 files changed
+18 -7

No files matched your search

+17 -6
View File
@@ -1,13 +1,24 @@
[
{
"fingerprint": "e1da49a7",
"title": "load defers permission-required decrypts until explicitly enabled",
"fingerprint": "00257328",
"title": "Load Test Bottleneck: Cryptographic Bottleneck (Avg Sign Time 5.87ms > 5ms)",
"count": 1,
"sources": [
"unit-test:test_unit.log"
"load-test:load-report-20260204.json"
],
"severity": "High",
"stack": "TestContext.<anonymous> (file://$REPO/tests/hashtag-preferences.test.mjs:300:14)\n async Test.run (node:internal/test_runner/test:1054:7)\n async Test.processPendingSubtests (node:internal/test_runner/test:744:7)\n ...\n# Subtest: interest and disinterest lists remain exclusive",
"owner": "QA Team"
"severity": "Medium",
"stack": "Bottleneck: Cryptographic Bottleneck (Avg Sign Time 5.87ms > 5ms)\nRemediation: Client-side event signing is slow. Review cryptographic library (nostr-tools) usage or client hardware capabilities.",
"owner": "P2P Team"
},
{
"fingerprint": "bc06bea0",
"title": "Load Test Bottleneck: Cryptographic Bottleneck (Avg Sign Time 5.53ms > 5ms)",
"count": 1,
"sources": [
"load-test:load-report.json"
],
"severity": "Medium",
"stack": "Bottleneck: Cryptographic Bottleneck (Avg Sign Time 5.53ms > 5ms)\nRemediation: Client-side event signing is slow. Review cryptographic library (nostr-tools) usage or client hardware capabilities.",
"owner": "P2P Team"
}
]
+1 -1
View File
@@ -60,7 +60,7 @@ function suggestOwner(stack) {
function findUnitTestLogs() {
const logs = [];
if (fs.existsSync('.')) {
const rootFiles = fs.readdirSync('.').filter(f => f.match(/^test_unit.*\.log$/) || f === 'test_output.log');
const rootFiles = fs.readdirSync('.').filter(f => f.match(/^test_unit.*\.log$/) || f === 'test_output.log' || f === 'test_output.txt');
logs.push(...rootFiles);
}