Skip to content

Improve integration tests of the (when) option compilation#195

Draft
alexander-yevsyukov wants to merge 7 commits into
masterfrom
bump-validation
Draft

Improve integration tests of the (when) option compilation#195
alexander-yevsyukov wants to merge 7 commits into
masterfrom
bump-validation

Conversation

@alexander-yevsyukov
Copy link
Copy Markdown
Contributor

@alexander-yevsyukov alexander-yevsyukov commented May 14, 2026

Other notable changes

  • Latest config was applied.

Copilot AI review requested due to automatic review settings May 14, 2026 20:16
Copy link
Copy Markdown

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

The PR title declares improvements to integration tests of the (when) option compilation, but the diff contains a much broader set of changes: a Gradle wrapper upgrade with a rewritten gradlew.bat, two new .agents skills (bump-version, bump-gradle) and a rewritten version-policy.md, relocation of dependency reports to docs/dependencies/ with a new DependencyReportOutputTest, refactored ErrorPlaceholder imports across WhenOption, WhenGenerator, and LocalDateValidator, and version bumps for Validation, Time, CoreJvmCompiler, and the project itself. No new or updated (when) integration tests are visible.

Changes:

  • Updated ErrorPlaceholder imports (and switched RuntimeErrorPlaceholderErrorPlaceholder in LocalDateValidator).
  • Bumped Gradle wrapper to 9.5.1, rewrote gradlew.bat, and updated agents/skills documentation.
  • Moved dependency reports under docs/dependencies/ with a new buildSrc test.

Reviewed changes

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

Show a summary per file
File Description
version.gradle.kts Snapshot version bump 240→241
validation/.../WhenOption.kt Re-grouped ErrorPlaceholder imports under io.spine.validation
validation/.../WhenGenerator.kt Same import refactoring
time/.../LocalDateValidator.kt Switched runtime placeholder type — needs verification
gradlew.bat Rewritten error-handling flow (suspect missing termination after error paths)
gradlew Updated source-template URL comment
gradle/wrapper/gradle-wrapper.properties Bumped Gradle to 9.5.1; added retries=0/retryBackOffMs
CLAUDE.md Fixed TOC path to .agents/_TOC.md
buildSrc/.../DependencyReportOutputTest.kt New tests for report output location
buildSrc/.../PomGenerator.kt Writes pom under docs/dependencies/; no longer deletes prior file
buildSrc/.../Paths.kt Added outputDirectory and outputFile() helpers
buildSrc/.../LicenseReporter.kt Writes merged report under docs/dependencies/
buildSrc/.../Validation.kt Version bump 414→421
buildSrc/.../Time.kt Version bump 238→240
buildSrc/.../CoreJvmCompiler.kt Version bumps for dogfooding/IT
.gitignore Ignore /.claude/worktrees/
.github/workflows/ensure-reports-updated.yml Step renamed
.agents/version-policy.md Rewritten to point at bump-version skill
.agents/skills/writer/SKILL.md Added typographic-quote guidance
.agents/skills/bump-version/{SKILL.md,agents/openai.yaml} New skill
.agents/skills/bump-gradle/{SKILL.md,agents/openai.yaml} New skill

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread version.gradle.kts
Comment thread buildSrc/src/main/kotlin/io/spine/gradle/report/pom/PomGenerator.kt
Comment thread time/src/main/kotlin/io/spine/time/validation/LocalDateValidator.kt
Comment thread gradlew.bat
Comment thread gradle/wrapper/gradle-wrapper.properties
Comment thread .agents/skills/bump-gradle/SKILL.md
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