The GitHub Actions job "Release Auditing" on 
texera.git/backport/8002-guard-resends-by-destination-v1.2 has failed.
Run started by GitHub user github-actions[bot] (triggered by 
github-actions[bot]).

Head commit for run:
1273113aca184bc231ecff94693bcaa0c310418a / anthonychengit 
<[email protected]>
fix(amber): guard resends by destination (#8002)

### What changes were proposed in this PR?

Use the destination worker, rather than the sender, when deciding
whether an unacknowledged network message can be resent.

```text
Before: timeout -> sender exists -> resend toward a removed destination
After:  timeout -> destination exists -> resend; otherwise keep the message 
pending
```

Regression tests cover both directions: a registered destination with an
unknown sender resends successfully, while a registered sender with a
missing destination does not resend.

### Any related issues, documentation, discussions?

Closes #6921.

### How was this PR tested?

The two regression tests were added first and both failed against the
old sender guard. After the one-line fix:

```text
sbt "WorkflowExecutionService/testOnly 
org.apache.texera.amber.engine.architecture.common.PekkoMessageTransferServiceSpec"
```

Result: 5 tests passed.

```text
sbt "scalafixAll --check" "scalafmtCheckAll"
git diff --check
```

Result: all lint, formatting, and diff checks passed.

### Was this PR authored or co-authored using generative AI tooling?

Generated-by: Codex was used for implementation and verification
assistance. I reviewed the final code and test output before submission.

(backported from commit e54ecd2970ac8d2099c1e8f061cf053d32dd5e85)

Report URL: https://github.com/apache/texera/actions/runs/33140143854

With regards,
GitHub Actions via GitBox

Reply via email to