Skip to content

[TPU/Raiden/FaultInjection] Replace transfer_send_session.push.task with raiden_manager_base.h2h.write - #1037

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_987252591
Sep 24, 2026
Merged

copybara-service[bot] merged 1 commit into
mainfrom
test_987252591

Conversation

@copybara-service

Copy link
Copy Markdown

[TPU/Raiden/FaultInjection] Replace transfer_send_session.push.task with raiden_manager_base.h2h.write

Why

transfer_send_session.push.task sits at the start of the push_pool
lambda rather than a concrete operation boundary, making it less useful for
testing transport error handling. Replace it with an injection point right
before transport->AsyncPush in H2hWriteDirectAsync.

What

  • Remove transfer_send_session.push.task.
  • Add raiden_manager_base.h2h.write (kRaidenManagerBaseH2hWrite) inside
    RaidenManagerBase::H2hWriteDirectAsync, reporting injected failures
    through on_complete(status).

…ith raiden_manager_base.h2h.write

## Why

`transfer_send_session.push.task` sits at the start of the `push_pool`
lambda rather than a concrete operation boundary, making it less useful for
testing transport error handling. Replace it with an injection point right
before `transport->AsyncPush` in `H2hWriteDirectAsync`.

## What

* Remove `transfer_send_session.push.task`.
* Add `raiden_manager_base.h2h.write` (`kRaidenManagerBaseH2hWrite`) inside
  `RaidenManagerBase::H2hWriteDirectAsync`, reporting injected failures
  through `on_complete(status)`.

PiperOrigin-RevId: 987267146
@copybara-service
copybara-service Bot merged commit b1cd932 into main Sep 24, 2026
2 checks passed
@copybara-service
copybara-service Bot deleted the test_987252591 branch September 24, 2026 06:31
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.

1 participant