Skip to content

Update wordpress-rs to trunk-502e9561f#22693

Merged
adalpari merged 1 commit intotrunkfrom
internal/update-wordpress-rs
Mar 16, 2026
Merged

Update wordpress-rs to trunk-502e9561f#22693
adalpari merged 1 commit intotrunkfrom
internal/update-wordpress-rs

Conversation

@adalpari
Copy link
Copy Markdown
Contributor

Description

Update wordpress-rs dependency to trunk-502e9561f2a68294f0065867bab9214cc9a6b78c.

The new version adds a PostStatus.Any variant, which required adding
a branch in PostRsListUiState.toLabel() to keep the when expression
exhaustive. Since Any is used for filtering (not display), it maps
to 0 (no label), consistent with Custom and null.

Testing instructions

Verify compilation:

  1. Build the Jetpack debug variant
  • Verify the build succeeds

Post list:

  1. Open the app and navigate to the post list
  • Verify posts display correctly with proper status labels

The new version adds a PostStatus.Any variant, requiring a new
branch in PostRsListUiState.toLabel() to keep the when expression
exhaustive.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@adalpari adalpari marked this pull request as ready for review March 16, 2026 13:12
@adalpari adalpari requested a review from a team as a code owner March 16, 2026 13:12
@adalpari adalpari requested review from nbradbury and removed request for a team March 16, 2026 13:12
@dangermattic
Copy link
Copy Markdown
Collaborator

dangermattic commented Mar 16, 2026

1 Warning
⚠️ PR is not assigned to a milestone.

Generated by 🚫 Danger

@adalpari adalpari enabled auto-merge (squash) March 16, 2026 13:12
@sonarqubecloud
Copy link
Copy Markdown

@wpmobilebot
Copy link
Copy Markdown
Contributor

Project dependencies changes

list
! Upgraded Dependencies
rs.wordpress.api:android:trunk-502e9561f2a68294f0065867bab9214cc9a6b78c, (changed from trunk-4fac42b1a262e93adcbc0cd0353aafa0369671d2)
rs.wordpress.api:kotlin:trunk-502e9561f2a68294f0065867bab9214cc9a6b78c, (changed from trunk-4fac42b1a262e93adcbc0cd0353aafa0369671d2)
tree
 +--- project :libs:fluxc
-|    \--- rs.wordpress.api:android:trunk-4fac42b1a262e93adcbc0cd0353aafa0369671d2
-|         +--- com.squareup.okhttp3:okhttp:5.3.2 (*)
-|         +--- com.squareup.okhttp3:okhttp-tls:5.3.2
-|         |    +--- com.squareup.okhttp3:okhttp:5.3.2 (*)
-|         |    +--- com.squareup.okio:okio:3.16.4 (*)
-|         |    \--- org.jetbrains.kotlin:kotlin-stdlib:2.2.21 -> 2.3.10 (*)
-|         +--- net.java.dev.jna:jna:5.18.1
-|         +--- rs.wordpress.api:kotlin:trunk-4fac42b1a262e93adcbc0cd0353aafa0369671d2
-|         |    +--- com.squareup.okhttp3:okhttp:5.3.2 (*)
-|         |    +--- com.squareup.okhttp3:okhttp-tls:5.3.2 (*)
-|         |    +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.2 (*)
-|         |    \--- org.jetbrains.kotlin:kotlin-stdlib:2.1.21 -> 2.3.10 (*)
-|         \--- org.jetbrains.kotlin:kotlin-stdlib:2.1.21 -> 2.3.10 (*)
+|    \--- rs.wordpress.api:android:trunk-502e9561f2a68294f0065867bab9214cc9a6b78c
+|         +--- com.squareup.okhttp3:okhttp:5.3.2 (*)
+|         +--- com.squareup.okhttp3:okhttp-tls:5.3.2
+|         |    +--- com.squareup.okhttp3:okhttp:5.3.2 (*)
+|         |    +--- com.squareup.okio:okio:3.16.4 (*)
+|         |    \--- org.jetbrains.kotlin:kotlin-stdlib:2.2.21 -> 2.3.10 (*)
+|         +--- net.java.dev.jna:jna:5.18.1
+|         +--- rs.wordpress.api:kotlin:trunk-502e9561f2a68294f0065867bab9214cc9a6b78c
+|         |    +--- com.squareup.okhttp3:okhttp:5.3.2 (*)
+|         |    +--- com.squareup.okhttp3:okhttp-tls:5.3.2 (*)
+|         |    +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.2 (*)
+|         |    \--- org.jetbrains.kotlin:kotlin-stdlib:2.1.21 -> 2.3.10 (*)
+|         \--- org.jetbrains.kotlin:kotlin-stdlib:2.1.21 -> 2.3.10 (*)
-\--- rs.wordpress.api:android:trunk-4fac42b1a262e93adcbc0cd0353aafa0369671d2 (*)
+\--- rs.wordpress.api:android:trunk-502e9561f2a68294f0065867bab9214cc9a6b78c (*)

@wpmobilebot
Copy link
Copy Markdown
Contributor

App Icon📲 You can test the changes from this Pull Request in WordPress Android by scanning the QR code below to install the corresponding build.

App NameWordPress Android
Build TypeDebug
Versionpr22693-e4bd9d2
Build Number1487
Application IDorg.wordpress.android.prealpha
Commite4bd9d2
Installation URL0nash194qv5fo
Note: Google Login is not supported on these builds.

@wpmobilebot
Copy link
Copy Markdown
Contributor

App Icon📲 You can test the changes from this Pull Request in Jetpack Android by scanning the QR code below to install the corresponding build.

App NameJetpack Android
Build TypeDebug
Versionpr22693-e4bd9d2
Build Number1487
Application IDcom.jetpack.android.prealpha
Commite4bd9d2
Installation URL43d0l10ug0aig
Note: Google Login is not supported on these builds.

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 16, 2026

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 37.63%. Comparing base (6ad0a42) to head (e4bd9d2).
⚠️ Report is 2 commits behind head on trunk.

Files with missing lines Patch % Lines
.../wordpress/android/ui/postsrs/PostRsListUiState.kt 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##            trunk   #22693      +/-   ##
==========================================
- Coverage   37.63%   37.63%   -0.01%     
==========================================
  Files        2272     2272              
  Lines      118333   118334       +1     
  Branches    16363    16364       +1     
==========================================
  Hits        44530    44530              
- Misses      70150    70151       +1     
  Partials     3653     3653              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Contributor

@nbradbury nbradbury left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! :shipit:

@adalpari adalpari merged commit f662c9e into trunk Mar 16, 2026
26 checks passed
@adalpari adalpari deleted the internal/update-wordpress-rs branch March 16, 2026 16:41
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.

4 participants