Skip to content

#829: add ThrottledLint decorator to prevent lint stalling#1

Open
nacNAC333 wants to merge 1 commit into
masterfrom
829-throttled-lint
Open

#829: add ThrottledLint decorator to prevent lint stalling#1
nacNAC333 wants to merge 1 commit into
masterfrom
829-throttled-lint

Conversation

@nacNAC333

Copy link
Copy Markdown
Owner

Summary

Adds ThrottledLint decorator to prevent lints from prolonging and stalling the build.

Changes

  • New ThrottledLint class wraps any Lint and limits its execution to 10 seconds
  • If the wrapped lint exceeds the timeout, a single WARNING defect is returned
  • Uses Java ExecutorService with Future.get(timeout, TimeUnit.SECONDS) for thread management
  • Properly handles TimeoutException, ExecutionException, and InterruptedException
  • Includes comprehensive test suite with 4 test cases

Related

@nacNAC333 nacNAC333 force-pushed the 829-throttled-lint branch from 509f779 to 10e4c1d Compare June 17, 2026 21:18
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