Skip to content
This repository was archived by the owner on Oct 11, 2026. It is now read-only.

fix: preserve ignore prefix sibling rebuilds - #179

Merged
KyleJune merged 1 commit into
mainfrom
codex/178-ignore-prefix-siblings
Oct 3, 2026
Merged

KyleJune merged 1 commit into
mainfrom
codex/178-ignore-prefix-siblings

Conversation

@KyleJune

@KyleJune KyleJune commented Oct 3, 2026 •

Copy link
Copy Markdown
Member

Summary

Configured ignore paths currently discard changes to watched siblings that merely share the same prefix. For example, ignoring ./data also suppresses rebuilds for data-next/page.tsx, database/file.ts, and data.ts.

Match only the configured path itself and its descendants, consistent with Builder's existing watch-path selection.

Changes

  • Preserve separator normalization, case-sensitive comparison, and built-in exclusions.
  • Add actual Builder watch-set and DevServer filter controls for directory/file prefix siblings, trailing slashes, exact paths, descendants, and ordinary helpers.
  • Keep fixture disposal scoped to an owned temporary directory; no live watcher or listener is started.

Testing

  • Original source: 6 control steps passed and 12 intended prefix-sibling assertions failed. The repaired fixture passes all 18 steps with sanitizers enabled.
  • Full deno task check passed.
  • Final unchanged deno task test --parallel --reporter=dot passed: 67 tests, 964 steps.
  • Ubuntu's actual CI deno task test --coverage passed: 67 tests, 964 steps.
  • The first Windows full run failed in existing child-process cleanup (child.ref() / BadResource). A focused unchanged control and one unchanged full retry passed; the original failure remains unclassified. No cleanup implementation, assertion, or sanitizer was changed.
  • Independent source/error, test/resource, and whole-change reviews are clear at final commit 2ce82c9f9c9d03c3e2cdb99354a383f1ea869826. Actual PR CI passed on Ubuntu, macOS, and Windows, plus formatting/lint, PostgreSQL template, coverage, title, and deployment checks.

Closes

Closes #178

@KyleJune

KyleJune commented Oct 3, 2026

Copy link
Copy Markdown
Member Author

Root independent final pinned review CLEAR at2ce82c9f9c9d03c3e2cdb99354a383f1ea869826/tree3514a1695600b37672b5f1cd740d4fe95515c207. Exactly two paths181+/1− match frozen source d79c1b09/test7c2da8f1 and unchanged lock349b05dd. Actual Builder watch-set assertions precede actual DevServer filter controls; exact/separator-descendant semantics preserve defaults, case and normalization. Awaited Builder disposal precedes owned fixture removal. Final owning check, unchanged parallel retry67/964 and actual Linux coverage67/964 passed; original native child.ref failure/cause retained. Declared/parsed closing[178]; source release and root adoption remain separate.

@KyleJune
KyleJune merged commit 4a97dde into main Oct 3, 2026
10 checks passed
@KyleJune
KyleJune deleted the codex/178-ignore-prefix-siblings branch October 3, 2026 07:58
KyleJune pushed a commit that referenced this pull request Oct 3, 2026
## [0.17.8](0.17.7...0.17.8) (2026-10-03)

### Bug Fixes

* preserve ignore prefix sibling rebuilds ([#179](#179)) ([4a97dde](4a97dde)), closes [#178](#178)
@github-actions

github-actions Bot commented Oct 3, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 0.17.8 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: preserve ignored-path prefix siblings

1 participant