Skip to content

fix(agent): classify ACP and provider errors#518

Merged
kaizhou-lab merged 1 commit into
mainfrom
fix/bedrock-sso-expired-error
Jun 25, 2026
Merged

fix(agent): classify ACP and provider errors#518
kaizhou-lab merged 1 commit into
mainfrom
fix/bedrock-sso-expired-error

Conversation

@kaizhou-lab

@kaizhou-lab kaizhou-lab commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Map explicit ACP protocol errors to specific structured agent error codes instead of UNKNOWN_UPSTREAM_ERROR.
  • Add USER_LLM_PROVIDER_AWS_SSO_EXPIRED for Bedrock/AWS SSO expired provider auth failures.
  • Stop recommending feedback for unknown upstream/protocol errors where ownership is not AionUi.

Related

Test Plan

  • cargo test -p aionui-conversation service_test::send_message_persists_error_tip_when_agent_build_fails
  • just push -u origin fix/bedrock-sso-expired-error

@kaizhou-lab kaizhou-lab enabled auto-merge (squash) June 25, 2026 11:15
@kaizhou-lab kaizhou-lab merged commit ef573d0 into main Jun 25, 2026
6 checks passed
@kaizhou-lab kaizhou-lab deleted the fix/bedrock-sso-expired-error branch June 25, 2026 11:19
kaizhou-lab pushed a commit that referenced this pull request Jun 25, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.1.37](v0.1.36...v0.1.37)
(2026-06-25)


### Features

* **agent:** detect availability via session/new probe and
assistant-first identity
([#500](#500))
([6c9a721](6c9a721))
* **conversation:** add cursor pagination for messages
([#515](#515))
([ba76273](ba76273))


### Bug Fixes

* **agent:** classify ACP and provider errors
([#518](#518))
([ef573d0](ef573d0))
* **aionrs:** adapt runtime guard config
([#510](#510))
([464f453](464f453))
* **conversation:** recover dead ACP turns after agent process loss
([#514](#514))
([e0ce4f4](e0ce4f4))
* **db:** repair legacy handoff schema drift
([#516](#516))
([292e5f2](292e5f2))
* validate skill frontmatter as yaml
([#512](#512))
([6b46055](6b46055))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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