Skip to content

test: use the tink version shipped via UnifiedPush - #6920

Merged
AndyScherzinger merged 2 commits into
masterfrom
renovate/com.google.crypto.tink-tink-1.x
Oct 17, 2026
Merged

AndyScherzinger merged 2 commits into
masterfrom
renovate/com.google.crypto.tink-tink-1.x

Conversation

@renovate

@renovate renovate Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Originally Renovate's bump of the test-only com.google.crypto.tink:tink dependency from 1.23.0 to 1.24.0. Reworked to keep the unit tests on the tink version the app actually ships.

The app does not depend on tink directly. It ships tink 1.23.0 transitively via org.unifiedpush.android:connector (runtime scope), which uses it for WebPush encryption. The explicit testImplementation("com.google.crypto.tink:tink:x.y.z") only exists so WebPushEncryptionTest can compile against it, so pinning a newer version made the test check a different tink than the one in the APK.

  • testImplementation("com.google.crypto.tink:tink") is now declared without a version. AGP's consistent resolution aligns it with the app runtime classpath, so the tests resolve exactly the tink UnifiedPush brings in (1.23.0 today) and follow it automatically when the connector updates.
  • Dropped the now unused tink 1.24.0 entry from verification-metadata.xml.
  • Renovate will no longer open PRs for this line, as it has no version to bump.

Verified: unit test compile and runtime classpaths for gplay and generic resolve tink 1.23.0, and WebPushEncryptionTest passes (3/3) on both flavors.

🖼️ Screenshots

🏚️ Before 🏡 After
B A

🚧 TODO

  • ...

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not needed
  • 🔖 Capability is checked or not needed
  • 🔙 Backport requests are created or not needed: /backport to stable-xx.x
  • 📅 Milestone is set
  • 🌸 PR title is meaningful (if it should be in the changelog: is it meaningful to users?)

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI

@renovate renovate Bot added 3. to review Waiting for reviews dependencies labels Oct 16, 2026
@github-actions

github-actions Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

📱 QA build

Download app-qa-debug.apk
QR code Open the QR code for this download
Commit 896a1de
Version 6920
Available until 7 days after this build

The QA build installs alongside a released Nextcloud app, so you can keep
using your existing install while testing.

Downloading the file requires a GitHub account, so open this link on the
device you want to test on, or transfer the APK to it.

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@AndyScherzinger
AndyScherzinger force-pushed the renovate/com.google.crypto.tink-tink-1.x branch from 4dec1dd to 21221a3 Compare October 17, 2026 15:23
@AndyScherzinger AndyScherzinger added this to the 25.1.0 milestone Oct 17, 2026
WebPushEncryptionTest checks the WebPush crypto that the app gets from
tink, pulled in by org.unifiedpush.android:connector (runtime scope).
Pinning a newer tink for tests only made them run against a different
version than the app ships.

Declare the test dependency without a version, so consistent
resolution aligns it with the app's runtime classpath, and drop the
now unused 1.24.0 verification entry.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
@AndyScherzinger AndyScherzinger changed the title fix(deps): update dependency com.google.crypto.tink:tink to v1.24.0 test: use the tink version shipped via UnifiedPush Oct 17, 2026
@AndyScherzinger
AndyScherzinger merged commit 12c2f5e into master Oct 17, 2026
20 of 22 checks passed
@AndyScherzinger
AndyScherzinger deleted the renovate/com.google.crypto.tink-tink-1.x branch October 17, 2026 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant