Forward install attempt IDs for remote plugins (#37773)

## Why

Clients need to correlate a remote plugin installation request with a specific
installation attempt.

## What changed

- Add the optional `installAttemptId` field to `PluginInstallParams`.
- Forward the value as `install_attempt_id` in the remote plugin install POST
  body.
- Preserve the existing empty request body when the field is omitted.

## Testing

- Cover protocol serialization and remote install request bodies with and
  without an attempt ID.

GitOrigin-RevId: ffdceff4f9329b650848e6428a9ba39646c242c3
This commit is contained in:
kylepatel-oai authored and copyberry committed 2026-08-10 03:28:19 +00:00
1 parent c9c6c0daa9
commit 89a335ed50
16 files changed
+186 -11

No files matched your search

@@ -1134,6 +1134,7 @@ pub(super) async fn fetch_plugin_install(
params: PluginInstallParams {
marketplace_path,
remote_marketplace_name,
install_attempt_id: None,
plugin_name,
},
})