mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
- 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. - Updated `js/services/exploreDataService.js` to trigger immediate data refresh (`refreshWatchHistoryTagCounts` and `refreshTagIdf`) when visibility state changes to visible, fixing a unit test failure. - Includes daily performance report and context logs. Co-authored-by: PR0M3TH3AN <[email protected]>
1.3 KiB
1.3 KiB
Onboarding Audit Report
Date: 2025-02-11
Summary
The onboarding process was audited by simulating a fresh checkout and running the documented commands. All steps passed successfully. To further improve reliability, strict Node version enforcement was added.
Environment
- Node Version: v22.22.0
- NPM Version: 11.7.0
- OS: Linux (Sandbox)
Commands Executed
npm ci- PASS- Clean install of dependencies.
- Added 424 packages.
npm run build:css- PASS- Built Tailwind CSS successfully.
npm run format- PASS- Checked formatting for CSS, HTML, MD, Config.
- No files were modified (compliance verified).
Configuration Checks
- package.json:
engines.nodeis set to>=22. - .devcontainer/devcontainer.json: Uses
mcr.microsoft.com/devcontainers/javascript-node:22, consistent withpackage.json. - Dockerfile: Uses
mcr.microsoft.com/playwright:v1.58.0-jammy. Verified compatible with Node 22 requirement.
Improvements Implemented
- Enforce Node Version: created
.npmrcwithengine-strict=true. This ensures developers are using the required Node version (>=22) duringnpm install/ci. - Documentation: Updated
README.mdandCONTRIBUTING.mdto explicitly mention the Node version requirement and its enforcement.