Skip to content

Flag test-fixture components as auxiliary#11

Merged
nielsbosma merged 1 commit into
mainfrom
fix/test-fixture-auxiliary
Jun 23, 2026
Merged

Flag test-fixture components as auxiliary#11
nielsbosma merged 1 commit into
mainfrom
fix/test-fixture-auxiliary

Conversation

@nielsbosma

Copy link
Copy Markdown
Contributor

Summary

Extends the auxiliary-component path matcher in ComponentDetector to also flag hyphenated test-fixture / test-suite path segments (test-site, test-suite, testdata) as auxiliary, alongside the existing example/tests/e2e/fixtures segments.

Motivation (from the firecrawl review): apps/test-site (an Astro scraping fixture) and apps/test-suite (a Jest e2e harness) were reported with isAuxiliary=false, leaking high-confidence Astro [framework] and Jest [testing] tokens into the significant-stack hash. The existing matcher used exact segment equality, so hyphenated names did not match. They are now flagged auxiliary, consistent with examples/**.

Note: testdata/ is added to the segment list for completeness, but in practice such dirs are already excluded as vendored (vendor.yml), so the focused test covers the two hyphenated cases that actually surface as components.

Test result

96/96 passing (baseline 95 + 1 new focused test Test_fixture_and_suite_components_are_auxiliary).

Snapshots

No snapshot changes required; all *.verified.yaml snapshots remained green.

@nielsbosma
nielsbosma merged commit 69f7cf4 into main Jun 23, 2026
1 check passed
@nielsbosma
nielsbosma deleted the fix/test-fixture-auxiliary branch June 23, 2026 15:34
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