mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
- Create `docs/onboarding-audit-2025-01-27.md` with audit findings. - Update `CONTRIBUTING.md` to recommend `npm ci`, mention test sharding, and update devcontainer details. - Update `README.md` to prioritize `npm ci`. - Update `.devcontainer/devcontainer.json` to install Playwright browsers and GitHub CLI. Co-authored-by: PR0M3TH3AN <[email protected]>
1.5 KiB
1.5 KiB
Onboarding Audit Report - 2025-01-27
Summary
The onboarding process defined in README.md and CONTRIBUTING.md was simulated in a clean environment. The core steps (npm ci, npm run build) function correctly. Unit tests pass but are long-running, which may cause timeouts in some environments. The Dev Container configuration was analyzed and found to be minimal, missing dependencies for visual tests.
Steps Performed
- Clean Install:
npm ci- Result: Success. Dependencies installed correctly.
- Build:
npm run build- Result: Success. Tailwind CSS generated at
css/tailwind.generated.css.
- Result: Success. Tailwind CSS generated at
- Formatting:
npm run format- Result: Success.
- Unit Tests:
npm run test:unit- Result: Timed Out (after 400s in simulation).
- Mitigation: Ran
npm run test:unit:shard1which passed successfully. - Observation: Full suite takes significant time; sharding is recommended for local iteration.
- Dev Container Analysis:
devcontainer.jsonprovides Node.js environment.- Missing: Playwright browser binaries (required for
npm run test:visual). - Missing: GitHub CLI (useful for workflow management).
Recommendations implemented in this PR
- Documentation:
- Updated
CONTRIBUTING.mdto emphasizenpm ciand mention unit test sharding. - Simplified
README.mdsetup instructions.
- Updated
- Dev Container:
- Added
npx playwright installtopostCreateCommand. - Added GitHub CLI feature.
- Added