Repository navigation
fix: bound table rendering, glob expansion and e2e server reuse - #569
Conversation
- Render markdown tables larger than 2,000 cells (rows x columns) in the document view instead of the comparison table. - analyze_sources.py: expand glob patterns with an iterative walk that does not follow directory symlinks under ** and stops after 10,000 matches. Applied to all three vendored copies. - Playwright: reuse an existing dev server only outside CI. Fixes #557 Fixes #558 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This comment has been minimized.
This comment has been minimized.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Caution Review failedThe pull request is closed. No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
SonarCloud's "Run tests with coverage" step verifies the full vitest suite passes under coverage; it failed on one race in |
Existing test changed without justification — human attention neededThe If the test really is wrong, a human should make that call, or the fix should carry a |
Resolved — the `needs-human-review` hold was lifted; dev-lead has picked this item up. Click to expand the prior hold notice.dev-lead is withholding action on this item. It is labeled To re-enable automated pickup: remove the |
…as CI - iter_glob: treat symlink loops and unreadable entries as non-directories instead of raising, honour a trailing separator (directories only), follow `.`/`..` segments after a wildcard, and match nothing for an empty pattern. Same in all three copies. - Playwright: any non-empty CI value (e.g. CI=1) disables server reuse. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Advisory bots were rate-limited; auto-approval is withheld until they recover. pr-review-sweep will re-review this PR after 2026-11-03T16:55:10Z. |
|
No description provided. |
|
Codex review failed to complete — this is an operational notice with no code findings. The review can be retriggered with |
|
You have reached your Codex usage limits. You can see your limits in the Codex usage dashboard. |
Dev-Lead — fix-bot-comment (no-changes)Agent reasoning |
|
You have reached your Codex usage limits. You can see your limits in the Codex usage dashboard. |
|
Advisory bots were rate-limited; auto-approval is withheld until they recover. pr-review-sweep will re-review this PR after 2026-11-03T22:33:52Z. |
|
No description provided. |
|
Original reply, kept for the record (unverified — it does not count as a fix):
|
|
Advisory bots were rate-limited; auto-approval is withheld until they recover. pr-review-sweep will re-review this PR after 2026-11-03T23:03:40Z. |
|
No description provided. |
This reverts commit 293348a. The Playwright server-reuse change is in scope for this PR: the PR description lists it as the third of its three grouped fixes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|



Summary
Three small hardening fixes, grouped to keep review overhead down.
isLosslessTablenow rejects tables overMAX_TABLE_CELLS(2,000 rows x columns), so large or very wide tables fall back to the document view instead of being padded out cell by cell. Fixes ComparisonTable: limit the size of tables rendered from agent output #557.analyze_sources.pyglob expansion.glob.glob(..., recursive=True)is replaced byiter_glob, an iterative walk with the same*,?,[...],**, hidden-name, trailing-separator and..rules (symlink loops and unreadable entries are skipped, as glob does) that does not follow directory symlinks under**and stops after 10,000 matches (with a warning on stderr). Applied identically to all three vendored copies (_bmad/core/bmad-distillator,_bmad/core/skills/bmad-distillator,.claude/skills/bmad-distillator). Fixes bmad-distillator analyze_sources: recursive glob is slow on trees with directory symlinks #558.CIis unset or empty, so CI (CI=true,CI=1, ...) always starts its own.Notes
.bak, so this fix lasts until the next installer update unless it is also fixed upstream.files-manifest.csvis left unchanged so the installer still sees these files as locally modified.Testing
npm run typecheck,lint,format:checknpm run test:coveragepyteston each distillator copy (Python 3.9 and 3.12)glob.globon plain trees, trailing separators,..segments, symlink loops and the capiter_glob: 1 match in 0.06 s.glob.glob: still running when stopped at 8 s🤖 Generated with Claude Code
Summary by CodeRabbit
Problem
See the linked issue.
Risk
Low — 10 file(s) changed; no CI- or runtime-critical paths touched.
Test plan
Tests added/updated:
.claude/skills/bmad-distillator/scripts/tests/test_analyze_sources.py,_bmad/core/bmad-distillator/scripts/tests/test_analyze_sources.py_bmad/core/skills/bmad-distillator/scripts/tests/test_analyze_sources.py. Verification:bash scripts/dev-lead-lint.sh(shellcheck --severity=warning) ran pre-commit; the bats suite runs in CI.Rollback
Revert this PR. No non-revertible side effects (no tags, migrations, or external state).
Monitoring
This PR's CI checks (Lint + bats) are the success/regression signal.