The GitHub Actions job "Binary Compatibility" on 
pekko.git/worktree-fix-exhaustive-patmat-265 has failed.
Run started by GitHub user He-Pin (triggered by He-Pin).

Head commit for run:
5f5c838140bf58b4e7e3db79512a6d08ec36f6cf / 虎鸣 <[email protected]>
fix: enable strict-unsealed-patmat lint and fix exhaustiveness warnings

Motivation:
The strict-unsealed-patmat lint was disabled globally in #264 to unblock
the build, leaving many pattern matches on non-sealed traits unchecked.
Issue #265 tracks re-enabling this lint.

Modification:
Remove the -Xlint:-strict-unsealed-patmat silencing flag from
PekkoDisciplinePlugin for Scala 2.13. Fix all resulting exhaustiveness
warnings across the codebase:
- Seal Command traits where all subtypes are in the same file
- Add @nowarn annotations where traits are intentionally non-sealed
  (cross-file protocols in tutorials)
- Add catch-all cases for matches on OptionVal and other extractor-only
  types (Collections, stream operators)

Result:
The strict-unsealed-patmat lint is now active for Scala 2.13, catching
future pattern match exhaustiveness issues at compile time.

Tests:
sbt "docs / Test / compile" — success, no exhaustiveness errors

References:
Fixes #265

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

With regards,
GitHub Actions via GitBox


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

Reply via email to