GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: stabilize Link preflight and standalone stop checks by luvs01 · Pull Request #9064 · lidge-jun/opencodex

Conversation

@luvs01

@luvs01 luvs01 commented Nov 23, 2026 •
edited by coderabbitai Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Collaborator

Summary

Two tests failed on the Ubuntu changed-test run for #9061.

  • The Link test keeps a real loopback peer. Once the peer receives the complete credential-free probe, the test advances its clock to the original 20 ms deadline. It still checks that the operation fails with the expected timeout, sends no credentials, and leaves the request body untouched. A real abort cleans up if the probe never arrives.
  • The stop test runs each matching or mismatching standalone record in its own temporary home. Each case has the standard five-second test timeout. Previously three separate CLI invocations shared one five-second limit. The real CLI arguments, platform-specific coverage and total number of child invocations are preserved.

Verification

  • Reproduced the original Link failure by delaying delivery to the test peer for 90 ms. The revised test passed under the same delay. When the probe was withheld, it failed as expected and the process exited.
  • On Windows x64 with Bun 1.4.4, the Link test file passed all 17 cases (94 assertions). On the combined commit, the two affected files with a name filter selecting the changed cases passed 6 cases with 58 assertions. One POSIX-only case was skipped.
  • bun check --no-script --noEmit, bun scripts/structure-ssot.ts and git diff --check passed. Local testing focused on the changed fixtures. The Ubuntu CI run covers the POSIX-only input.

Checklist

  • Only changed the two tests that failed in the linked run.
  • Checked that the changes affect test setup and scheduling only.
  • Preserved the assertions about stop authorization, signals, credentials, and request bodies.

Summary by CodeRabbit

  • Tests
    • Improved coverage for authentication timeouts, confirming a silent peer triggers the expected timeout even when the request has a longer abort window, and that the request body remains unread and uncancelled.
    • Expanded stop-operation checks for matching and mismatched records. Tests confirm valid legacy and current records permit ordinary stops after discovery misses, while wrong-home, wrong-port, stale, and client-role records prevent stop requests and signals.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
luvs01 added 2 commits November 23, 2026 10:44
@luvs01
test(stop): isolate independent standalone ownership cases
260084a
@luvs01
test(link): expire the relay auth clock after the silent peer receive…
7cec010
…s the probe
@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The changes update two test areas. The relay test controls when its authentication timeout expires. The deferred-teardown tests separate matching-record stop cases from mismatch cases and add assertions about receipts, signals, stop URLs, and nonces.

Changes: Relay authentication timeout test

Layer / File(s) Summary
Control the silent-peer timeout
tests/clients/link-relay-bound-transport.test.ts
The test names the 20 ms timeout and advances the fake timer after the peer receives the authentication probe. It supplies a 2-second abort signal and restores real timers in a finally block. Existing assertions continue to check that the request body is neither read nor cancelled.

Deferred teardown stop tests

Layer / File(s) Summary
Check matching and mismatched records
tests/service/stop-deferred-teardown.test.ts
Separate tests verify that legacy and current records permit an ordinary stop after a discovery miss, including the absence of a receipt. Wrong-home, wrong-port, stale, and client-role records refuse the stop; the tests also check that no signal, stop URL, or nonce is issued. The wrong-home case remains skipped on Windows.

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Other

Possibly related PRs

  • lidge-jun/opencodex#8834: Updates fixtures in the same test file to address the 20 ms authentication window expiring before the data request starts.
Merge Risk: Minimal · up to 68730

This change only stabilizes two tests and does not alter production behavior. No actionable merge-blocking risk is evident.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "test: stabilize Link preflight and standalone stop checks" matches the PR objectives. The PR changes two test files: the Link relay-bound transport test now advances the 20 ms fake-timer de…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "test: stabilize Link preflight and standalone stop checks" matches the PR objectives. The PR changes two test files: the Link relay-bound transport test now advances the 20 ms fake-timer deadline only after the peer receives the probe, and the standalone stop test runs each record in its own temporary home. The title names both affected areas and uses the conventional test: prefix. It is specific and does not describe anything outside the changeset.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • 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

  • X
  • Mastodon
  • Reddit
  • LinkedIn
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: lidge-jun/opencodex
  • Branch: dev
  • File: .coderabbit.yaml
  • Commit: 49554a1
  • Layers: Repository YAML
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: a0b64475-81d5-448e-b005-889bf7c08583
Commits

Reviewing files that changed from the base of the PR and between 7cec010 and 68730c7.

Files selected for processing: 1

  • tests/clients/link-relay-bound-transport.test.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions

github-actions Bot commented Nov 23, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

✅ Deterministic PR hygiene checks passed.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot added the chore Maintenance, CI, tests, refactors, or build changes (not a user-facing bug or feature). label Nov 23, 2026
@luvs01 luvs01 mentioned this pull request Nov 23, 2026
fix(vision): apply caller model scope to the selected helper #9061
Merged
3 tasks done
@luvs01
luvs01 marked this pull request as ready for review November 23, 2026 01:56
@luvs01
luvs01 requested review from Ingwannu and lidge-jun as code owners November 23, 2026 01:56
lidge-jun added 2 commits November 25, 2026 10:10
@lidge-jun
Merge remote-tracking branch 'origin/dev' into lanew/9064
82fac6d
@lidge-jun
test(link): abort a missing relay probe well inside the test timeout
68730c7
@lidge-jun

lidge-jun commented Nov 25, 2026

Copy link
Copy Markdown
Owner

Maintainer integration (lane W, @lidge-jun) at exact head 68730c72c7112c42557709c953621f81b9f925d9, which contains dev 49554a1221.

  • Added 68730c72c7: the missing-probe watchdog now aborts after 2 s, inside the 5 s test timeout, so finally always restores real timers (independent review finding).
  • PR CI on this head: gates, test changed, ci, hygiene, enforce-target, CodeRabbit all pass.
  • Real Windows x64 (Bun 1.4.4), PR head merged with dev: both changed files 163 pass / 10 skip / 0 fail.
  • macOS: bun run typecheck clean; bun run test:changed 173 pass / 0 fail; both files 173 pass.
  • Independent gpt-6.1-terra review, two rounds: PASS, no open findings.
  • scripts/ci/assert-mergeable-review.sh --maintainer-integration 9064: OK.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lidge-jun
lidge-jun merged commit 9c3ddc4 into lidge-jun:dev Nov 25, 2026
31 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@shu-chen-dot-ca shu-chen-dot-ca mentioned this pull request Nov 25, 2026
fix(gui): let the Combos page scroll past suggested combos #9105
Merged
7 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@lidge-jun lidge-jun Awaiting requested review from lidge-jun lidge-jun is a code owner
@Ingwannu Ingwannu Awaiting requested review from Ingwannu Ingwannu is a code owner

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

chore Maintenance, CI, tests, refactors, or build changes (not a user-facing bug or feature).

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@luvs01 @lidge-jun
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.