Skip to content

insights: the scan cannot loop forever on an odd path - #19

Merged
teocns merged 1 commit into
mainfrom
insights-scan-cannot-hang
Nov 12, 2026
Merged

teocns merged 1 commit into
mainfrom
insights-scan-cannot-hang

Conversation

@teocns

@teocns teocns commented Nov 12, 2026

Copy link
Copy Markdown
Member

What changes for a member

  • The scan could run forever when a session had written to a path that starts with //: the step that looks for the repo above a file never stopped walking up. It now stops at the top, and odd targets (//…, /dev/null, shell variables, URLs) are not treated as folders.
  • The same walk-up was checked everywhere in the scan; six more places that could not stop on some systems are fixed.
  • One session log that takes too long (5 minutes) is skipped and reported as "couldn't check"; the rest of the run carries on.

Known limits

  • On Windows the time limit applies between lines of a log, not inside one line.

Why this is its own pull request

  • The first pull request of this stack introduced the path that reached the loop; this one closes it. Merge the stack together.

No version change: nothing reaches members until a release.

…d6bf)

Kit-Commit: 960b75d1037656e4c2c4bf530dc992d130cb389d
Kit-Only: plugins/insights
@teocns
teocns changed the base branch from insights-no-person-in-code to main November 12, 2026 11:15
@teocns
teocns merged commit 6fa9177 into main Nov 12, 2026
@teocns teocns mentioned this pull request Nov 12, 2026
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