fix: preserve UTF-8 characters split across PTY reads
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 55/100
Research direction
Locate the PTY read and decoding path, then inspect how spawned terminal sessions set their locale. Add regression coverage for a multibyte UTF-8 character split across reads and verify decoder flushing on close; finish by checking the 200-line mixed-Unicode response through Omnigent attached to CoDA has no replacement characters.
Written by the indexing model from the issue text.
Description
Problem
CoDA decodes each arbitrary PTY read independently with replacement enabled. When a multibyte UTF-8 character is split across reads, the partial sequences are permanently converted to replacement characters. Large Pi and OpenCode outputs make this readily observable through an Omnigent-attached host.
Acceptance criteria
- Decode PTY output incrementally across read boundaries.
- Flush decoder state when the stream closes.
- Ensure spawned terminal sessions use a UTF-8 locale.
- Add regression coverage for split multibyte characters.
- Verify a 200-line mixed-Unicode response through Omnigent attached to CoDA with zero replacement characters.
- Dominant language
- Python
- Stars
- 40
- Forks
- 11
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from databrickslabs/coding-agents-databricks-apps
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
All issues in databrickslabs/coding-agents-databricks-apps
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
spec-kitty/spec-kitty#5319 ·
Maintainers usually reply within 1 day
-
backend::vllm diffusion multimodal
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
openai/openai-agents-python#5229 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day