Skip to content

S-13442: document the RRPair elapsed metadata line - #801

Merged
mleray24 merged 1 commit into
mainfrom
s-13442-rrpair-elapsed-duration
Oct 2, 2026
Merged

mleray24 merged 1 commit into
mainfrom
s-13442-rrpair-elapsed-duration

Conversation

@mleray24

@mleray24 mleray24 commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

What

speedscale!7119 adds RRPair.elapsed, a full-precision google.protobuf.Duration, next to the millisecond duration. proxymock markdown files gain an elapsed: metadata line. The duration: line stays an integer so older proxymock versions can still read new recordings.

  • proxymock/how-it-works/rrpair-format.md documents both lines. It also says that editing either one changes the mock delay, and that duration: 0ms makes a mock respond immediately.
  • Writing gate fix: check-public-writing.mjs toggled fence state on any run of three or more backticks. The inner ``` fences in this page's ```` examples closed the outer block, so the example lines were flagged as hard-wrapped prose. Fences now follow CommonMark: a block closes only on the same character, repeated at least as many times as the opener. A new test covers it and fails without the fix.

Linear: S-13442. Merge after speedscale!7119 ships in a proxymock release.

Testing

  • yarn test:writing: 21 pass.
  • yarn check:writing on the change: 0 errors.
  • The pre-push hook (check:writing:pushed, test:writing, yarn build) passed.

🤖 Generated with Claude Code

proxymock markdown files now carry "elapsed:" next to the integer
"duration:" line. Documents both, and that editing either one changes the
mock delay.

The writing gate treated the ``` fences inside a ```` example as closing
the outer block, so it flagged the example lines as prose. Fences now
follow CommonMark: only a run of the same character at least as long as
the opener closes a block.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown

@mleray24
mleray24 merged commit ac30b7a into main Oct 2, 2026
2 checks passed
@mleray24
mleray24 deleted the s-13442-rrpair-elapsed-duration branch October 2, 2026 17:35
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.

2 participants