Repository navigation
Rebuild with refreshed dependencies - #202
Conversation
`config` `58cd2d4a` renamed the `UpdateGitHubPages` plugin to `PublishApiDocs`. `module.gradle.kts` now calls `publishApiDocs { }`, and no longer makes `publish` depend on the docs task: the `publish-api-docs.yml` workflow publishes the API docs through the root `publishAllApiDocs` task.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #202 +/- ##
============================================
- Coverage 84.47% 84.38% -0.09%
+ Complexity 307 306 -1
============================================
Files 60 60
Lines 1121 1121
Branches 46 46
============================================
- Hits 947 946 -1
Misses 166 166
- Partials 8 9 +1 🚀 New features to boost your workflow:
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ba06ebe4d7
ℹ️ 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".
There was a problem hiding this comment.
🔵 Needs a closer look
The new credentials-enabled documentation deployment workflow warrants human validation of its end-to-end execution and concurrency behavior.
No open issues 🎉
What changed in this PR
This PR advances Spine Time to 2.0.0-SNAPSHOT.253 for the dependency rebuild wave and incorporates shared tooling changes that separate API documentation deployment from Maven publication.
Changes:
- Bump the publication version and refresh generated dependency reports.
- Introduce independent API documentation publishing, with snapshot skipping, sparse checkouts, and protection against replacing newer documentation.
- Update publishing workflow references, version-check status naming, and supporting tests.
| File | Description |
|---|---|
version.gradle.kts |
Bumps the publication version to .253. |
docs/dependencies/pom.xml |
Aligns the reported project version. |
docs/dependencies/dependencies.md |
Refreshes report versions and timestamps. |
buildSrc/src/test/kotlin/io/spine/gradle/github/pages/PublishApiDocsIgTest.kt |
Adds documentation task integration tests. |
buildSrc/src/test/kotlin/io/spine/gradle/github/pages/NewestAboveSpec.kt |
Tests selection of newer published versions. |
buildSrc/src/test/kotlin/io/spine/gradle/git/RepositorySpec.kt |
Tests sparse clones and publication races. |
buildSrc/src/test/kotlin/io/spine/gradle/docs/DokkaSetupIgTest.kt |
Updates tests to use publishApiDocs. |
buildSrc/src/test/kotlin/io/spine/gradle/CliSpec.kt |
Tests command output preservation and failures. |
buildSrc/src/main/kotlin/module.gradle.kts |
Separates documentation tasks from Maven publishing. |
buildSrc/src/main/kotlin/jvm-module.gradle.kts |
Applies the same separation to JVM modules. |
buildSrc/src/main/kotlin/io/spine/gradle/TaskName.kt |
Extracts reusable task registration logic. |
buildSrc/src/main/kotlin/io/spine/gradle/publish/SpinePublishing.kt |
Registers the aggregate documentation task. |
buildSrc/src/main/kotlin/io/spine/gradle/publish/PublicationSbom.kt |
Corrects a documentation reference. |
buildSrc/src/main/kotlin/io/spine/gradle/publish/PublicationChecksums.kt |
Reuses the shared task registration helper. |
buildSrc/src/main/kotlin/io/spine/gradle/github/pages/Update.kt |
Removes the previous documentation updater. |
buildSrc/src/main/kotlin/io/spine/gradle/github/pages/TaskName.kt |
Defines documentation publishing task names. |
buildSrc/src/main/kotlin/io/spine/gradle/github/pages/RepositoryExtensions.kt |
Uses sparse clones for documentation publishing. |
buildSrc/src/main/kotlin/io/spine/gradle/github/pages/PublishApiDocsExtension.kt |
Renames the documentation publishing extension. |
buildSrc/src/main/kotlin/io/spine/gradle/github/pages/PublishApiDocs.kt |
Renames the plugin and skips snapshot deployment. |
buildSrc/src/main/kotlin/io/spine/gradle/github/pages/PublishAllApiDocs.kt |
Aggregates documentation tasks for published modules. |
buildSrc/src/main/kotlin/io/spine/gradle/github/pages/DocsPublication.kt |
Adds version-aware documentation publication. |
buildSrc/src/main/kotlin/io/spine/gradle/github/pages/AuthorEmail.kt |
Clarifies the author email documentation. |
buildSrc/src/main/kotlin/io/spine/gradle/git/Repository.kt |
Supports sparse clones and remote branch adoption. |
buildSrc/src/main/kotlin/io/spine/gradle/Cli.kt |
Preserves output line breaks and accepts command lists. |
buildSrc/src/main/kotlin/DokkaExts.kt |
Recognizes the renamed documentation shipping task. |
.github/workflows/revalidate-versions.yml |
Updates explanatory comments and job labels. |
.github/workflows/publish.yml |
Updates the reusable publishing workflow pin. |
.github/workflows/publish-api-docs.yml |
Adds a separate, serialized documentation deployment workflow. |
.github/workflows/increment-guard.yml |
Changes the reported status to Version bump. |
Review effort: Balanced
Summary
Automated cascade wave: rebuild against the refreshed dependency baseline.
Part of a cross-repository wave driven from
summit(seesummit/docs/rollout/rebuild.md); this PR opened only after every dependencyversion pinned here was verified present in the public registry.
Commits
./config/pull) — floated sharedtooling and the config-distributed build files (absent when config was
already current).
io.spine.dependency.localconstantsadvanced to the wave's upstream versions (may appear twice after a drift
refresh).
wave's coordinated target.
docs/dependencies/regenerated by the cleanbuild.
mechanical source fixes; review this commit with extra care.
Verification
./gradlew clean build dokkaGenerategreen locally against the wave'sartifacts (mavenLocal until upstream publication, the registry afterwards).
pre-prreviewers ran at the exact HEAD of this PR (sentinel-gated).europe-maven.pkg.dev/spine-event-enginemetadata beforegh pr create.