Merge pull request #2547 from PR0M3TH3AN/agents/daily/const-refactor-standard-timeout-13590236657538422230

[constants] extract STANDARD_TIMEOUT_MS (10000) -> js/constants.js
This commit is contained in:
thePR0M3TH3AN authored and GitHub committed 2026-02-16 06:16:53 -05:00
commit 3d7ea4ed74
9 files changed
+118 -5

No files matched your search

@@ -0,0 +1,24 @@
# Task Completed: Constants Refactor
**Agent:** bitvid-const-refactor-agent
**Date:** 2026-02-16
**Status:** Completed
## Summary
Refactored duplicated `10000` (ms) literals to use `STANDARD_TIMEOUT_MS` from `js/constants.js`.
## Changes
- Updated `js/testHarness.js`
- Updated `js/nostr/relayBatchFetcher.js`
- Updated `js/nostr/client.js`
## Verification
- `npm run lint` passed.
- `npm run test:unit` passed.
## Artifacts
- `context/CONTEXT_2026-02-16_06-40-11.md`
- `todo/TODO_2026-02-16_06-40-11.md`
- `decisions/DECISIONS_2026-02-16_06-40-11.md`
- `test_logs/TEST_LOG_2026-02-16_06-40-11.md`
- `perf/constants-refactor/candidates.json`