Skip to content

Conversation

@connerohnesorge
Copy link
Owner

Replaces filepath.WalkDir with os.ReadDir to reduce syscalls and improve startup time on large repos.

Fixes issue with slow startup on large monorepos.
Benchmarked ~43% improvement on synthetic large repo.

connerohnesorge and others added 16 commits January 31, 2026 16:14
Implement automatic discovery of spectr directories across nested
repositories, enabling monorepo support for list, validate, and view
commands.

Changes:
- Add internal/discovery package with FindSpectrRoots function
- Add spectr discovery command for listing discovered roots
- Update list command to aggregate items from all discovered roots
- Update validate command to validate across all roots
- Update view command to show aggregated dashboard
- Add FormatMode type for cleaner multi-root formatting
- Fix lint errors (optimize-operands-order, goconst, etc.)
- Add proposal for relative line numbers feature (gh#364)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
When items come from multiple spectr roots (e.g., monorepo), the ID
column now displays "[project] id" format to show which subproject
each change/spec belongs to. Also fixes edit path construction to
handle nested project paths correctly.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 2, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch perf/optimize-discovery-traversal

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Base automatically changed from add-multi-repo-discovery to main February 3, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant