mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-06 12:52:26 +00:00
perf: bound DM subsystem network concurrency & fix CI lint
- Replaced unbounded `Promise.all` with `pMap` and `RELAY_BACKGROUND_CONCURRENCY || 3` in `js/nostr/dmSignalEvents.js` and `js/services/dmNostrService.js` to prevent network saturation. - Updated `scripts/check-hex.js` to exclude agent artifact directories (`perf/`, `test_logs/`, `context/`, etc.) to prevent lint failures when agents log code snippets or hex codes. - Increased `maxBuffer` in `scripts/check-hex.js` to 10MB to be robust against large matches. - Includes daily performance report and context logs. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
b8832dcae8
commit
0c5c8c5a2e
4 files changed
+23
-15
No files matched your search
@@ -1,16 +1,16 @@
|
||||
# Test Log - Perf Agent - 2026-02-17
|
||||
|
||||
## Pre-fix
|
||||
- [x] Lint check: Passed (with expected vendor warnings).
|
||||
- [x] Lint check: Passed locally (failed in CI due to `perf/` artifacts).
|
||||
- [x] DM Unit Tests: Passed.
|
||||
- [x] DM Integration Tests: Passed.
|
||||
|
||||
## Post-fix
|
||||
- [x] Lint check: Passed.
|
||||
- [x] DM Unit Tests: Passed.
|
||||
- [x] DM Integration Tests: Passed.
|
||||
## Post-fix (CI Repair)
|
||||
- [x] Lint check: Passed locally with `perf/` artifacts present (after updating exclusions).
|
||||
- [x] `npm run lint:hex`: Passed.
|
||||
|
||||
## Details
|
||||
- `npm run lint` showed `vendor/webtorrent.min.js` file size warning, which is expected/unrelated.
|
||||
- `npm run lint` showed `vendor/webtorrent.min.js` file size warning (expected).
|
||||
- `npm run test:dm:unit` passed 100%.
|
||||
- `npm run test:dm:integration` passed 100%.
|
||||
- CI Failure (lint:hex) was caused by `git grep` matching hex codes in `perf/hits-2026-02-17.txt` (which contained minified code dumps) and `test_logs/`. Added exclusions to `scripts/check-hex.js`.
|
||||
Reference in new issue
Block a user