Skip to content

test(watchdog): wait for the stray launcher instead of sleeping 500 ms, so a loaded runner cannot fail the reopen test - #392

Merged
GeiserX merged 1 commit into
mainfrom
test/watchdog-stray-wait
Oct 11, 2026
Merged

GeiserX merged 1 commit into
mainfrom
test/watchdog-stray-wait

Conversation

@GeiserX

@GeiserX GeiserX commented Oct 11, 2026 •

Copy link
Copy Markdown
Owner

The watchdog reopen test "a launcher with nothing below it is stopped" failed twice in two days on the macOS runner (PR #388 attempt 1 and PR #390 attempt 1), both times with expect(b.unreaped(stray.pid)).toBe(1) getting 0. The test slept a fixed 500 ms after spawning the fake stray launcher and then asserted that its exited child was already there; on a loaded shared runner the spawn took longer than that.

The sleep becomes a wait: the test polls unreaped until it reads 1, with a 10 s deadline, through the file's existing waitFor. The assertion is the same; only the fixed wait is gone. A stray that never shows up still fails, at the deadline.

…s, so a loaded runner cannot fail the reopen test
@coderabbitai

coderabbitai Bot commented Oct 11, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 6 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Repository: GeiserX/akou/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0465c7bf-a3ef-4f56-90db-ea07c1465405

📥 Commits

Reviewing files that changed from the base of the PR and between 481d50e and 575b98a.


📒 Files selected for processing (1)
  • tests/watchdog.test.ts

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@GeiserX
GeiserX merged commit 0b200f5 into main Oct 11, 2026
29 checks passed
@GeiserX
GeiserX deleted the test/watchdog-stray-wait branch October 11, 2026 11:58
GeiserX added a commit that referenced this pull request Oct 12, 2026
… window behaves (#400)

The version bump for 1.1.0. The release itself is the `v1.1.0` tag on main once this is merged and `ci-ok` is green there.

## What 1.1.0 ships

The CHANGELOG section in this PR is the release note. In short: the server speaks Wyoming for Home Assistant's Assist (#395) and answers Bazarr's whisper endpoints (#396), both off by default; the desktop window stops scrolling past the app and the note and fix boxes grow with their text (#397); the ask box pre-starts the harness (#393); the recognizer loads from the call's start (#394); on four x64 cores a live line commits 0.4 s sooner (#391); the Docker Hub page is filled from the README (#389, #390); the watchdog test and the nightly stop flaking (#392, #399).

## The evidence a stable release needs (CI-28)

- **The 8-hour soak**, at real time with a busy process on every core, through the Rust helper in file mode, on main at b87ba3b (every change in this release but the UI-only #397): 9 of 9 checks ok, no audio hole, heap growth 0.16 MB, event loop late by at most 186 ms. The JSON is `docs/gates/soak-1.1.0.json`.
- **The terms table** has a row dated 2026-10-12. Both vendors' pages were read again today. Anthropic's pages are unchanged word for word. OpenAI's pages refuse plain fetches and the web archive was offline, so they were read in a browser: same dates, same clauses. The Consumer Terms outside the EEA could not be re-read today, and the row says so.
- `bun scripts/stamp-version.ts --check --tag v1.1.0` exits 0; with `v1.1.1` it exits 1, the control.

## Also in this PR

- The server docs' image tags and the README's DMG name say 1.1.0.
- `docs/DESIGN.md` step 6 states the x64 provisional rule that #391 introduced, which the judge of that PR asked for.

Depends on #399 merging first, since the CHANGELOG names it; I will bring main into this branch once it lands.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant