Skip to content

feat(aionrs): map public error codes#496

Draft
TCP404 wants to merge 1 commit into
mainfrom
boii/feat/aionrs-error-adapter
Draft

feat(aionrs): map public error codes#496
TCP404 wants to merge 1 commit into
mainfrom
boii/feat/aionrs-error-adapter

Conversation

@TCP404

@TCP404 TCP404 commented Jun 20, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add a temporary wire-compatible mirror for the new aionrs public error contract
  • map aionrs public error codes to AgentSendError without message-text classification
  • keep the legacy aionrs_engine_error_to_send_error entry as a structured compatibility adapter

Verification

  • just push
    • migration immutability check
    • cargo fix --allow-dirty --allow-staged
    • cargo clippy --fix --workspace --allow-dirty --allow-staged -- -D warnings
    • cargo fmt --all
    • cargo nextest run --workspace
    • 6333 tests run: 6333 passed, 18 skipped

Notes

  • This branch intentionally does not update the aionrs dependency. It mirrors the wire contract while aioncore is still on aionrs v0.1.30.
  • After the aionrs public error PR/dependency update lands, replace the private mirror with aion_protocol::events::PublicError.
  • Depends conceptually on feat(error): add typed public error contract aionrs#140.

- Add a temporary wire-compatible Aionrs public error mirror for the current aionrs dependency.
- Map Aionrs public error codes to AgentSendError without provider message classification.
- Keep the legacy engine-error entry point as a structured compatibility adapter.
@TCP404 TCP404 marked this pull request as draft June 22, 2026 10:20
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