Skip to content

(when) option compiler - #190

Merged
alexander-yevsyukov merged 41 commits into
masterfrom
when-option-compiler
Apr 28, 2026
Merged

(when) option compiler#190
alexander-yevsyukov merged 41 commits into
masterfrom
when-option-compiler

Conversation

@alexander-yevsyukov

@alexander-yevsyukov alexander-yevsyukov commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

This PR brings compilation of the (when) validation option which was previously a part of the Validation library.

Changes in details

  • validation modules was added with the code of the (when) option compilation.
  • TimeGradlePlugin now adds io.spine.tools:time-validation artifact to the Compiler's user classpath configuration. In tern, JavaValidationPlugin picks up the code generation via ValidationOption service loader API.
  • A separate tests subproject was introduced for running integration tests.
  • The POM of the time-validation artifact was adjusted to have no dependencies. They are going to be available at the classpath of JavaValidationPlugin.

Other notable changes

  • Latest config was applied.

@codecov

codecov Bot commented Apr 27, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 1.98020% with 99 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.27%. Comparing base (6d8ee5e) to head (a8281f5).
⚠️ Report is 42 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #190      +/-   ##
============================================
- Coverage     92.75%   84.27%   -8.49%     
  Complexity      304      304              
============================================
  Files            57       60       +3     
  Lines           980     1081     +101     
  Branches         31       45      +14     
============================================
+ Hits            909      911       +2     
- Misses           61      160      +99     
  Partials         10       10              
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@alexander-yevsyukov alexander-yevsyukov self-assigned this Apr 27, 2026
@alexander-yevsyukov
alexander-yevsyukov marked this pull request as ready for review April 27, 2026 20:27

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a9cad8f439

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread validation/build.gradle.kts
Comment thread tests/build.gradle.kts Outdated

@armiol armiol left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@alexander-yevsyukov LGTM with a couple of minor comments.

Comment thread tests/src/testFixtures/proto/spine/test/tools/validate/when_repeated.proto Outdated

@armiol armiol left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Comment thread tests/src/testFixtures/proto/spine/test/tools/validate/when_repeated.proto Outdated
@alexander-yevsyukov
alexander-yevsyukov merged commit ff52ea3 into master Apr 28, 2026
6 checks passed
@alexander-yevsyukov
alexander-yevsyukov deleted the when-option-compiler branch April 28, 2026 13:00
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