Skip to content

build(deps): bump id-android-remote jni 0.21.1 -> 0.22.4 (#16597) - #16598

Merged
developing-today-fleet[bot] merged 1 commit into
mainfrom
lane/1237-f-16597-jni
Nov 28, 2026
Merged

developing-today-fleet[bot] merged 1 commit into
mainfrom
lane/1237-f-16597-jni

Conversation

@developing-today-fleet

@developing-today-fleet developing-today-fleet Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

What

Bump id-android-remote's android-target jni dependency 0.21.1 -> 0.22.4 — item 1 of #16597 (the tracked remainder of #16366, orphaned from closed PR #16305).

Two one-line changes:

  • pkgs/id/crates/id-android-remote/Cargo.toml: jni = "0.21.1" -> jni = "0.22.4"
  • pkgs/id/Cargo.lock: the id-android-remote dependency edge "jni 0.21.1" -> "jni 0.22.4" — nothing else moves. jni 0.22.4 is already resolved in this lock (android-activity 0.6.1, hickory-proto 0.26.3, n0-dns-resolver, rustls-platform-verifier 0.7.1 all use it, with jni-sys 0.4.1 / jni-macros / simd_cesu8 already present), and jni 0.21.1 stays in the lock because netdev 0.47.0 still depends on it. This is exactly the lock delta cargo update produces for this manifest change.

API surface: android_jni.rs uses only JNIEnv::get_string, JNIEnv::new_string, and JString::into_raw — all unchanged in jni 0.22 (the 0.22 crate docs' own example uses the same calls).

Also on the issue

Verification

Exact-head verification is run by lane 1237-F (fleet Actions exec on this head: pkgs/id flake checks cargo-check + test-android-remote with --locked resolution) and its result is posted on this PR before merge. Merge happens only on green.

Refs #16597 (item 1 lands here; the issue stays open for its recorded remainder only if any — item 2 is decided on the issue, item 3 is tracked at #15143).

Authored via the Git-API route by lane 1237-F (alpha DRIVE, 2026-11-28).

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-28T18:49:13Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": null,
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": null,
    "auth_subject": "archer",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

jni 0.22.4 is already resolved in the pkgs/id workspace lock (android-activity, hickory-proto, n0-dns-resolver, rustls-platform-verifier), and jni 0.21.1 stays in the lock for netdev 0.47.0, so the lock change is exactly the id-android-remote dependency edge 0.21.1 -> 0.22.4. The android_jni.rs surface (JNIEnv::get_string, new_string, JString::into_raw) is unchanged in jni 0.22.

Refs #16597. Lane 1237-F.
@coderabbitai

coderabbitai Bot commented Nov 28, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 79db7ad4-b818-406e-b58c-ce682385d76b

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@developing-today-fleet

Copy link
Copy Markdown
Contributor Author

Verification dispatched by lane 1237-F on exact head 66f951756d1234196175da0ca9693e4543e75548:

  • fleet Actions exec was attempted first and failed at dispatch with the known sandbox certificate error (UnknownIssuer, the fleet actions exec: workflow dispatch fails from sandbox seat - invalid peer certificate UnknownIssuer #15575/fleet#127 family) — named fallback used instead.
  • fleet-command run 46178054728 (developing-today/fleet, dispatch_id 1237F-16597-jni-verify, ref = exact head SHA above): cd pkgs/id && nix develop --command cargo check -p id-android-remote --locked && nix develop --command cargo test -p id-android-remote --locked — the --locked runs prove the hand-authored lock edge resolves exactly as cargo requires, and check+test are the host shape of the id workflow's test-android-remote gate for this crate.

Merge follows only on a completed SUCCESS re-read via gh api, with the PR still CLEAN/MERGEABLE at this head. Key: 1237-F

@developing-today-fleet

Copy link
Copy Markdown
Contributor Author

Exact-head verification PASSED (lane 1237-F):

  • fleet-command run 46178054728 (developing-today/fleet) on ref 66f951756d1234196175da0ca9693e4543e75548 = completed / success.
  • Job log (141081165653) re-read firsthand: Target HEAD: 66f951756d1234196175da0ca9693e4543e75548 (exact), Checking id-android-remote v0.1.0 under cargo check --locked (the hand-authored lock edge resolves — no lock regeneration demanded), and cargo test -p id-android-remote --locked suites: 2 passed + 1 passed + 0 passed, 0 failed.
  • Note on scope: android_jni.rs is #[cfg(target_os = "android")], so the host gate (the same shape as the id workflow's test-android-remote check) does not compile it; its jni surface (get_string / new_string / into_raw) was verified unchanged against the jni 0.22 crate docs, whose own example uses the same calls.

PR re-verified OPEN, non-draft, CLEAN/MERGEABLE at the same head immediately before merge. Merging under standing authority. Key: 1237-F

@developing-today-fleet
developing-today-fleet Bot merged commit 759645a into main Nov 28, 2026
2 checks passed
@developing-today-fleet
developing-today-fleet Bot deleted the lane/1237-f-16597-jni branch November 28, 2026 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants