Skip to content

Rebuild with refreshed dependencies - #87

Merged
alexander-yevsyukov merged 15 commits into
masterfrom
cascade-refresh-2cd0e3b
Sep 2, 2026
Merged

Rebuild with refreshed dependencies#87
alexander-yevsyukov merged 15 commits into
masterfrom
cascade-refresh-2cd0e3b

Conversation

@alexander-yevsyukov

Copy link
Copy Markdown
Contributor

Summary

Automated cascade wave: rebuild against the refreshed dependency baseline.
Part of a cross-repository wave driven from summit (see
summit/docs/rollout/rebuild.md); this PR opened only after every dependency
version pinned here was verified present in the public registry.

Commits

  • Update shared agent tooling and config (./config/pull) — floated shared
    tooling and the config-distributed build files (absent when config was
    already current).
  • Update local dependency pinsio.spine.dependency.local constants
    advanced to the wave's upstream versions (may appear twice after a drift
    refresh).
  • Bump version / Set version — the versioning-policy increment, or the
    wave's coordinated target.
  • Update dependency reportsdocs/dependencies/ regenerated by the clean
    build.
  • Adapt to refreshed dependencies — only when upstream API changes required
    mechanical source fixes; review this commit with extra care.

Verification

  • ./gradlew clean build dokkaGenerate green locally against the wave's
    artifacts (mavenLocal until upstream publication, the registry afterwards).
  • pre-pr reviewers ran at the exact HEAD of this PR (sentinel-gated).
  • Every pinned upstream version confirmed in
    europe-maven.pkg.dev/spine-event-engine metadata before gh pr create.

alexander-yevsyukov and others added 14 commits August 29, 2026 19:37
Re-bump over the sanctioned collision case: a stale, never-published
`compiler-jvm 2.0.0-SNAPSHOT.068` from an earlier local session sits in
Maven Local and was being resolved into the tests build script classpath,
mixing refresh-era Protobuf gencode with pre-refresh runtime pins. The
registry-based increment guard cannot detect Maven Local staleness.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
* Replace the retired `CoreJvmCompiler.pluginLib` accessor with its
  `gradlePlugin` successor (root and the `tests` build).
* Pin the Protobuf runtime on the `tests` build script classpaths (the root
  one is inherited parent-first by every subproject build script): the
  refresh-era plugin jars carry Protobuf 4.36 gencode, and the runtime must
  not be older.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
* Force the Kotlin stdlib/reflect at the toolchain version on the root build
  script: refresh-era plugin jars require Kotlin 2.4.10, above the
  Gradle-embedded 2.4.0 pinned strictly by the distributed helper. Bootstrap
  measure; the lasting policy (Gradle upgrade or plugin-stdlib rules) is a
  `config`-level decision.
* Force the Protobuf runtime and the kotlinx pair in the `tests` build
  (build-script and subprojects scopes): floor artifacts request pre-refresh
  versions, and the runtime must never be older than the refreshed gencode.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
TEMPORARY consumer-copy edits of config-distributed pin files, required for
the coherent-generation bootstrap: the pre-refresh floors embed or pull the
old Protobuf runtime. To be superseded by the `config` pin bump once the
generation publishes; the next `./config/pull` then restores distribution.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Owner's decision (2026-08-29): keep forcing the Kotlin runtime at the
toolchain version (2.4.10) over the Gradle-embedded 2.4.0 strictly pin,
org-wide. The central implementation lands in the distributed build logic;
this local force is then superseded.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Restore the CoreJvm Compiler floor to its published version. That repository
is built after this one, so its floor must name an artifact the registry
already serves; only the closing `config` PR advances it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
- Force the Kotlin runtime through the typed accessors instead of raw
  coordinates, which also brings the two lines under the length limit.
- Drop the forced `spine-validation-java-runtime` coordinate. It is the
  deprecated `Validation.oldRuntime`, hard-coded two builds below what that
  accessor declares, and nothing points at it -- which is why it was the only
  Spine coordinate in the list that did not move in this wave.
- Add the `isDokka` guard to the new `configurations.all` block, as the rule
  on `Configuration.isDokka` requires. Verified with `dokkaGenerate`: this
  repository resolves Dokka separately, through the `afterEvaluate`
  `preferProjectModules()` block, so excluding `dokka*` here is safe.
- Force the Kotlin runtime in the nested `tests` buildscript as well. It
  loads the Kotlin Gradle plugin against the version Gradle embeds and pins
  strictly, and inherits nothing from the root.
- Drop redundant qualifiers where file-level imports do apply, sort two
  imports, and correct two comments that described neither the entries below
  them nor the classpath they sit on.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Name the constant the force uses rather than calling it a "toolchain"
version, which in Gradle means the JDK toolchain. Attribute the strict 2.4.0
pin to Gradle, which sets it, rather than to the distributed helper, which
only works around it. Turn the removal plan into a dated TODO, the convention
the sibling scripts use, so it is actually tracked.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings September 1, 2026 16:54
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 1, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-01T16:57:26.966288Z 2cc050c PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Copilot AI 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.

Pull request overview

Automated cascade rebuild PR that refreshes pinned dependency versions, updates compiler/test buildscript classpaths to align with refreshed plugin artifacts, and regenerates dependency reports.

Changes:

  • Bumped the project/compiler version to 2.0.0-SNAPSHOT.069 and refreshed pinned dependency versions across the build.
  • Updated CoreJvm compiler plugin classpath usage to the dedicated core-jvm-gradle-plugin artifact and added/centralized several buildscript resolutionStrategy.force(...) pins (notably Protobuf and Kotlin runtime artifacts).
  • Regenerated docs/dependencies/pom.xml to reflect the refreshed dependency baseline.

Reviewed changes

Copilot reviewed 43 out of 46 changed files in this pull request and generated no comments.

Show a summary per file
File Description
version.gradle.kts Bumps the exported compilerVersion used across builds/tests.
tests/compiler-extension/build.gradle.kts Pins Protobuf runtime for buildscript classpath and switches CoreJvm classpath to the Gradle-plugin artifact.
tests/build.gradle.kts Centralizes forcing of baseline Protobuf/Kotlin runtime in buildscript and forces select runtime deps in subprojects (skipping Dokka configs).
docs/dependencies/pom.xml Regenerated dependency report reflecting refreshed versions and added the CoreJvm Gradle plugin artifact.
buildSrc/src/main/kotlin/io/spine/dependency/test/Kotest.kt Updates Kotest version constant.
buildSrc/src/main/kotlin/io/spine/dependency/test/JUnit.kt Updates JUnit/JUnit Platform BOM versions.
buildSrc/src/main/kotlin/io/spine/dependency/storage/PostgreSql.kt Updates PostgreSQL JDBC driver version constant.
buildSrc/src/main/kotlin/io/spine/dependency/storage/MySql.kt Updates MySQL Connector/J version constant.
buildSrc/src/main/kotlin/io/spine/dependency/local/Validation.kt Updates Spine Validation version constant.
buildSrc/src/main/kotlin/io/spine/dependency/local/ToolBase.kt Updates ToolBase versions (including dogfooding).
buildSrc/src/main/kotlin/io/spine/dependency/local/Time.kt Updates Spine Time version constant.
buildSrc/src/main/kotlin/io/spine/dependency/local/ProtoTap.kt Updates ProtoTap version constant.
buildSrc/src/main/kotlin/io/spine/dependency/local/Logging.kt Updates Spine Logging version constant.
buildSrc/src/main/kotlin/io/spine/dependency/local/CoreJvmCompiler.kt Refactors CoreJvm compiler coordinates to separate Gradle plugin vs compiler plugins artifacts and updates versions.
buildSrc/src/main/kotlin/io/spine/dependency/local/CoreJvm.kt Updates Spine Core JVM version constant.
buildSrc/src/main/kotlin/io/spine/dependency/local/Compiler.kt Updates fallback compiler versions used by build tooling.
buildSrc/src/main/kotlin/io/spine/dependency/local/Base.kt Updates Spine Base version constants (including a distinct buildscript version).
buildSrc/src/main/kotlin/io/spine/dependency/lib/Roaster.kt Updates Roaster version constant.
buildSrc/src/main/kotlin/io/spine/dependency/lib/Protobuf.kt Updates Protobuf baseline version constant.
buildSrc/src/main/kotlin/io/spine/dependency/lib/Plexus.kt Updates Plexus Utils version constant and adjusts comment.
buildSrc/src/main/kotlin/io/spine/dependency/lib/Okio.kt Updates Okio version constant.
buildSrc/src/main/kotlin/io/spine/dependency/lib/Netty.kt Updates Netty version constant.
buildSrc/src/main/kotlin/io/spine/dependency/lib/Kotlin.kt Updates Kotlin runtime/embedded versions and clarifies KDoc around Gradle-embedded vs embeddable compiler.
buildSrc/src/main/kotlin/io/spine/dependency/lib/JacksonV2.kt Updates Jackson v2 version and expands declared modules (adds kotlin module + Jackson Jr dependency object).
buildSrc/src/main/kotlin/io/spine/dependency/lib/Jackson.kt Updates Jackson 3.x version constant.
buildSrc/src/main/kotlin/io/spine/dependency/lib/HttpClient.kt Updates Google HTTP Client version constant.
buildSrc/src/main/kotlin/io/spine/dependency/lib/Guava.kt Updates Guava version constant.
buildSrc/src/main/kotlin/io/spine/dependency/lib/Grpc.kt Updates gRPC BOM/version constant.
buildSrc/src/main/kotlin/io/spine/dependency/lib/GoogleApis.kt Updates Google Auth library version constant.
buildSrc/src/main/kotlin/io/spine/dependency/lib/Firebase.kt Updates Firebase Admin SDK version constant.
buildSrc/src/main/kotlin/io/spine/dependency/lib/CommonsLogging.kt Updates Commons Logging version constant.
buildSrc/src/main/kotlin/io/spine/dependency/lib/CommonsCodec.kt Updates Commons Codec version constant.
buildSrc/src/main/kotlin/io/spine/dependency/lib/AppEngine.kt Removes AppEngine dependency definitions (no remaining references found).
buildSrc/src/main/kotlin/io/spine/dependency/kotlinx/Serialization.kt Updates kotlinx.serialization version constant.
buildSrc/src/main/kotlin/io/spine/dependency/kotlinx/Coroutines.kt Updates kotlinx.coroutines BOM/version constant.
buildSrc/src/main/kotlin/io/spine/dependency/kotlinx/AtomicFu.kt Updates atomicfu version constant.
buildSrc/src/main/kotlin/io/spine/dependency/build/Pmd.kt Updates PMD version constant.
buildSrc/src/main/kotlin/io/spine/dependency/build/Ksp.kt Updates KSP version constant.
buildSrc/src/main/kotlin/io/spine/dependency/build/JSpecify.kt Updates JSpecify version constant (and copyright year).
buildSrc/src/main/kotlin/io/spine/dependency/build/ErrorProne.kt Updates Error Prone Gradle plugin version constant.
buildSrc/src/main/kotlin/io/spine/dependency/build/CheckerFramework.kt Updates Checker Framework annotations version constant.
buildSrc/build.gradle.kts Refreshes buildSrc tool/plugin versions (Kotlin embedded, grgit, shadow, zip4j, etc.).
build.gradle.kts Switches CoreJvm classpath artifact and forces Kotlin runtime artifacts in the buildscript classpath.
.gitignore Adds clarification comment around keeping .idea/kotlinc.xml ignored.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

A build script is not where a cross-repository policy belongs, and the TODO
it carried was unlikely to be picked up from here. The forces themselves are
unchanged.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

Copilot AI 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.

Pull request overview

Copilot reviewed 43 out of 46 changed files in this pull request and generated no new comments.

@codecov

codecov Bot commented Sep 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.69%. Comparing base (85302f2) to head (311e7c7).

Additional details and impacted files
@@             Coverage Diff              @@
##             master      #87      +/-   ##
============================================
- Coverage     76.89%   72.69%   -4.20%     
+ Complexity      688      670      -18     
============================================
  Files           205      205              
  Lines          4025     4025              
  Branches        402      402              
============================================
- Hits           3095     2926     -169     
- Misses          800      977     +177     
+ Partials        130      122       -8     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@alexander-yevsyukov
alexander-yevsyukov merged commit 3a5a776 into master Sep 2, 2026
10 of 11 checks passed
@alexander-yevsyukov
alexander-yevsyukov deleted the cascade-refresh-2cd0e3b branch September 2, 2026 09:06
@github-project-automation github-project-automation Bot moved this from In Review to ✅ Done in v2.0 Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants