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

urwid / urwid / 29938032330
73%

Build:
DEFAULT BRANCH: master
Ran 22 Jul 2026 04:28PM UTC
Jobs 11
Files 63
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

22 Jul 2026 04:26PM UTC coverage: 72.493% (+0.01%) from 72.483%
29938032330

push

travis-pro

web-flow
Fix web display broken by token_urlsafe session ids (#1195)

The "more complex identifiers" change switched session id generation to
`secrets.token_urlsafe(16)`, but two spots were not updated to match, so
every keyboard-input / polling request to the web display is rejected:

1. `handle_short_request()` still validated the client-supplied id against
   `len <= 20` and a digits-only charset, while `token_urlsafe(16)` returns
   a 22-char URL-safe base64 string. Legitimate ids were answered with
   `414 URI Too Long` / `403 Forbidden`. The validator now accepts the
   URL-safe base64 alphabet (which is filesystem-safe, so path-traversal is
   still rejected) with a generous length bound.

2. The pipe name is created as `urwid_{id}` but the request handler opened
   `urwid{id}` (missing underscore), so even a valid id resulted in
   `404 Not Found`. The handler now uses the same `urwid_{id}` prefix.

Co-authored-by: zeyouliu <zeyouliu@tencent.com>
Co-authored-by: Cursor <cursoragent@cursor.com>

1941 of 2583 branches covered (75.15%)

Branch coverage included in aggregate %.

0 of 6 new or added lines in 1 file covered. (0.0%)

104 existing lines in 1 file now uncovered.

8519 of 11846 relevant lines covered (71.91%)

7.33 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
9.94
0.06% urwid/display/web.py

Coverage Regressions

Lines Coverage ∆ File
104
9.94
0.06% urwid/display/web.py
Jobs
ID Job ID Ran Files Coverage
1 run-3.9-windows-latest" - 29938032330.1 22 Jul 2026 04:30PM UTC 61
63.11
Travis Job
2 run-3.12-ubuntu-latest" - 29938032330.2 22 Jul 2026 04:28PM UTC 61
72.84
Travis Job
3 run-3.12-windows-latest" - 29938032330.3 22 Jul 2026 04:29PM UTC 61
63.07
Travis Job
4 run-3.13-ubuntu-latest" - 29938032330.4 22 Jul 2026 04:28PM UTC 61
72.84
Travis Job
5 run-3.13-windows-latest" - 29938032330.5 22 Jul 2026 04:29PM UTC 61
63.08
Travis Job
6 run-3.11-ubuntu-latest" - 29938032330.6 22 Jul 2026 04:28PM UTC 61
72.85
Travis Job
7 run-3.10-ubuntu-latest" - 29938032330.7 22 Jul 2026 04:28PM UTC 61
72.87
Travis Job
8 run-3.14-ubuntu-latest" - 29938032330.8 22 Jul 2026 04:28PM UTC 61
72.84
Travis Job
9 run-3.11-windows-latest" - 29938032330.9 22 Jul 2026 04:29PM UTC 61
63.09
Travis Job
10 run-3.10-windows-latest" - 29938032330.10 22 Jul 2026 04:29PM UTC 61
63.1
Travis Job
11 run-3.9-ubuntu-latest" - 29938032330.11 22 Jul 2026 04:28PM UTC 61
72.87
Travis Job
Source Files on build 29938032330
  • Tree
  • List 63
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Travis Build #29938032330
  • 2a3570b1 on github
  • Prev Build on master (#29901344430)
  • Next Build on master (#30005006881)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc