Skip to content

probe: scoped lint path (temporary — measurement only) - #30

Closed
joaodinissf wants to merge 3 commits into
perf/lint-lane-step-5from
perf/probe-lint-scoped
Closed

probe: scoped lint path (temporary — measurement only)#30
joaodinissf wants to merge 3 commits into
perf/lint-lane-step-5from
perf/probe-lint-scoped

Conversation

@joaodinissf

Copy link
Copy Markdown
Owner

Cold-cache scoped-lint measurement for dsldevkit#1457: one-module source change over the step-5 branch. Will be closed after the run is measured. 🤖 Generated with Claude Code

joaodinissf and others added 3 commits July 10, 2026 23:42
CPD tokenizes sources under src/ and needs neither bytecode nor a
resolved target platform, so the second lint invocation drops its
compile goals. cpd.xml outputs are identical with and without the
compile pass, verified at the current token threshold and at the
PMD default of 100 (timestamp attributes aside).

Measured locally (warm tree, JDK 21): 6.8s vs 44.3s at the current
threshold; 4.5s vs 28.5s at threshold 100. In CI the invocation was
53s, ~40s of it redundant recompilation and JVM startup.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
compute-spotbugs-skip.sh becomes compute-analysis-skip.sh with a mode
argument: `spotbugs` injects spotbugs.skip as before, `lint` injects
pmd.skip, cpd.skip and checkstyle.skip, and each mode exports its
-pl/-am reactor scope args. The lint lane gains the scope step and
passes LINT_SCOPE_ARGS to both invocations; `compile` stays in the
PMD/Checkstyle invocation because PMD's type-resolving rules need
Tycho's aux-classpath (skip-injected -am dependencies compile but are
not analysed). Changes under ddk-configuration (rulesets, filters) now
also trigger the full-scan fail-safe in both lanes.

Code Scanning note: repo-wide alert state reflects the default branch,
which receives no lint/spotbugs analyses (verify runs on pull_request
only), so a scoped upload that omits unchanged modules can only affect
PR-context annotations — the same property the spotbugs category has
had since the per-module skip landed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@joaodinissf
joaodinissf force-pushed the perf/lint-lane-step-5 branch from 3ecbf45 to e6a7274 Compare July 10, 2026 22:10
@joaodinissf

Copy link
Copy Markdown
Owner Author

Superseded: run predates the ddk-target reactor pin; fresh probes follow.

@joaodinissf
joaodinissf deleted the perf/probe-lint-scoped branch July 10, 2026 22:11
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