Skip to content

Commit f6ea180

Browse files
tychtjanclaude
andcommitted
fix: improve analyzer output format and default to 200 commits
- Use FILE_CATEGORIES matching original analyzer - Fix JIRA links to be clickable markdown links - Add more detailed output with SDK impact sections - Include diffs for OpenAPI spec changes - Default to 200 commits instead of 50 - Add pagination for fetching commits Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent f12b3ae commit f6ea180

2 files changed

Lines changed: 412 additions & 114 deletions

File tree

.github/workflows/sdk-diff-analyzer.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ on:
1414
workflow_dispatch:
1515
inputs:
1616
commits_to_analyze:
17-
description: 'Number of commits to analyze (default: 50)'
18-
default: '50'
17+
description: 'Number of commits to analyze (default: 200)'
18+
default: '200'
1919
since_commit:
2020
description: 'Analyze since this commit SHA (overrides state tag)'
2121
default: ''
@@ -51,7 +51,7 @@ jobs:
5151
echo "GH CLI version: $(gh --version | head -1)"
5252
echo ""
5353
echo "=== Inputs ==="
54-
echo "commits_to_analyze: ${{ inputs.commits_to_analyze || '50' }}"
54+
echo "commits_to_analyze: ${{ inputs.commits_to_analyze || '200' }}"
5555
echo "since_commit: ${{ inputs.since_commit || '(not set)' }}"
5656
5757
- name: Verify gdc-nas access
@@ -86,7 +86,7 @@ jobs:
8686
- name: Determine analysis range
8787
id: range
8888
run: |
89-
COMMITS="${{ inputs.commits_to_analyze || '50' }}"
89+
COMMITS="${{ inputs.commits_to_analyze || '200' }}"
9090
SINCE_INPUT="${{ inputs.since_commit }}"
9191
9292
echo "=== Determining range ==="
@@ -132,7 +132,7 @@ jobs:
132132
if [ -n "${{ steps.range.outputs.since }}" ]; then
133133
ARGS="$ARGS --since ${{ steps.range.outputs.since }}"
134134
else
135-
ARGS="$ARGS --commits ${{ steps.range.outputs.commits || '50' }}"
135+
ARGS="$ARGS --commits ${{ steps.range.outputs.commits || '200' }}"
136136
fi
137137
138138
echo "Running: python3 scripts/gdc_nas_api_analyzer.py $ARGS"

0 commit comments

Comments
 (0)