Skip to content

feat: exclude aibridge/fixtures directory from scripts/check_emdash.sh#24571

Merged
pawbana merged 2 commits into
pb/aibridge-code-move-fixesfrom
pb/aibridge-code-move-emdash-exclude
Apr 22, 2026
Merged

feat: exclude aibridge/fixtures directory from scripts/check_emdash.sh#24571
pawbana merged 2 commits into
pb/aibridge-code-move-fixesfrom
pb/aibridge-code-move-emdash-exclude

Conversation

@pawbana
Copy link
Copy Markdown
Contributor

@pawbana pawbana commented Apr 21, 2026

Adds exception to emdash check to exclude /aibridge/fixtures directory.

Copy link
Copy Markdown
Contributor Author

pawbana commented Apr 21, 2026

@pawbana pawbana force-pushed the pb/aibridge-code-move-import-change branch from 047986b to d3e72e7 Compare April 21, 2026 14:55
@pawbana pawbana force-pushed the pb/aibridge-code-move-emdash-exclude branch 2 times, most recently from d0a4ba9 to fe4e775 Compare April 21, 2026 15:07
@pawbana pawbana force-pushed the pb/aibridge-code-move-import-change branch from d3e72e7 to 8be7bc5 Compare April 21, 2026 15:07
@pawbana pawbana force-pushed the pb/aibridge-code-move-emdash-exclude branch from fe4e775 to 70a38d3 Compare April 21, 2026 16:35
@pawbana pawbana force-pushed the pb/aibridge-code-move-import-change branch 2 times, most recently from 4f82958 to feca822 Compare April 21, 2026 16:37
@pawbana pawbana force-pushed the pb/aibridge-code-move-emdash-exclude branch from 70a38d3 to e7c2f9c Compare April 21, 2026 16:37
@pawbana pawbana marked this pull request as ready for review April 21, 2026 16:46
@pawbana pawbana changed the title feat: add option to exclude prefixes from scripts/check_emdash.sh feat: exclude from scripts/check_emdash.sh Apr 21, 2026
@pawbana pawbana changed the title feat: exclude from scripts/check_emdash.sh feat: exclude aibridge/fixtures directory from scripts/check_emdash.sh Apr 21, 2026
Copy link
Copy Markdown
Contributor

@coder-agents-review coder-agents-review Bot left a comment

Choose a reason for hiding this comment

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

Clean, focused change that does exactly what it says. Both code paths (scan_all_files and diff-parsing) are updated to respect the exclusion, and the exclude_prefixes array is a sensible extension point.

One structural finding (P3), one documentation clarity finding (P3), one note. No blockers.

Meruem, on the dual exclusion mechanisms: "The class of bug: an exclusion that works in --all mode but silently fails in diff mode, or vice versa."

Process note: the commit subject ("add option to exclude prefixes") describes the mechanism while the PR title describes the intent. These should agree; prefer the intent framing.

🤖 This review was automatically generated with Coder Agents.

Comment thread scripts/check_emdash.sh Outdated
Comment thread scripts/check_emdash.sh Outdated
Comment thread scripts/check_emdash.sh Outdated
@pawbana pawbana changed the base branch from pb/aibridge-code-move-import-change to graphite-base/24571 April 21, 2026 17:16
@pawbana pawbana force-pushed the graphite-base/24571 branch from feca822 to f6d5113 Compare April 21, 2026 17:16
@pawbana pawbana force-pushed the pb/aibridge-code-move-emdash-exclude branch from e7c2f9c to 2b573bc Compare April 21, 2026 17:16
@pawbana pawbana changed the base branch from graphite-base/24571 to pb/aibridge-code-move-fixes April 21, 2026 17:16
@pawbana pawbana force-pushed the pb/aibridge-code-move-fixes branch from f6d5113 to 5c4929c Compare April 21, 2026 18:39
@pawbana pawbana force-pushed the pb/aibridge-code-move-emdash-exclude branch from 50656a0 to 58083df Compare April 21, 2026 18:39
Copy link
Copy Markdown
Contributor

@ssncferreira ssncferreira left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@pawbana pawbana merged commit a72693f into pb/aibridge-code-move-fixes Apr 22, 2026
28 of 47 checks passed
@pawbana pawbana deleted the pb/aibridge-code-move-emdash-exclude branch April 22, 2026 13:12
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants