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

bokwoon95 / wgo
83%

Build:
DEFAULT BRANCH: main
Repo Added 26 Jan 2023 06:28PM UTC
Files 3
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

LAST BUILD ON BRANCH main
branch: main
CHANGE BRANCH
x
Reset
  • main
  • patch-1

06 Feb 2026 06:43PM UTC coverage: 83.123% (+0.3%) from 82.843%
21762548010

push

github

bokwoon95
Fix -stdin being blocked after a restart until Enter is pressed.

Closes #22.

os.Stdin.Read() blocks until a newline `\n` is provided (due to the OS doing
line-by-line buffering https://groups.google.com/g/golang-nuts/c/NvD-pOTASIk).
Therefore, do not tie the lifecycle of a command with os.Stdin.Read(). Instead,
read from os.Stdin continuously in a background goroutine and feed its data
into the stdinPipe of whichever exec.Cmd is currently running.

24 of 24 new or added lines in 1 file covered. (100.0%)

660 of 794 relevant lines covered (83.12%)

207.95 hits per line

Relevant lines Covered
Build:
Build:
794 RELEVANT LINES 660 COVERED LINES
207.95 HITS PER LINE
Source Files on main
  • Tree
  • List 3
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
21762548010 main Fix -stdin being blocked after a restart until Enter is pressed. Closes #22. os.Stdin.Read() blocks until a newline `\n` is provided (due to the OS doing line-by-line buffering https://groups.google.com/g/golang-nuts/c/NvD-pOTASIk). Therefore, d... push 06 Feb 2026 07:07PM UTC bokwoon95 github
83.12
21684644438 main main(): print error only if not context.Canceled push 04 Feb 2026 07:06PM UTC bokwoon95 github
82.84
21683459099 main TestWgoCmd_Run/signal_on: add context.DeadlineExceeded check push 04 Feb 2026 06:29PM UTC bokwoon95 github
85.02
21636505341 main delete windows-specific Test_stop Doesn't seem to work anymore on Windows 11's Notepad, forget it. macOS doesn't have such a test anyway, it's fine that Windows doesn't test its stop() as well. push 03 Feb 2026 03:34PM UTC bokwoon95 github
85.02
19253359968 main fix tests badge to point at wgo instead of sq push 11 Nov 2025 02:54AM UTC web-flow github
83.99
18922903829 main fix bug where we were unwatching everything but 256 files, instead of just unwatching 256 files Unwatching occurs when we hit the syscall.EMFILE error ("too many open files"), and we need to unwatch so that we have some file descriptors available... push 29 Oct 2025 09:41PM UTC bokwoon95 github
83.87
18922406961 main make unwatching when we hit "too many open files" deterministic Also clarify in the log message that it's the number of directories watched, not number of files watched. We don't actually know the number of files watched since we only add directo... push 29 Oct 2025 09:19PM UTC bokwoon95 github
82.84
18913447776 main bump dependencies push 29 Oct 2025 03:35PM UTC bokwoon95 github
83.06
18913333678 main wtf GitHub actions can't use Go 1.25? Let's see if downgrading from go 1.25 to go 1.24 fixes the errors. From the logs: Run go test . -coverprofile=coverage -race go test . -coverprofile=coverage -race shell: /usr/bin/bash -e {0} env: ... push 29 Oct 2025 03:31PM UTC bokwoon95 github
84.21
17016212347 main executing debug (#19) useful to indicate what is being executed push 17 Aug 2025 03:32AM UTC web-flow github
87.6
See All Builds (193)
  • Repo on GitHub
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