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

HarryR / nt365 / 26807870607
44%

Build:
DEFAULT BRANCH: main
Ran 02 Jun 2026 08:31AM UTC
Jobs 1
Files 577
Run time 2min
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

02 Jun 2026 08:25AM UTC coverage: 43.912% (+0.2%) from 43.738%
26807870607

push

github

HarryR
nt.term: composable event-driven terminal stack; retire nt.tty

Replace the monolithic nt.tty (line discipline fused with a serial I/O
pump and child spawning, none of it reusable) with a layered,
transport-agnostic terminal subsystem under nt/term, each piece
independently testable:

  sched    cooperative coroutine scheduler + in-process channel + await
           (no polling, no spin: blocking is a yield, progress a resume)
  keys     integer key-event enums (events are two numbers - JIT-lean,
           zero per-keystroke allocation)
  vt       byte -> key-event decoder (the VT/ANSI input vocabulary,
           decoded once here)
  edit     reusable line editor (readline-style); pure declarative state
  render   declarative (text,cursor) -> minimal VT byte deltas
  line     the readline loop over any transport
  stream   overlapped byte-transport over an NT handle (serial/pipe/...)
  child    spawn a process under overlapped pipe stdio; pipe names from
           the ClientId, so no cross-lua_State collisions (the old _seq bug)
  bridge   raw / cooked relays between a terminal and a child
  console  serial console backend (exclusive relative-reopen + first-byte
           timeouts + ByteOffset)
  run      console + child + bridge composition - the nt.tty.run drop-in

The spine is structured/numeric internally with VT only at the edges, so
the same stack drives the serial console now and a socket/ssh transport
or an in-process Lua app later. The logic tier (sched/vt/edit/render/line)
is pure and host-tested; the kernel tier (stream + bridge over real pipes
and a spawned lua.exe, raw and cooked) is covered on boot.

fs.NtReadFile: treat STATUS_PIPE_BROKEN / PIPE_CLOSING as end-of-stream
(like END_OF_FILE) instead of raising - a pipe whose writer has closed is
EOF, not a fault, so a reader (nt.io over a piped stdin) sees a clean
0-byte EOF. Without this a child reading its stdin to EOF crashed.

test: restructured into per-subsystem all.lua aggregato... (continued)

50086 of 114059 relevant lines covered (43.91%)

2901.71 hits per line

Coverage Regressions

Lines Coverage ∆ File
29
52.63
-4.7% src/NT/PRIVATE/NTOS/NTHALS/HAL/I386/random.c
17
74.29
-2.01% src/NT/PRIVATE/NTOS/NTFS/INDEXSUP.C
9
74.56
-3.95% src/NT/PRIVATE/NTOS/OB/OBSE.C
7
70.97
-4.52% src/NT/PRIVATE/NTOS/FSRTL/NAME.C
5
50.62
-0.99% src/NT/PRIVATE/NTOS/CACHE/COPYSUP.C
5
87.5
0.4% src/NT/PRIVATE/NTOS/RNG/RNGSYS.C
4
40.31
-1.25% src/NT/PRIVATE/NTOS/RTL/BITMAP.C
4
75.81
-3.23% src/NT/PRIVATE/NTOS/RTL/I386/MOVEMEM.ASM
3
73.9
-1.2% src/NT/PRIVATE/NTOS/AFD/RECVVC.C
3
71.96
-2.8% src/NT/PRIVATE/NTOS/KE/THREDSUP.C
3
86.16
-0.94% src/NT/PRIVATE/NTOS/MM/ADDRSUP.C
3
83.33
-6.67% src/NT/PRIVATE/NTOS/RNG/RNGKAT.C
3
28.65
-0.84% src/NT/PRIVATE/NTOS/TDI/TCPIP/TCP/TCB.C
2
53.55
-0.51% src/NT/PRIVATE/NTOS/EX/RESOURCE.C
1
44.89
-0.06% src/NT/PRIVATE/NTOS/NTFS/CREATE.C
1
70.46
0.13% src/NT/PRIVATE/NTOS/NTHALS/HAL/I386/time.c
1
82.86
-0.32% src/NT/PRIVATE/NTOS/OB/OBDIR.C
1
56.0
-0.31% src/NT/PRIVATE/NTOS/SE/ACCESSCK.C
Jobs
ID Job ID Ran Files Coverage
1 26807870607.1 02 Jun 2026 08:31AM UTC 577
43.91
GitHub Action Run
Source Files on build 26807870607
  • Tree
  • List 577
  • Changed 44
  • Source Changed 4
  • Coverage Changed 44
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26807870607
  • c3e4a69c on github
  • Prev Build on main (#26725532291)
  • Next Build on main (#26828346494)
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