fix(review): harden changed-files summary rendering - #3990
Conversation
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Caution 🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥 🛑 Gittensory review result - fixes requiredReview updated: 2026-07-07 11:09:13 UTC
🛑 Suggested Action - Manual Review
Why this is blocked
CI checks failing
Review context
Contributor next steps
Signal definitions
🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
❌ 51 Tests Failed:
View the top 3 failed test(s) by shortest run time
View the full list of 48 ❄️ flaky test(s)
To view more test analytics, go to the Test Analytics Dashboard |
1a7df9b to
8988d2f
Compare
8988d2f to
dc9e0a0
Compare
Motivation
Description
MAX_CHANGED_FILE_DIFF_ROWSandMAX_CHANGED_FILES_DIFF_BODY_LENGTHto bound per-file rendering.Testing
npx vitest run test/unit/changed-files-summary-collapsible.test.ts --pool=forks --reporter=dotand the modified tests passed locally (21 tests passed in that file).npm run typecheckcompleted successfully with no TypeScript errors.git diff --checkproduced no whitespace/conflict errors in the working tree.npm run test:coveragedid not complete cleanly in this environment due to unrelated timeouts in other test suites, and a targeted coverage remapping run failed with a coverage tool error (TypeError: jsTokens is not a function) during report generation; these issues are external to the change and unrelated to the new logic.npm audit --audit-level=moderatecould not reach the registry audit endpoint (received HTTP 403) in this environment, so the local audit did not complete.Codex Task