Skip to content

test: the latency stub's paced case allows for a late first write - #570

Merged
SSFSKIM merged 1 commit into
masterfrom
latency-stub-floor
Nov 12, 2026
Merged

SSFSKIM merged 1 commit into
masterfrom
latency-stub-floor

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Nov 12, 2026 •

Copy link
Copy Markdown
Owner

What

test/support/latency-engine-stub.test.ts's paced case asserted that a turn's first-to-last marker span is at least 299 * LATENCY_STUB_PACE_MS - 5 (2,985 ms). It failed class 1a at least five times on trees that touch nothing near the stub (the tracker's row: 2026-10-31, 11-02 twice; then 11-09 and 11-12), each time under the floor by 0.01 to 3 ms.

The stub writes marker k at start + (k - 1) * 10 ms on an absolute schedule, so a timer's earliness or lateness never adds up, and the span is 2,990 ms less however late the first write was. That write's timer is setTimeout(0), behind whatever the loop holds, and a loaded runner delays it by milliseconds.

The floor is now 299 * (LATENCY_STUB_PACE_MS - 1) (2,691 ms): a millisecond a marker. The assertion is there to show the markers were paced and not written in a burst, and a burst still fails it. The comment in the test says this.

The debt tracker's 2026-10-31 row names the fix and when the row is removed.

Proof

Class 1a (static,unit,probes) green on the head 011d0f2: run 43273637453.

Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)

The stub writes marker k at start + (k - 1) * 10 ms on an absolute schedule,
so the span from the first write to the last is 2,990 ms less however late
the first write was; its timer is setTimeout(0), behind whatever the loop
holds, and a loaded runner delays it by milliseconds. The floor of
299 * PACE - 5 failed class 1a five times on trees that touch nothing near
the stub (7.2 ms short at the worst). The floor is now 299 * (PACE - 1): a
millisecond a marker, and a burst still fails it. The debt row names the fix
and when it is removed.

Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-12T18:01:19.345388Z 011d0f2 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@SSFSKIM
SSFSKIM merged commit 011d0f2 into master Nov 12, 2026
@SSFSKIM
SSFSKIM deleted the latency-stub-floor branch November 12, 2026 18:03
SSFSKIM added a commit that referenced this pull request Nov 12, 2026
…ith the render case over its bound by the owner's ruling; the day's landings, thirteen tracker rows and O7's thinking-text correction

DL 272 records #571's Mac gates and measured cases, the footprint placement, and the owner's ruling "머지 후 바로 여유 회복 (Recommended)", which supersedes the 11-11 row's condition; #561, #569, #570 and the charter's benchmark ruling (dee7575) landed the same day. The tracker gains the registry's M9 to M12 and panel-wave residue, #561's relays row, the paired network-change line, the desk's OrgAdmin.amend row and the unbuilt wire-registry cut; the 11-11 mawsd row gains the placement and the ruling. O7's plan gains a dated correction: MAWS-run sessions carry thinking text since 84ada72.

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
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