Skip to content

build: take the Compose Gradle plugin from Maven Central only - #918

Merged
Quick104 merged 1 commit into
mainfrom
fix/compose-plugin-verification
Nov 14, 2026
Merged

Quick104 merged 1 commit into
mainfrom
fix/compose-plugin-verification

Conversation

@Quick104

@Quick104 Quick104 commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Related issue: N/A
Validation tasks: none

Other clients: N/A (Android Gradle build configuration only)

ci / Release readiness fails on main and on every open pull request, and with it the required ci / Android CI check. Gradle dependency verification rejects org.jetbrains.compose:compose-gradle-plugin:1.7.3 taken from the Gradle Plugin Portal: the portal now serves a jar and .module whose checksums differ from the ones pinned in gradle/verification-metadata.xml. Maven Central still serves the pinned files.

The two jars are the same size and unpack to identical class files, so only the zip packaging differs. The portal's .module lists a different size and hash for the sources jar.

Approach

settings.gradle.kts excludes compose-gradle-plugin from the plugin portal, so Gradle can only take it from Maven Central and the pinned checksums keep verifying. The plugin marker (org.jetbrains.compose.gradle.plugin) still comes from the portal. No checksums change, and no new bytes are trusted.

mavenCentral() already comes before the portal, so I can't fully explain why CI took the module from the portal. The likely cause is a portal-sourced entry in the restored CI Gradle cache. The exclusion rules the portal out either way.

Validation

  • Scratch Gradle home with the portal listed first: ./gradlew help reproduces the CI verification failure on the portal's compose-gradle-plugin jar and .module.
  • Same polluted cache with the exclusion: compose-gradle-plugin no longer fails verification.
  • The committed settings: ./gradlew help passes against the polluted cache and against the normal Gradle cache.
  • Not reproduced locally: CI choosing the portal with mavenCentral() first.
  • CI: Release readiness passes on this PR at 5d3f0d7 (BUILD SUCCESSFUL); it fails on main with the verification error. Lint, unit tests and ci / Android CI pass too.

Evidence

Evidence: https://evidence.siloserver.org/r/silo-android/compose-plugin-verification/

Surface and build: no visible change; local Gradle runs at 5d3f0d7.

Risks

  • If a later Compose Multiplatform version is published only to the portal, upgrading it will fail to resolve until this exclusion is removed. JetBrains publishes the plugin to Maven Central, so I expect no impact.

Checklist

  • I read and can explain the complete diff.
  • This pull request addresses one concern.
  • The Evidence section shows every change a user can see, or how I checked a change nobody sees.

AI Disclosure

  • Harness: Claude Code, running in T3 Code
  • Tool(s): Claude Code, silo-evidence CLI
  • Model(s): claude-opus-5-5
  • Involvement: Fully AI-generated; not yet human verified
  • Adversarial review: n/a (one-line build configuration change)

🤖 Generated with Claude Code

The Gradle Plugin Portal now serves compose-gradle-plugin 1.7.3 files
whose checksums differ from the pinned ones in verification-metadata.xml,
so Release readiness fails dependency verification whenever Gradle takes
the module from the portal. Maven Central serves the pinned files.
Exclude the module from the portal so it always resolves from Central;
the plugin marker still comes from the portal.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@silo-triage silo-triage Bot added the size/S 0–49 added + deleted lines (all files); change volume, not priority. label Nov 14, 2026
@silo-kody

silo-kody Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.

Reviewing changes in Silo
  • Include the related issue, expected behavior, and validation steps in the PR description.
  • For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
  • For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
  • Follow this repository's AGENTS.md and CONTRIBUTING.md.
  • Request another review with @kody start-review in a PR comment.
  • React with 👍 or 👎 to give feedback on individual suggestions.
Review settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌
⚠️ 5 Kody Rule(s) were not evaluated

These rules declare that they need repository context beyond this diff, and the review could not retrieve it, so they were not judged on this pull request:

  • Validate download ownership before publishing subtitle bytes
  • Bind playback markers to the actual playing file
  • Share route-aware audio decisions and preserve original-format decoder fallback
  • Apply playback route eligibility consistently at admission and media loading
  • Serialize cache read-modify-write operations

@coderabbitai

coderabbitai Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The plugin management configuration now excludes org.jetbrains.compose:compose-gradle-plugin from Gradle Plugin Portal resolution.

Changes: Plugin resolution

Layer / File(s) Summary
Filter the plugin portal
settings.gradle.kts
The Gradle Plugin Portal repository now excludes org.jetbrains.compose:compose-gradle-plugin through a content filter.

Estimated code review effort: 2 (Simple) | ~5 minutes

Change: Bug fix

Merge Risk: Minimal · up to 5d3f0

This build configuration change makes the Compose Gradle plugin resolve from Maven Central, whose files match the pinned checksums. No product behavior changes. The merge risk is minimal; confirm that the release readiness check passes.

Architecture risk: Low · up to 5d3f0

The change affects 1 system.

Changed systems: settings.gradle.kts

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — settings.gradle.kts (service) was modified; 1 changed file maps to changed impact.

Before / after behavior

  • observed — Modified behavior in settings.gradle.kts: gradlePluginPortal() is replaced with a content-filtered portal repository that excludes org.jetbrains.compose:compose-gradle-plugin.
Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title states the main change: the Compose Gradle plugin is now taken from Maven Central only, which matches the settings.gradle.kts change that excludes compose-gradle-plugin from the Gradle Plugi…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed The description is specific and related to the changeset. It names the file changed (settings.gradle.kts), the artifact excluded from the Gradle Plugin Portal (org.jetbrains.compose:compose-gradle-plu…
Full details: Title check

Explanation

The title states the main change: the Compose Gradle plugin is now taken from Maven Central only, which matches the settings.gradle.kts change that excludes compose-gradle-plugin from the Gradle Plugin Portal. It is short, specific, and conveys the primary change.

Full details: Description check

Explanation

The description is specific and related to the changeset. It names the file changed (settings.gradle.kts), the artifact excluded from the Gradle Plugin Portal (org.jetbrains.compose:compose-gradle-plugin:1.7.3), the failing Gradle dependency verification, the pinned checksums in gradle/verification-metadata.xml, and the validation performed. It also states the plugin marker still comes from the portal and notes a risk for future Compose Multiplatform upgrades. This matches the raw summary and the PR objectives.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ae8eaf0b-7e93-4a83-b191-7ada7c6a4abd
Commits

Reviewing files that changed from the base of the PR and between cc4fd66 and 5d3f0d7.

Files selected for processing: 1

  • settings.gradle.kts

Included review availability: This review used your included allowance. 0 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-14T16:31:53.129001Z 5d3f0d7 PR opened
🔒 Security Review ✅ Completed 2026-11-14T16:33:03.907944Z 5d3f0d7 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.

@silo-triage silo-triage Bot added bug Something isn't working priority: P1 Core-path bug; painful workaround — next after P0 labels Nov 14, 2026
@Quick104
Quick104 merged commit a0391bf into main Nov 14, 2026
11 checks passed
@Quick104
Quick104 deleted the fix/compose-plugin-verification branch November 14, 2026 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working priority: P1 Core-path bug; painful workaround — next after P0 size/S 0–49 added + deleted lines (all files); change volume, not priority.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant