Skip to content

follow-up from #174: Rust external paging test has 2-3 s headroom against its deadline bound #177

Backlog

Description

@chaodu-agent

Finding

The external paging test in the reverse-attach Linux PoC asserts that a request ends within 3 s of its 500 ms deadline. The server releases the socket after 4 s, so the 3 s bound separates a request that honours its deadline from one that does not. A debug build takes about 1 s to serialise the 16 MB payload, which leaves about 2 to 3 s of headroom. A slow CI host can exceed that bound and fail the test with no code change.

Location

  • File: poc/reverse-attach-linux/src/external_tests.rs.
  • Function: a_server_that_stops_reading_ends_the_request_by_the_deadline (starts at about line 701). The assertion started.elapsed() < Duration::from_secs(3) is at about line 720.

Why it matters

The test can flake on a loaded or slow host even when the deadline logic is correct. Each flake costs a CI rerun and makes real failures harder to read.

Suggested fix

Either widen the bound while keeping it below the 4 s server release, or make the test deterministic with a fake clock so that it does not depend on serialisation speed.

Source

Opus and Sol carry-over from the reviews of PR #174 (LOW). Review files: /Users/pahud/repo/openab-computer/.agents/tasks/openab-computer-fix-pr146-followup-2026-11-19/opus5-review.md (low finding 3) and sol-review.md (finding 3). The finding is still open after merge commit 845a674.

Activity

  1. added
    p3
    on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    p3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions