GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — (6/9) Code graph indexes a project repository nested in an ignoring folder by Obed0101 · Pull Request #133 · MendCode/MendCode

Conversation

@Obed0101

@Obed0101 Obed0101 commented Nov 10, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Part 6 of 9, stacked on the previous part. Its diff is only this change.

CHANGELOG

  • The code graph now covers a project's own git repository inside a folder that ignores it (a workspace holding the app's repo), so graph searches find that code instead of answering that nothing matches.

Weight: walk measured A/B, 5 runs, median: MendCode repo 3546 files 58 ms before and after; one extra stat only per ignored directory. A folder with a nested repo now indexes it (that is the fix).

Checks: typecheck clean at this head; the full suite passed on the top of the stack (16240 pass).


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Obed0101
Code graph: a project's own git repository inside a folder that ignor…
785277d
…es it is indexed under its own ignore files
@Obed0101

Obed0101 commented Nov 10, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

MendCode: @Obed0101's MendCode worked on this pull request on one of its devices; released 2026-11-10 19:25 UTC.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Obed0101 Obed0101 mentioned this pull request Nov 10, 2026
(7/9) No nearby AGENTS.md on reads in a session without instruction files #134
Merged
Obed0101
Obed0101 commented Nov 10, 2026
View reviewed changes

@Obed0101 Obed0101 left a comment

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MendCode review

No findings · nothing in this change was confirmed as a problem
head 785277dbae21

Merge risk: 🟢 Low · The change is confined to directory selection and ignore inheritance in the shared walker, without changing graph schemas or public interfaces. A regression would affect graph coverage or indexing eligibility for projects containing ignored nested repositories.
Change: Bug fix · Review effort: 1/5, about 5 minutes

The change indexes otherwise ignored directories when they contain their own .git entry, applying the nested repository’s ignore rules independently of the outer project. It adds a focused regression test and changelog entry; no introduced defects were found in the scoped review. Risk is low, and verification was by source inspection only—tests were not run.
Readers: 3 code files no reader could read went to the review pass whole (the diff is small: one reader call costs more than the readers' share of this review's cap, so the review pass reads it).
Stacked on #132: only this pull request's own commits since #132's head 43a0917.

Walkthrough

The source walker now checks ignored directories for a .git entry instead of always excluding them. Matching directories are queued with an empty inherited-ignore list, allowing their own .gitignore files to control discovery. Existing hard exclusions, symlink handling, file-size limits, cancellation checks, and file-count limits remain unchanged. The behavior reaches index refreshes, drift detection, and automatic indexing size checks through their existing walker calls.

Changes

Layer / files Summary
Source discovery
packages/codegraph/src/walk.ts
Discover ignored nested repositories and traverse them without inheriting the outer project’s ignore rules.
Regression coverage
packages/codegraph/test/reliability.test.ts
Verify that nested repository symbols are searchable while its generated directory and an ordinary ignored directory remain excluded.
Release documentation
CHANGELOG.md
Document graph discovery of a project repository ignored by its enclosing workspace.
Pre-merge checks: ✅ 3 passed
Check Status Explanation
Title ✅ Passed The title accurately describes the nested-repository discovery fix.
Description ✅ Passed The description explains the behavior and user-visible motivation, and reports traversal measurements, a head typecheck, and full-suite results at the top of the stack. Those execution results were supplied by the PR and were not independently verified in this read-only review.
Out of scope ✅ Passed All three changed files directly implement, test, or document the stated fix; no unrelated changes appear in this stacked diff.
Review details
  • Files reviewed: 3 · 24 changed lines · estimated review effort 1/5, about 5 minutes
  • Profile: normal · at most 8 inline comments
  • Verification: the review pass raised no candidate findings, so no separate pass was needed
  • Cost: 94,055 tokens in (74,880 from the provider's cache) · 1,156 out
  • Readers: 3 code files no reader could read went to the review pass whole (the diff is small: one reader call costs more than the readers' share of this review's cap, so the review pass reads it).
  • Stacked on #132: only this pull request's own commits since #132's head 43a0917.

Performance (perf-attrib, base 43a0917 against head 785277d)

perf-attrib: igual: nothing above the measured noise

base 43a091792e8326c6f060a3272eaf65bad31d5590 (43a09179) vs cand 785277dbae21b3f364b365ed6e78e02fd6c08280 (785277db, cached build), median of 2 faux-engine session(s) per side; flagged = beyond the noise measured on 18 base-vs-base runs (x1.5).

metric base cand diff
tui.after.fp_mb 57.2 57.1 -0.1
tui.after.peak_mb 73.2 73.1 -0.1
tui.ready.fp_mb 55 54.8 -0.2
tui.ready.peak_mb 73.2 73.1 -0.1
tui.rest.fp_mb 56.7 56.4 -0.3
tui.rest.peak_mb 73.2 73.1 -0.1
tui.after.rss_mb 136 137.4 +1.4
tui.ready.rss_mb 114 114.1 +0.1
tui.rest.rss_mb 130.6 137.3 +6.7 UP
tui.after.heap.extra_b 6734934 6849589 +114655
tui.after.heap.objects 240735 240848 +113
tui.after.heap.protected 19 19 0
tui.after.heap.size_b 24393542 24496853 +103311
tui.ready.heap.extra_b 2895000 2895002 +2
tui.ready.heap.objects 216483 216483 0
tui.ready.heap.protected 18 18 0
tui.ready.heap.size_b 19274984 19274682 -302
tui.rest.heap.extra_b 4624658 4669442 +44784
tui.rest.heap.objects 237659 237666 +7
tui.rest.heap.protected 18 18 0
tui.rest.heap.size_b 22012850 22059906 +47056
tui.rest.js_code_b 5833499 5879520 +46021
tui.rest.js_live_b 19238183 19238197 +14
tui.cpu_ms.after 6061 6034 -27
tui.cpu_ms.ready 363 365 +2
tui.cpu_ms.rest 541 543 +2
binary.bytes 72290528 72290528 0
disk.bytes 4111 4115 +4
disk.bytes_per_session 2056 2058 +2

JS object types that rose (count):

  • tui.after.heap.type.Structure: 16474 -> 16510 (+36)
  • tui.after.heap.type.SQLStatement: 79 -> 88 (+9)
  • tui.after.heap.type.Object: 38152 -> 38158 (+6)
  • tui.after.heap.type.StructureChain: 91 -> 93 (+2)

JS heap bytes by constructor that rose:

  • tui.rest.ctor.native:Blob.bytes: 1739095 -> 1739300 (+205)
  • tui.rest.ctor.object:ModuleRecord.bytes: 5502808 -> 5502928 (+120)

Modules loaded at start: 230 -> 230, 4631287 -> 4631407 bytes of chunks; chunk sizes only in cand: [4421], only in base: [4301] (chunk names are hashes: the list says which changed in size, not by what name)

Reference (skill, 2026-11-03, real model): footprint 64 ready / 66 after / peak 80 MB, 2.6 KB per session. This run (faux engine, whole process tree): 54.8 / 57.1 / peak 73.1 MB, 2058 B per session.

Files (3)
  • CHANGELOG.md
  • packages/codegraph/src/walk.ts
  • packages/codegraph/test/reliability.test.ts

Comment @mendcode review to review again · @mendcode pause / resume · reply to a finding with explain, fix or learn · settings in .mendcode/review.yaml

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Base automatically changed from beta-pr/5-dream-retry to beta November 10, 2026 19:25
@Obed0101
Obed0101 merged commit c9bd7bb into beta Nov 10, 2026
10 of 11 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@Obed0101
Obed0101 deleted the beta-pr/6-graph-nested-repos branch November 10, 2026 19:25
@Obed0101 Obed0101 mentioned this pull request Nov 10, 2026
v0.0.14 #142
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@Obed0101
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.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.