• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

umputun / fya / 27921146628
86%
master: 86%

Build:
Build:
LAST BUILD BRANCH: fix/transcript-select-prefix-match
DEFAULT BRANCH: master
Ran 21 Jun 2026 11:38PM UTC
Jobs 1
Files 14
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

21 Jun 2026 11:06PM UTC coverage: 86.341% (+0.2%) from 86.124%
27921146628

Pull #18

github

Rishi Khan
fix: strip undeliverable control chars from prompts to prevent turn wedge

A prompt containing a raw control byte (ESC most notably) silently wedged
the turn: the byte is typed into Claude's interactive TUI rune-by-rune
where it is read as a control key (ESC clears the input line), so the
prompt never submits and the turn hangs until timeout, surfacing as
"select transcript: context error: context canceled".

Empirically every C0 byte (0x01-0x1F) and 0x7F DEL wedge the turn; tab is
unreliable even via bracketed paste; all Unicode >= U+0080 is delivered
fine. Sanitize at the single input boundary so the injected prompt stays
consistent with transcript matching:

- promptNormalizer now expands tab to four spaces (the only deliverable
  whitespace besides LF), alongside the existing CRLF/CR -> LF folding.
- stripUndeliverable removes C0 (except LF) and DEL, emitting a one-line
  stderr warning naming the dropped code points.
- wire input.Request.Warn to stderr in main.

Covered by input tests; full race suite, gofmt and go vet pass.
Pull Request #18: fix: strip undeliverable control chars from prompts to prevent turn wedge

33 of 34 new or added lines in 2 files covered. (97.06%)

7 existing lines in 1 file now uncovered.

1713 of 1984 relevant lines covered (86.34%)

44.02 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
91.89
2.06% app/input/input.go

Coverage Regressions

Lines Coverage ∆ File
7
91.89
2.06% app/input/input.go
Jobs
ID Job ID Ran Files Coverage
1 27921146628.1 21 Jun 2026 11:38PM UTC 14
86.34
GitHub Action Run
Source Files on build 27921146628
  • Tree
  • List 14
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #18
  • PR Base - master (#27661884123)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc