Skip to content

fix: avoid debug formatting in user-facing diagnostics - #534

Merged
wan9chi merged 10 commits into
voidzero-dev:mainfrom
liangmiQwQ:liang/codex/fix-user-facing-debug-formatting
Aug 7, 2026
Merged

fix: avoid debug formatting in user-facing diagnostics#534
wan9chi merged 10 commits into
voidzero-dev:mainfrom
liangmiQwQ:liang/codex/fix-user-facing-debug-formatting

Conversation

@liangmiQwQ

@liangmiQwQ liangmiQwQ commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Follow-up to voidzero-dev/vite-plus#2130.

Motivation

Some Vite Task diagnostics still rendered individual paths and working directories with Rust Debug formatting. This exposed quoted paths and escaped Windows separators in errors and tracing messages.

This PR uses display formatting for those path-oriented values. It intentionally keeps debug formatting for path arrays, command arguments, invalid Unicode environment values, and non-portable paths where the extra structure or escaping is useful.

It also adds a CLI snapshot covering a malformed workspace package and checks the task-server protocol error text directly.

🤖 Generated with Codex

liangmiQwQ and others added 3 commits July 10, 2026 11:00
Co-authored-by: GPT-5 Codex <codex@openai.com>
Co-authored-by: GPT-5 Codex <codex@openai.com>
Co-authored-by: GPT-5 Codex <codex@openai.com>
@liangmiQwQ
liangmiQwQ marked this pull request as ready for review July 10, 2026 03:14
@liangmiQwQ

Copy link
Copy Markdown
Contributor Author

@wan9chi @fengmk2 Please take a look at this if you have time!

@wan9chi wan9chi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@wan9chi
wan9chi merged commit ad48689 into voidzero-dev:main Aug 7, 2026
19 checks passed
@liangmiQwQ
liangmiQwQ deleted the liang/codex/fix-user-facing-debug-formatting branch August 7, 2026 07:45
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.

2 participants