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

jzombie / term-wm / 32782721526
86%

Build:
DEFAULT BRANCH: main
Ran 24 Aug 2026 10:15PM UTC
Jobs 1
Files 156
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

24 Aug 2026 10:03PM UTC coverage: 85.955% (-0.09%) from 86.044%
32782721526

push

github

web-flow
fix(workspace): CI test flakiness (#317)

* fix(workspace): CI test flakiness

Added

- **Configurable log path (`TERM_WM_LOG_FILE`, #270):** tracing events
  can now tee to a durable file instead of living only in the in-memory
  Debug Log ring buffer (lost on exit). In the `term-wm` binary every
  event that reaches the Debug Log window also appends to the configured
  file; framework noise redirected at the OS level flows there too. The
  `term-session` daemon gains a matching subscriber: detached daemons
  null their stdio by design (an undrained pipe would deadlock startup),
  so until now their diagnostics were unrecoverable on any failure; with
  `TERM_WM_LOG_FILE` set they write full tracing output (honoring
  `RUST_LOG`) to the file instead of discarding it. The root binary's
  standalone `--daemon` mode, which previously had no subscriber at all,
  now initializes logging as well. Opening the file is best-effort:
  failures fall back to existing behavior with a warning.
- **Shared deterministic test utilities (`term-test-support`, #309):** a
  new dev-only workspace crate consolidates the patterns every suite was
  hand-rolling: `wait_for`/`wait_for_async` deadline-bounded condition
  polling, `KillOnDrop` RAII cleanup guards (fire exactly once,
  including during panic unwinding), a thread-safe `ManualClock` virtual
  clock for timer tests, `unique_gateway_name` (pid + counter IPC
  names), and `apply_test_logging`, which points spawned test processes
  at `TERM_WM_LOG_FILE` under a stable per-run directory
  (`TERM_WM_TEST_LOG_DIR`, default `<temp>/term-wm-test-logs/`) so CI
  can archive daemon diagnostics from failed runs.

Fixed

- **Recurring CI test flakiness eliminated at the roots (#309):** no
  retry layer was added; every known flake class got a deterministic
  fix. Blind fixed sleeps in the daemon/session suites (a 2 s wait for
  the whole auto-spawn chain in `daemon_survives_parent_death`, a 1 s
  teardown hope, a 100 ms gateway... (continued)

462 of 509 new or added lines in 19 files covered. (90.77%)

67 existing lines in 4 files now uncovered.

53103 of 61780 relevant lines covered (85.96%)

243758.68 hits per line

Uncovered Changes

Lines Coverage ∆ File
18
59.42
-18.36% src/logging.rs
11
81.36
crates/term-test-support/src/clock.rs
7
85.11
crates/term-test-support/src/guard.rs
6
95.22
-2.39% crates/term-wm-config/src/env.rs
3
93.06
-0.63% crates/term-wm-core/src/task_scheduler.rs
1
98.04
crates/term-test-support/src/log_capture.rs
1
42.75
-0.33% src/main.rs

Coverage Regressions

Lines Coverage ∆ File
27
89.77
-1.36% crates/term-wm-pty-engine/src/pty.rs
20
77.26
-4.79% crates/term-session/src/lib.rs
17
89.63
-0.84% crates/term-session-server/src/session_server.rs
3
95.37
-1.26% crates/term-session-server/src/session.rs
Jobs
ID Job ID Ran Files Coverage
1 32782721526.1 24 Aug 2026 10:14PM UTC 156
85.96
GitHub Action Run
Source Files on build 32782721526
  • Tree
  • List 156
  • Changed 14
  • Source Changed 13
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #32782721526
  • f4e35b32 on github
  • Prev Build on main (#32740338000)
  • Next Build on main (#32787348500)
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