Skip to content

Add maximum changed exercise limit for changed exercise suits - #3192

Merged
kahgoh merged 1 commit into
exercism:mainfrom
jagdish-15:refine-chnaged-workflows
Dec 3, 2026
Merged

kahgoh merged 1 commit into
exercism:mainfrom
jagdish-15:refine-chnaged-workflows

Conversation

@jagdish-15

Copy link
Copy Markdown
Member

Pull Request

When the lint-changed-exercise, test-changed-exercise, and build-changed-exercise scripts were designed, it was assumed that PRs would either touch only a few exercises or modify a Gradle build file. Large-scale syncs like #3191 weren't accounted for, which caused the scripts to run over a hundred individual Gradle invocations instead of the full suite, slowing down the workflow and failing with HTTP 429 ("Too Many Requests") errors.

This PR fixes that gap. If more than 10 changed exercises are detected in a PR, all three scripts now automatically fall back to running the full suite (just as they do for Gradle file changes), avoiding rate-limit errors and making large PRs faster and smoother.


Reviewer Resources:

Track Policies

@jagdish-15
jagdish-15 requested a review from kahgoh December 2, 2026 20:06
@kahgoh
kahgoh merged commit 38effd7 into exercism:main Dec 3, 2026
4 checks passed
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.

2 participants