The GitHub Actions job "Pull Requests" on 
pekko.git/fix/tls-deferred-close-state has failed.
Run started by GitHub user He-Pin (triggered by He-Pin).

Head commit for run:
211ec6967463751dc35109904d83783c4e69c062 / 虎鸣 <[email protected]>
fix(stream): handle deferred TLS output on inbound close

Motivation:
The GraphStage TLS engine can receive inbound completion while plaintext 
batching or ciphertext flushing is deferred. Its close state can then stall or 
complete before pending protocol output is emitted.

Modification:
Flush buffered ciphertext before choosing the close phase and base completion 
on whether the SSLEngine still requires a wrap. Add deterministic tests that 
hold zero-delay timers and exercise pending plaintext, buffered ciphertext, and 
engine wrap output.

Result:
Inbound close no longer strands the stage in FlushingOutbound, buffered 
ciphertext is emitted before completion, and pending engine output is wrapped 
before shutdown.

Tests:
- rtk sbt "stream-tests / Test / testOnly 
org.apache.pekko.stream.io.TlsGraphStageDeferredCloseSpec" (3 passed)
- rtk sbt "stream-tests / Test / testOnly 
org.apache.pekko.stream.io.TlsGraphStageIsolatedSpec" (7 passed)
- rtk scalafmt --list --mode diff-ref=origin/main
- rtk sbt "headerCreateAll" "+headerCheckAll"
- rtk git diff --check

References:
Refs #2860

Report URL: https://github.com/apache/pekko/actions/runs/29144388670

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to