Skip to content

fix: enforce workspace path whitespace errors across create and runtime#381

Merged
kaizhou-lab merged 5 commits into
mainfrom
agent/bug-fix/7ec05382
Jun 2, 2026
Merged

fix: enforce workspace path whitespace errors across create and runtime#381
kaizhou-lab merged 5 commits into
mainfrom
agent/bug-fix/7ec05382

Conversation

@kaizhou-lab
Copy link
Copy Markdown
Contributor

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

Summary

  • split workspace-whitespace handling into dedicated create-time and runtime error codes with structured details
  • enforce the create-time rule across conversations, teams, and cron APIs while keeping auto-provisioned temp workspaces valid when the user did not choose a path
  • persist runtime send-failure tips with structured workspace error data so reloading history keeps the dedicated runtime code and workspace path

Verification

  • cargo fmt --all
  • cargo test -p aionui-common
  • cargo test -p aionui-api-types
  • cargo test -p aionui-api-types agent_error
  • cargo test -p aionui-cron
  • cargo test -p aionui-ai-agent send_error
  • cargo test -p aionui-conversation send_message_rejects_legacy_workspace_with_runtime_error_code
  • cargo test -p aionui-app --test message_e2e t2_1b_send_message_legacy_workspace_returns_runtime_whitespace_code
  • cargo test -p aionui-app --test message_e2e t2_3b_warmup_legacy_workspace_returns_runtime_whitespace_code
  • cargo test -p aionui-app --test cron_e2e cj3b_create_rejects_workspace_with_whitespace_segment
  • cargo test -p aionui-app --test cron_e2e cj5b_run_now_legacy_workspace_uses_runtime_whitespace_code
  • just push

zk and others added 4 commits June 1, 2026 19:11
Co-authored-by: multica-agent <github@multica.ai>
Co-authored-by: multica-agent <github@multica.ai>
Co-authored-by: multica-agent <github@multica.ai>
@kaizhou-lab kaizhou-lab changed the title fix: normalize agent cwd before spawn fix: enforce workspace path whitespace errors across create and runtime Jun 2, 2026
@kaizhou-lab kaizhou-lab merged commit 9448a36 into main Jun 2, 2026
5 checks passed
@kaizhou-lab kaizhou-lab deleted the agent/bug-fix/7ec05382 branch June 2, 2026 07:19
piorpua pushed a commit that referenced this pull request Jun 2, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.1.19](v0.1.18...v0.1.19)
(2026-06-02)


### Bug Fixes

* **aionui-ai-agent:** classify aionrs API connection errors
([#389](#389))
([c3f16f7](c3f16f7))
* classify missing MCP launcher runtimes
([#387](#387))
([fd8c20c](fd8c20c))
* enforce workspace path whitespace errors across create and runtime
([#381](#381))
([9448a36](9448a36))
* **startup:** add startup phase diagnostics
([#388](#388))
([d24d027](d24d027))

---
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