Skip to content

GROOVY-12039: Graduate RegexChecker and FormatStringChecker from incu…#2564

Merged
paulk-asert merged 1 commit into
masterfrom
groovy12039
May 27, 2026
Merged

GROOVY-12039: Graduate RegexChecker and FormatStringChecker from incu…#2564
paulk-asert merged 1 commit into
masterfrom
groovy12039

Conversation

@paulk-asert
Copy link
Copy Markdown
Contributor

…bating to stable

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Groovy typecheckers module documentation and annotations to reflect RegexChecker and FormatStringChecker graduating from incubating to stable, and expands the catalog of bundled auxiliary type checkers with monadic checker entries and cross-references.

Changes:

  • Mark RegexChecker and FormatStringChecker as stable by removing @Incubating and documenting their @since versions.
  • Improve docs/navigation by adding anchors and cross-references between the “built-in checkers” chapter and the “type checking extensions” SDK chapter.
  • Document MonadicChecker/MonadicShapeChecker in the bundled-checkers overview and related monadic comprehensions chapter.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
subprojects/groovy-typecheckers/src/spec/doc/typecheckers.adoc Adds chapter anchor, stability notes for regex/format checkers, and documents monadic checkers.
subprojects/groovy-typecheckers/src/main/groovy/groovy/typecheckers/RegexChecker.groovy Removes @Incubating and adds @since 4.0.0 to class GroovyDoc.
subprojects/groovy-typecheckers/src/main/groovy/groovy/typecheckers/FormatStringChecker.groovy Removes @Incubating and adds @since 5.0.0 to class GroovyDoc.
subprojects/groovy-typecheckers/src/main/groovy/groovy/typecheckers/FormatMethod.groovy Adds @since 5.0.0 to annotation GroovyDoc.
subprojects/groovy-typecheckers/src/main/groovy/groovy/typecheckers/MonadicChecker.groovy Marks MonadicChecker as incubating (annotation/import adjustments).
subprojects/groovy-typecheckers/src/main/groovy/groovy/typecheckers/package-info.groovy Refreshes package-level docs, categorizing stable vs incubating checkers.
subprojects/groovy-macro-library/src/spec/doc/_monadic-comprehensions.adoc Adds documentation for MonadicShapeChecker and links back to the bundled checkers chapter.
src/spec/doc/_type-checking-extensions.adoc Adds anchor and a tip block clarifying this chapter is the SDK reference and linking to bundled checkers.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 25, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68.1984%. Comparing base (42ce7e0) to head (1050e7e).

Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                 @@
##               master      #2564        +/-   ##
==================================================
+ Coverage     68.1904%   68.1984%   +0.0079%     
- Complexity      33103      33106         +3     
==================================================
  Files            1508       1508                
  Lines          126157     126157                
  Branches        22891      22891                
==================================================
+ Hits            86027      86037        +10     
+ Misses          32490      32481         -9     
+ Partials         7640       7639         -1     
Files with missing lines Coverage Δ
...ovy/groovy/typecheckers/FormatStringChecker.groovy 78.1022% <ø> (ø)
...n/groovy/groovy/typecheckers/MonadicChecker.groovy 57.1429% <ø> (ø)
...ain/groovy/groovy/typecheckers/RegexChecker.groovy 75.6757% <ø> (ø)

... and 6 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sonarqubecloud
Copy link
Copy Markdown

@testlens-app
Copy link
Copy Markdown

testlens-app Bot commented May 25, 2026

✅ All tests passed ✅

🏷️ Commit: 1050e7e
▶️ Tests: 156098 executed
⚪️ Checks: 56/56 completed


Learn more about TestLens at testlens.app.

@paulk-asert paulk-asert merged commit 6466667 into master May 27, 2026
59 checks passed
@paulk-asert paulk-asert deleted the groovy12039 branch May 27, 2026 09:19
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.

3 participants