Skip to content

Redesign Kompact error handling surfaces#228

Merged
Bathtor merged 1 commit into
kompics:masterfrom
Bathtor:codex/224-typed-shutdown-errors
May 14, 2026
Merged

Redesign Kompact error handling surfaces#228
Bathtor merged 1 commit into
kompics:masterfrom
Bathtor:codex/224-typed-shutdown-errors

Conversation

@Bathtor
Copy link
Copy Markdown
Contributor

@Bathtor Bathtor commented May 14, 2026

Summary

  • Add SNAFU-backed opaque public errors for runtime shutdown and network bridge failures, preserving source chains, locations, and optional backtraces in printable diagnostics.
  • Redesign serialisation errors around stable actionable kinds and source-preserving variants instead of stringly error payloads.
  • Update runtime shutdown flow so timer shutdown still runs after system-component shutdown failure, and add local AGENTS.md SOPs.

Validation

  • New runtime error tests cover opaque shutdown display formatting, locations, source chains, and backtrace suffix rendering.
  • New serialisation tests cover stable error kinds and preservation of third-party sources.
  • New network bridge tests cover exact diagnostic display and direct preservation of send/IO sources.
  • Existing workspace unit, integration, doctest, and clippy coverage exercises the migrated public APIs and examples.

Closes #224

@Bathtor Bathtor merged commit a767b88 into kompics:master May 14, 2026
23 checks passed
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.

Replace String shutdown errors with proper error types

1 participant