Skip to content

Conversation

@vogella
Copy link
Contributor

@vogella vogella commented Nov 14, 2025

Fixes #2278

When a builder attempts to begin or end a scheduling rule that doesn't match the outer scope rule, the error message now includes:

  • Builder name and label
  • Builder class name
  • Plugin ID
  • Project name
  • The conflicting rule

This makes it much easier to identify which builder is causing the rule mismatch, especially in complex build scenarios with multiple builders.

The enhancement catches IllegalArgumentException at the point where beginRule() and endRule() are called in BuildManager.basicBuild() and wraps it with detailed context before re-throwing.

@vogella vogella marked this pull request as draft November 14, 2025 11:31
@vogella vogella force-pushed the claude/enhance-stack-trace-info-01QAQgSR1KNnaVQwZBptdyDo branch from e5b4927 to b906eae Compare November 14, 2025 11:32
@github-actions
Copy link
Contributor

github-actions bot commented Nov 14, 2025

Test Results

 1 953 files  ±0   1 953 suites  ±0   1h 29m 49s ⏱️ + 5m 10s
 4 744 tests ±0   4 720 ✅ ±0   24 💤 ±0  0 ❌ ±0 
14 232 runs  ±0  14 050 ✅ ±0  182 💤 ±0  0 ❌ ±0 

Results for commit 02578f4. ± Comparison against base commit b0bbf45.

♻️ This comment has been updated with latest results.

@vogella vogella force-pushed the claude/enhance-stack-trace-info-01QAQgSR1KNnaVQwZBptdyDo branch 2 times, most recently from 07ee452 to f754b17 Compare November 14, 2025 12:07
Fixes eclipse-platform#2278

When a builder attempts to begin or end a scheduling rule that doesn't
match the outer scope rule, the error message now includes:
- Builder name and label
- Builder class name
- Plugin ID
- Project name
- The conflicting rule

This makes it much easier to identify which builder is causing the
rule mismatch, especially in complex build scenarios with multiple
builders.

The enhancement catches IllegalArgumentException at the point where
beginRule() and endRule() are called in BuildManager.basicBuild() and
wraps it with detailed context before re-throwing.
@vogella vogella force-pushed the claude/enhance-stack-trace-info-01QAQgSR1KNnaVQwZBptdyDo branch from f754b17 to 02578f4 Compare November 14, 2025 15:52
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.

Attempted to beginRule: MultiRule[], does not match outer scope rule: R/

1 participant