mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-10 06:43:00 +00:00
feat(ai): Load Test Script & Report (agent)
- Updated scripts/agent/load-test.mjs to handle empty reports. - Added scripts/agent/load-test.mjs and load-test-relay.mjs to tracking. - Generated artifacts/load-report-20260128.json. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
661f501a15
commit
09187194d8
3 files changed
+323
No files matched your search
@@ -466,6 +466,13 @@ function generateReport() {
|
||||
report.remediation.push('Mark as requires-security-review. Check if running in a constrained environment or if crypto implementation is suboptimal.');
|
||||
}
|
||||
|
||||
if (report.bottlenecks.length === 0) {
|
||||
report.bottlenecks.push('None detected');
|
||||
}
|
||||
if (report.remediation.length === 0) {
|
||||
report.remediation.push('None required');
|
||||
}
|
||||
|
||||
// Report File
|
||||
const dateStr = new Date().toISOString().slice(0, 10).replace(/-/g, ''); // YYYYMMDD
|
||||
const filename = `load-report-${dateStr}.json`;
|
||||
|
||||
Reference in new issue
Block a user