Skip to content

Fix changed-file detection for renamed extension description files - #2382

Merged
lassoan merged 1 commit into
Slicer:mainfrom
lassoan:fix-ai-analysis-rename-filter
Aug 15, 2026
Merged

lassoan merged 1 commit into
Slicer:mainfrom
lassoan:fix-ai-analysis-rename-filter

Conversation

@lassoan

@lassoan lassoan commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

The AI analysis workflow collected changed files with --diff-filter=AM, which silently dropped files that git classifies as renamed (R), e.g. when an extension description file is renamed with small edits. The analysis then ran with no input while the job still reported success.

Include renames (--diff-filter=AMR) in both the AI analysis and the extension validation workflows (--name-only reports a renamed file under its new path), exclude deletions from the validation file list, and emit a workflow warning when the AI analysis file list is empty so this failure mode is visible on the run page.

The AI analysis workflow collected changed files with --diff-filter=AM,
which silently dropped files that git classifies as renamed (R), e.g.
when an extension description file is renamed with small edits. The
analysis then ran with no input while the job still reported success.

Include renames (--diff-filter=AMR) in both the AI analysis and the
extension validation workflows (--name-only reports a renamed file
under its new path), exclude deletions from the validation file list,
and emit a workflow warning when the AI analysis file list is empty so
this failure mode is visible on the run page.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@lassoan lassoan self-assigned this Aug 15, 2026
@lassoan
lassoan merged commit 03d8106 into Slicer:main Aug 15, 2026
5 checks passed
@lassoan
lassoan deleted the fix-ai-analysis-rename-filter branch August 15, 2026 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant