Repository navigation
insights: reading a repo's history in one go is not charged to the per-file time budget, and the page says how many files were left without history - #41
Merged
Conversation
…r-file time budget, and the page says how many files were left without history Kit-Commit: c54cb01fa648be4c052348cf6584b82f73e3326d Kit-Only: plugins/insights
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Before and after:
Limits: a repository whose whole read is over 180 seconds, or has more than 80,000 commits, still falls back to one path at a time, so on a very large repository some files can still be left without history; the line on the page says how many.
Test:
cd plugins/insights/scripts/v15/engine/variants/views && uv run --no-project python -m unittest test_view_built test_view_mylevel test_counts(45 tests, OK)claude plugin validate .passes with the warnings it already gave.The sources this repository is published from have tests for the budget at 0 with the whole read working and failing, a git call that times out or runs past its limit, and the page line present and absent; they pass and are not shipped here.
One change. I did not edit a version, a
CHANGELOG.md,marketplace.jsonorkit.json.Nothing personal: no names, no paths from my machine, no output of my own scan, no secrets.
No version change: nothing reaches members until a release.