pepe-http 0.42.2 → 0.43.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -6,6 +6,770 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
8
  ## [Unreleased]
9
+ ## [0.43.1](https://github.com/omarmhaimdat/pepe/compare/v0.43.0...v0.43.1) - 2026-10-17
10
+
11
+ ### Fixed
12
+
13
+ - *(docker)* the from-source image copies the schemas and the plugin marketplace it embeds ([#192](https://github.com/omarmhaimdat/pepe/pull/192))
14
+
15
+ The from-source `Dockerfile` copied `src` and `contrib` only, but the
16
+ binary embeds `schema/*.schema.json` and
17
+ `.claude-plugin/marketplace.json` with `include_str!`, so `docker build
18
+ .` failed with `couldn't read src/../schema/run.schema.json` (seen on
19
+ #185's "The from-source image" check). It now copies both.
20
+
21
+
22
+ - *(ui)* the screen no longer freezes when the terminal falls behind ([#191](https://github.com/omarmhaimdat/pepe/pull/191))
23
+
24
+ The dashboard could freeze, for example in the request inspector while
25
+ scrolling a response with the trackpad.
26
+
27
+ ## Why
28
+
29
+ Every screen wrote its frames on the same loop that reads keys and the
30
+ mouse. When the terminal stopped reading for a moment, that write
31
+ blocked and pepe stopped reading input. A terminal that was itself
32
+ waiting to hand pepe input (a flood of wheel events, and since v0.38
33
+ every pointer move) then never read again. A stack sample of the frozen
34
+ process shows the main thread blocked in `write()`.
35
+ [a3fae55](https://github.com/omarmhaimdat/pepe/commit/a3fae55) made
36
+ Ctrl-C work in that state; this removes the state itself.
37
+
38
+ ## What changes
39
+
40
+ - **Frames are written on a thread of their own** (`terminal::Screen`).
41
+ A screen skips drawing while the terminal hasn't taken the last frame,
42
+ then draws again as soon as it has (`caught_up()`), so input is always
43
+ read. Leaving the screen waits up to a second for the last frames, so
44
+ none lands on the shell. All eight screens use it.
45
+ - **Only clicks and the wheel are requested** (modes 1000, 1015, 1006).
46
+ crossterm's `EnableMouseCapture` also turned on 1002 and 1003 (every
47
+ pointer move), which no screen uses and which redrew the whole screen on
48
+ each move.
49
+ - **Split mouse reports no longer act as keys.** When a read ended right
50
+ after the ESC of a mouse report, crossterm reported Esc, and
51
+ `[<65;80;25M` arrived as typed keys: the inspector closed, the digits
52
+ changed tabs, and a second Esc quit. Now an Esc followed within 30ms by
53
+ `[` is dropped up to the end of the sequence (`terminal::input()`).
54
+
55
+ ## Testing
56
+
57
+ - `cargo test`: 361 pass, including new tests for the split-sequence
58
+ filter. `cargo clippy --all-targets` is clean.
59
+ - Each harness drove the release binary in a pty against a local server
60
+ returning a 27 KiB JSON body, with the inspector open.
61
+ - **A terminal that writes input before reading output:** master froze
62
+ in 7 of 7 runs; this branch froze in none of 6, with about 20,000 events
63
+ in 8 seconds each.
64
+ - **A flood of motion and wheel events:** master quit on a stray Esc;
65
+ this branch kept running and still answered a key afterwards.
66
+ - Quitting still leaves the alternate screen before the verdict is
67
+ printed.
68
+ - Not yet tried by hand in Ghostty or iTerm2.
69
+
70
+
71
+
72
+ ### Other
73
+
74
+ - *(roadmap)* the versions that shipped each item, and the saved tests ([#186](https://github.com/omarmhaimdat/pepe/pull/186))
75
+
76
+ - Every "next release" now names the version that shipped it (v0.17.0 to
77
+ v0.36.0).
78
+ - A new section, **3c. Tests worth keeping**: saved tests, the library,
79
+ `--keep`, recorded runs, a ping as a saved test, and the settings page
80
+ (v0.37.0 to v0.42.0), and three open items: finding the spec from a base
81
+ URL, `pepe init URL`, and Server-Timing recipes.
82
+ - Agents: the Claude Code plugin, npm and PyPI, and the MCP registry.
83
+ - 1.0: `cargo audit` gets its version; the month without a flag change
84
+ restarted with v0.42.0, so 2026-11-13 at the earliest.
85
+ - Not now: themes shipped, so they're out of the dashboard extras.
86
+
87
+
88
+ - bump the github-actions group across 1 directory with 3 updates ([#185](https://github.com/omarmhaimdat/pepe/pull/185))
89
+
90
+ Bumps the github-actions group with 3 updates in the / directory:
91
+ [actions/cache](https://github.com/actions/cache),
92
+ [actions/setup-node](https://github.com/actions/setup-node) and
93
+ [actions/setup-python](https://github.com/actions/setup-python).
94
+
95
+ Updates `actions/cache` from 4 to 6
96
+ <details>
97
+ <summary>Release notes</summary>
98
+ <p><em>Sourced from <a
99
+ href="https://github.com/actions/cache/releases">actions/cache's
100
+ releases</a>.</em></p>
101
+ <blockquote>
102
+ <h2>v6.0.0</h2>
103
+ <h2>What's Changed</h2>
104
+ <ul>
105
+ <li>Update packages, migrate to ESM by <a
106
+ href="https://github.com/Samirat"><code>@​Samirat</code></a> in <a
107
+ href="https://redirect.github.com/actions/cache/pull/1760">actions/cache#1760</a></li>
108
+ </ul>
109
+ <p><strong>Full Changelog</strong>: <a
110
+ href="https://github.com/actions/cache/compare/v5...v6.0.0">https://github.com/actions/cache/compare/v5...v6.0.0</a></p>
111
+ <h2>v5.1.0</h2>
112
+ <h2>What's Changed</h2>
113
+ <ul>
114
+ <li>Bump <code>@​actions/cache</code> to v5.1.0 - handle read-only cache
115
+ access by <a
116
+ href="https://github.com/jasongin"><code>@​jasongin</code></a> in <a
117
+ href="https://redirect.github.com/actions/cache/pull/1775">actions/cache#1775</a></li>
118
+ </ul>
119
+ <p><strong>Full Changelog</strong>: <a
120
+ href="https://github.com/actions/cache/compare/v5...v5.1.0">https://github.com/actions/cache/compare/v5...v5.1.0</a></p>
121
+ <h2>v5.0.5</h2>
122
+ <h2>What's Changed</h2>
123
+ <ul>
124
+ <li>Update ts-http-runtime dependency by <a
125
+ href="https://github.com/yacaovsnc"><code>@​yacaovsnc</code></a> in <a
126
+ href="https://redirect.github.com/actions/cache/pull/1747">actions/cache#1747</a></li>
127
+ </ul>
128
+ <p><strong>Full Changelog</strong>: <a
129
+ href="https://github.com/actions/cache/compare/v5...v5.0.5">https://github.com/actions/cache/compare/v5...v5.0.5</a></p>
130
+ <h2>v5.0.4</h2>
131
+ <h2>What's Changed</h2>
132
+ <ul>
133
+ <li>Add release instructions and update maintainer docs by <a
134
+ href="https://github.com/Link"><code>@​Link</code></a>- in <a
135
+ href="https://redirect.github.com/actions/cache/pull/1696">actions/cache#1696</a></li>
136
+ <li>Potential fix for code scanning alert no. 52: Workflow does not
137
+ contain permissions by <a
138
+ href="https://github.com/Link"><code>@​Link</code></a>- in <a
139
+ href="https://redirect.github.com/actions/cache/pull/1697">actions/cache#1697</a></li>
140
+ <li>Fix workflow permissions and cleanup workflow names / formatting by
141
+ <a href="https://github.com/Link"><code>@​Link</code></a>- in <a
142
+ href="https://redirect.github.com/actions/cache/pull/1699">actions/cache#1699</a></li>
143
+ <li>docs: Update examples to use the latest version by <a
144
+ href="https://github.com/XZTDean"><code>@​XZTDean</code></a> in <a
145
+ href="https://redirect.github.com/actions/cache/pull/1690">actions/cache#1690</a></li>
146
+ <li>Fix proxy integration tests by <a
147
+ href="https://github.com/Link"><code>@​Link</code></a>- in <a
148
+ href="https://redirect.github.com/actions/cache/pull/1701">actions/cache#1701</a></li>
149
+ <li>Fix cache key in examples.md for bun.lock by <a
150
+ href="https://github.com/RyPeck"><code>@​RyPeck</code></a> in <a
151
+ href="https://redirect.github.com/actions/cache/pull/1722">actions/cache#1722</a></li>
152
+ <li>Update dependencies &amp; patch security vulnerabilities by <a
153
+ href="https://github.com/Link"><code>@​Link</code></a>- in <a
154
+ href="https://redirect.github.com/actions/cache/pull/1738">actions/cache#1738</a></li>
155
+ </ul>
156
+ <h2>New Contributors</h2>
157
+ <ul>
158
+ <li><a href="https://github.com/XZTDean"><code>@​XZTDean</code></a> made
159
+ their first contribution in <a
160
+ href="https://redirect.github.com/actions/cache/pull/1690">actions/cache#1690</a></li>
161
+ <li><a href="https://github.com/RyPeck"><code>@​RyPeck</code></a> made
162
+ their first contribution in <a
163
+ href="https://redirect.github.com/actions/cache/pull/1722">actions/cache#1722</a></li>
164
+ </ul>
165
+ <p><strong>Full Changelog</strong>: <a
166
+ href="https://github.com/actions/cache/compare/v5...v5.0.4">https://github.com/actions/cache/compare/v5...v5.0.4</a></p>
167
+ <h2>v5.0.3</h2>
168
+ <h2>What's Changed</h2>
169
+ <ul>
170
+ <li>Bump <code>@actions/cache</code> to v5.0.5 (Resolves: <a
171
+ href="https://github.com/actions/cache/security/dependabot/33">https://github.com/actions/cache/security/dependabot/33</a>)</li>
172
+ <li>Bump <code>@actions/core</code> to v2.0.3</li>
173
+ </ul>
174
+ <p><strong>Full Changelog</strong>: <a
175
+ href="https://github.com/actions/cache/compare/v5...v5.0.3">https://github.com/actions/cache/compare/v5...v5.0.3</a></p>
176
+ <h2>v.5.0.2</h2>
177
+ <h1>v5.0.2</h1>
178
+ <h2>What's Changed</h2>
179
+ <!-- raw HTML omitted -->
180
+ </blockquote>
181
+ <p>... (truncated)</p>
182
+ </details>
183
+ <details>
184
+ <summary>Changelog</summary>
185
+ <p><em>Sourced from <a
186
+ href="https://github.com/actions/cache/blob/main/RELEASES.md">actions/cache's
187
+ changelog</a>.</em></p>
188
+ <blockquote>
189
+ <h1>Releases</h1>
190
+ <h2>How to prepare a release</h2>
191
+ <blockquote>
192
+ <p>[!NOTE]
193
+ Relevant for maintainers with write access only.</p>
194
+ </blockquote>
195
+ <ol>
196
+ <li>Switch to a new branch from <code>main</code>.</li>
197
+ <li>Run <code>npm test</code> to ensure all tests are passing.</li>
198
+ <li>Update the version in <a
199
+ href="https://github.com/actions/cache/blob/main/package.json"><code>https://github.com/actions/cache/blob/main/package.json</code></a>.</li>
200
+ <li>Run <code>npm run build</code> to update the compiled files.</li>
201
+ <li>Update this <a
202
+ href="https://github.com/actions/cache/blob/main/RELEASES.md"><code>https://github.com/actions/cache/blob/main/RELEASES.md</code></a>
203
+ with the new version and changes in the <code>## Changelog</code>
204
+ section.</li>
205
+ <li>Run <code>licensed cache</code> to update the license report.</li>
206
+ <li>Run <code>licensed status</code> and resolve any warnings by
207
+ updating the <a
208
+ href="https://github.com/actions/cache/blob/main/.licensed.yml"><code>https://github.com/actions/cache/blob/main/.licensed.yml</code></a>
209
+ file with the exceptions.</li>
210
+ <li>Commit your changes and push your branch upstream.</li>
211
+ <li>Open a pull request against <code>main</code> and get it reviewed
212
+ and merged.</li>
213
+ <li>Draft a new release <a
214
+ href="https://github.com/actions/cache/releases">https://github.com/actions/cache/releases</a>
215
+ use the same version number used in <code>package.json</code>
216
+ <ol>
217
+ <li>Create a new tag with the version number.</li>
218
+ <li>Auto generate release notes and update them to match the changes you
219
+ made in <code>RELEASES.md</code>.</li>
220
+ <li>Toggle the set as the latest release option.</li>
221
+ <li>Publish the release.</li>
222
+ </ol>
223
+ </li>
224
+ <li>Navigate to <a
225
+ href="https://github.com/actions/cache/actions/workflows/release-new-action-version.yml">https://github.com/actions/cache/actions/workflows/release-new-action-version.yml</a>
226
+ <ol>
227
+ <li>There should be a workflow run queued with the same version
228
+ number.</li>
229
+ <li>Approve the run to publish the new version and update the major tags
230
+ for this action.</li>
231
+ </ol>
232
+ </li>
233
+ </ol>
234
+ <h2>Changelog</h2>
235
+ <h3>6.1.0</h3>
236
+ <ul>
237
+ <li>Bump <code>@actions/cache</code> to v6.1.0 to pick up <a
238
+ href="https://redirect.github.com/actions/toolkit/pull/2435">actions/toolkit#2435
239
+ Handle cache write error due to read-only token</a></li>
240
+ <li>Switch redundant &quot;Cache save failed&quot; warning to debug log
241
+ in save-only</li>
242
+ </ul>
243
+ <h3>6.0.0</h3>
244
+ <ul>
245
+ <li>Updated <code>@actions/cache</code> to ^6.0.1,
246
+ <code>@actions/core</code> to ^3.0.1, <code>@actions/exec</code> to
247
+ ^3.0.0, <code>@actions/io</code> to ^3.0.2</li>
248
+ <li>Migrated to ESM module system</li>
249
+ <li>Upgraded Jest to v30 and test infrastructure to be ESM
250
+ compatible</li>
251
+ </ul>
252
+ <h3>5.0.4</h3>
253
+ <ul>
254
+ <li>Bump <code>minimatch</code> to v3.1.5 (fixes ReDoS via globstar
255
+ patterns)</li>
256
+ <li>Bump <code>undici</code> to v6.24.1 (WebSocket decompression bomb
257
+ protection, header validation fixes)</li>
258
+ <li>Bump <code>fast-xml-parser</code> to v5.5.6</li>
259
+ </ul>
260
+ <h3>5.0.3</h3>
261
+ <ul>
262
+ <li>Bump <code>@actions/cache</code> to v5.0.5 (Resolves: <a
263
+ href="https://github.com/actions/cache/security/dependabot/33">https://github.com/actions/cache/security/dependabot/33</a>)</li>
264
+ <li>Bump <code>@actions/core</code> to v2.0.3</li>
265
+ </ul>
266
+ <h3>5.0.2</h3>
267
+ <!-- raw HTML omitted -->
268
+ </blockquote>
269
+ <p>... (truncated)</p>
270
+ </details>
271
+ <details>
272
+ <summary>Commits</summary>
273
+ <ul>
274
+ <li><a
275
+ href="https://github.com/actions/cache/commit/55cc8345863c7cc4c66a329aec7e433d2d1c52a9"><code>55cc834</code></a>
276
+ Merge pull request <a
277
+ href="https://redirect.github.com/actions/cache/issues/1768">#1768</a>
278
+ from jasongin/readonly-cache</li>
279
+ <li><a
280
+ href="https://github.com/actions/cache/commit/d8cd72f230726cdf4457ebb61ec1b593a8d12337"><code>d8cd72f</code></a>
281
+ Bump <code>@​actions/cache</code> to v6.1.0 - handle cache write error
282
+ due to RO token</li>
283
+ <li><a
284
+ href="https://github.com/actions/cache/commit/2c8a9bd7457de244a408f35966fab2fb45fda9c8"><code>2c8a9bd</code></a>
285
+ Merge pull request <a
286
+ href="https://redirect.github.com/actions/cache/issues/1760">#1760</a>
287
+ from actions/samirat/esm_migration_and_package_update</li>
288
+ <li><a
289
+ href="https://github.com/actions/cache/commit/e9b91fdc3fea7d79165fceb79042ef45c2d51023"><code>e9b91fd</code></a>
290
+ Prettier fixes</li>
291
+ <li><a
292
+ href="https://github.com/actions/cache/commit/e4884b8ff7f92ef6b52c79eda480bbc86e685adb"><code>e4884b8</code></a>
293
+ Rebuild dist</li>
294
+ <li><a
295
+ href="https://github.com/actions/cache/commit/10baf0191a3c426ea0fa4a3253a5c04233b6e18f"><code>10baf01</code></a>
296
+ Fixed licenses</li>
297
+ <li><a
298
+ href="https://github.com/actions/cache/commit/e39b386c9004d72a15d864ade8c0b3a702d47a37"><code>e39b386</code></a>
299
+ Fix test mock return order</li>
300
+ <li><a
301
+ href="https://github.com/actions/cache/commit/b6928203372a8571ff984c0c883ef3a1adfb0c06"><code>b692820</code></a>
302
+ PR feedback</li>
303
+ <li><a
304
+ href="https://github.com/actions/cache/commit/60749128a44d25d3c520a489e576380cf00ff3f1"><code>6074912</code></a>
305
+ Rebuild dist bundles as ESM to match type:module</li>
306
+ <li><a
307
+ href="https://github.com/actions/cache/commit/5a912e8b4af820fa082a0e75cfd2c782f8fbfe0e"><code>5a912e8</code></a>
308
+ Fix lint and jest issues</li>
309
+ <li>Additional commits viewable in <a
310
+ href="https://github.com/actions/cache/compare/v4...v6">compare
311
+ view</a></li>
312
+ </ul>
313
+ </details>
314
+ <br />
315
+
316
+ Updates `actions/setup-node` from 6 to 7
317
+ <details>
318
+ <summary>Release notes</summary>
319
+ <p><em>Sourced from <a
320
+ href="https://github.com/actions/setup-node/releases">actions/setup-node's
321
+ releases</a>.</em></p>
322
+ <blockquote>
323
+ <h2>v7.0.0</h2>
324
+ <h2>What's Changed</h2>
325
+ <h3>Enhancements:</h3>
326
+ <ul>
327
+ <li>Add cache-primary-key and cache-matched-key as outputs by <a
328
+ href="https://github.com/gowridurgad"><code>@​gowridurgad</code></a> in
329
+ <a
330
+ href="https://redirect.github.com/actions/setup-node/pull/1577">actions/setup-node#1577</a></li>
331
+ <li>Migrate to ESM and upgrade dependencies by <a
332
+ href="https://github.com/gowridurgad"><code>@​gowridurgad</code></a> in
333
+ <a
334
+ href="https://redirect.github.com/actions/setup-node/pull/1574">actions/setup-node#1574</a></li>
335
+ </ul>
336
+ <h3>Bug fixes:</h3>
337
+ <ul>
338
+ <li>Remove dummy NODE_AUTH_TOKEN export by <a
339
+ href="https://github.com/gowridurgad"><code>@​gowridurgad</code></a> in
340
+ <a
341
+ href="https://redirect.github.com/actions/setup-node/pull/1558">actions/setup-node#1558</a></li>
342
+ <li>Only use <code>mirrorToken</code> in <code>getManifest</code> if
343
+ it's provided by <a
344
+ href="https://github.com/deiga"><code>@​deiga</code></a> in <a
345
+ href="https://redirect.github.com/actions/setup-node/pull/1548">actions/setup-node#1548</a></li>
346
+ </ul>
347
+ <h3>Documentation updates:</h3>
348
+ <ul>
349
+ <li>Add documentation for publishing to npm with Trusted Publisher
350
+ (OIDC) by <a
351
+ href="https://github.com/chiranjib-swain"><code>@​chiranjib-swain</code></a>
352
+ in <a
353
+ href="https://redirect.github.com/actions/setup-node/pull/1536">actions/setup-node#1536</a></li>
354
+ <li>docs: Update restore-only cache documentation by <a
355
+ href="https://github.com/priya-kinthali"><code>@​priya-kinthali</code></a>
356
+ in <a
357
+ href="https://redirect.github.com/actions/setup-node/pull/1550">actions/setup-node#1550</a></li>
358
+ <li>docs: Update caching recommendations to mitigate cache poisoning
359
+ risks by <a
360
+ href="https://github.com/chiranjib-swain"><code>@​chiranjib-swain</code></a>
361
+ in <a
362
+ href="https://redirect.github.com/actions/setup-node/pull/1567">actions/setup-node#1567</a></li>
363
+ </ul>
364
+ <h3>Dependency update:</h3>
365
+ <ul>
366
+ <li>Upgrade <code>@​actions/cache</code> to 5.1.0, log cache write
367
+ denied by <a
368
+ href="https://github.com/jasongin"><code>@​jasongin</code></a> in <a
369
+ href="https://redirect.github.com/actions/setup-node/pull/1569">actions/setup-node#1569</a></li>
370
+ </ul>
371
+ <h2>New Contributors</h2>
372
+ <ul>
373
+ <li><a
374
+ href="https://github.com/chiranjib-swain"><code>@​chiranjib-swain</code></a>
375
+ made their first contribution in <a
376
+ href="https://redirect.github.com/actions/setup-node/pull/1536">actions/setup-node#1536</a></li>
377
+ <li><a href="https://github.com/deiga"><code>@​deiga</code></a> made
378
+ their first contribution in <a
379
+ href="https://redirect.github.com/actions/setup-node/pull/1548">actions/setup-node#1548</a></li>
380
+ <li><a href="https://github.com/jasongin"><code>@​jasongin</code></a>
381
+ made their first contribution in <a
382
+ href="https://redirect.github.com/actions/setup-node/pull/1569">actions/setup-node#1569</a></li>
383
+ </ul>
384
+ <p><strong>Full Changelog</strong>: <a
385
+ href="https://github.com/actions/setup-node/compare/v6...v7.0.0">https://github.com/actions/setup-node/compare/v6...v7.0.0</a></p>
386
+ <h2>v6.5.0</h2>
387
+ <h2>What's Changed</h2>
388
+ <ul>
389
+ <li>Update <code>@​actions/cache</code> to 5.1.0 and add security
390
+ overrides for undici and fast-xml-parser by <a
391
+ href="https://github.com/HarithaVattikuti"><code>@​HarithaVattikuti</code></a>
392
+ in <a
393
+ href="https://redirect.github.com/actions/setup-node/pull/1579">actions/setup-node#1579</a></li>
394
+ </ul>
395
+ <p><strong>Full Changelog</strong>: <a
396
+ href="https://github.com/actions/setup-node/compare/v6.4.0...v6.5.0">https://github.com/actions/setup-node/compare/v6.4.0...v6.5.0</a></p>
397
+ <h2>v6.4.0</h2>
398
+ <h2>What's Changed</h2>
399
+ <h3>Dependency updates:</h3>
400
+ <ul>
401
+ <li>Upgrade <a
402
+ href="https://github.com/actions"><code>@​actions</code></a>
403
+ dependencies by <a
404
+ href="https://github.com/Copilot"><code>@​Copilot</code></a> in <a
405
+ href="https://redirect.github.com/actions/setup-node/pull/1525">actions/setup-node#1525</a></li>
406
+ <li>Update Node.js versions in versions.yml and bump package to v6.4.0
407
+ by <a
408
+ href="https://github.com/priya-kinthali"><code>@​priya-kinthali</code></a>
409
+ in <a
410
+ href="https://redirect.github.com/actions/setup-node/pull/1533">actions/setup-node#1533</a></li>
411
+ </ul>
412
+ <h2>New Contributors</h2>
413
+ <ul>
414
+ <li><a href="https://github.com/Copilot"><code>@​Copilot</code></a> made
415
+ their first contribution in <a
416
+ href="https://redirect.github.com/actions/setup-node/pull/1525">actions/setup-node#1525</a></li>
417
+ </ul>
418
+ <p><strong>Full Changelog</strong>: <a
419
+ href="https://github.com/actions/setup-node/compare/v6...v6.4.0">https://github.com/actions/setup-node/compare/v6...v6.4.0</a></p>
420
+ <h2>v6.3.0</h2>
421
+ <h2>What's Changed</h2>
422
+ <h3>Enhancements:</h3>
423
+ <ul>
424
+ <li>Support parsing <code>devEngines</code> field by <a
425
+ href="https://github.com/susnux"><code>@​susnux</code></a> in <a
426
+ href="https://redirect.github.com/actions/setup-node/pull/1283">actions/setup-node#1283</a></li>
427
+ </ul>
428
+ <!-- raw HTML omitted -->
429
+ </blockquote>
430
+ <p>... (truncated)</p>
431
+ </details>
432
+ <details>
433
+ <summary>Commits</summary>
434
+ <ul>
435
+ <li><a
436
+ href="https://github.com/actions/setup-node/commit/949feb2413d6458794dcd2491c4babbbce0c15c1"><code>949feb2</code></a>
437
+ Bump eslint from 10.5.0 to 10.11.0 and package.json from 7.0.0 to 7.1.0
438
+ (<a
439
+ href="https://redirect.github.com/actions/setup-node/issues/1635">#1635</a>)</li>
440
+ <li><a
441
+ href="https://github.com/actions/setup-node/commit/7207c4f1189c7ee83ddf20c7c68bd1af6fdd751c"><code>7207c4f</code></a>
442
+ chore: update dependencies and add license files (<a
443
+ href="https://redirect.github.com/actions/setup-node/issues/1642">#1642</a>)</li>
444
+ <li><a
445
+ href="https://github.com/actions/setup-node/commit/54337e0d02de9202d0948aaff36ad556375497b9"><code>54337e0</code></a>
446
+ Bump eslint-plugin-n from 18.1.0 to 18.3.0 (<a
447
+ href="https://redirect.github.com/actions/setup-node/issues/1638">#1638</a>)</li>
448
+ <li><a
449
+ href="https://github.com/actions/setup-node/commit/fb54fa8c14c63410cc752f0ae3b7b3ca6af161fc"><code>fb54fa8</code></a>
450
+ Bump jest-each from 30.4.1 to 30.5.2 (<a
451
+ href="https://redirect.github.com/actions/setup-node/issues/1636">#1636</a>)</li>
452
+ <li><a
453
+ href="https://github.com/actions/setup-node/commit/7f84f1d52d0c56afb45c62fee31a93b843cea4d6"><code>7f84f1d</code></a>
454
+ Bump pnpm/action-setup from 6.0.10 to 6.1.0 (<a
455
+ href="https://redirect.github.com/actions/setup-node/issues/1631">#1631</a>)</li>
456
+ <li><a
457
+ href="https://github.com/actions/setup-node/commit/0c54c7b07420dcba69a7d832587f55ebdf771c9e"><code>0c54c7b</code></a>
458
+ Bump <code>@​typescript-eslint/parser</code> from 8.62.0 to 8.70.0 (<a
459
+ href="https://redirect.github.com/actions/setup-node/issues/1615">#1615</a>)</li>
460
+ <li><a
461
+ href="https://github.com/actions/setup-node/commit/a8294190049a9c296f01b9a432aff41dd83d8284"><code>a829419</code></a>
462
+ Bump <code>@​types/semver</code> from 7.7.1 to 7.8.0 (<a
463
+ href="https://redirect.github.com/actions/setup-node/issues/1616">#1616</a>)</li>
464
+ <li><a
465
+ href="https://github.com/actions/setup-node/commit/680d1e489b82f1243de15bc7665c0007e3c9a860"><code>680d1e4</code></a>
466
+ Support absolute paths in node-version-file (<a
467
+ href="https://redirect.github.com/actions/setup-node/issues/1633">#1633</a>)</li>
468
+ <li><a
469
+ href="https://github.com/actions/setup-node/commit/db0fb3a98ed314b69026b6e8c9be26a7e2fe65a8"><code>db0fb3a</code></a>
470
+ Bump baseline-browser-mapping from 2.10.38 to 2.11.22 (<a
471
+ href="https://redirect.github.com/actions/setup-node/issues/1629">#1629</a>)</li>
472
+ <li><a
473
+ href="https://github.com/actions/setup-node/commit/94196ee1d15439c1b6651cd87ef14e88ec435966"><code>94196ee</code></a>
474
+ Bump pnpm/action-setup from 6.0.9 to 6.0.10 (<a
475
+ href="https://redirect.github.com/actions/setup-node/issues/1602">#1602</a>)</li>
476
+ <li>Additional commits viewable in <a
477
+ href="https://github.com/actions/setup-node/compare/v6...v7">compare
478
+ view</a></li>
479
+ </ul>
480
+ </details>
481
+ <br />
482
+
483
+ Updates `actions/setup-python` from 6 to 7
484
+ <details>
485
+ <summary>Release notes</summary>
486
+ <p><em>Sourced from <a
487
+ href="https://github.com/actions/setup-python/releases">actions/setup-python's
488
+ releases</a>.</em></p>
489
+ <blockquote>
490
+ <h2>v7.0.0</h2>
491
+ <h2>What's Changed</h2>
492
+ <h3>Enhancements</h3>
493
+ <ul>
494
+ <li>Migrate to ESM and upgrade dependencies by <a
495
+ href="https://github.com/priyagupta108"><code>@​priyagupta108</code></a>
496
+ in <a
497
+ href="https://redirect.github.com/actions/setup-python/pull/1330">actions/setup-python#1330</a></li>
498
+ <li>Pin SHA commits and update docs with latest versions by <a
499
+ href="https://github.com/HarithaVattikuti"><code>@​HarithaVattikuti</code></a>
500
+ in <a
501
+ href="https://redirect.github.com/actions/setup-python/pull/1338">actions/setup-python#1338</a></li>
502
+ <li>Remove the pip-install input by <a
503
+ href="https://github.com/gowridurgad"><code>@​gowridurgad</code></a> in
504
+ <a
505
+ href="https://redirect.github.com/actions/setup-python/pull/1336">actions/setup-python#1336</a></li>
506
+ </ul>
507
+ <h3>Bug Fix</h3>
508
+ <ul>
509
+ <li>Fix to Classify stderr warning messages as warnings instead of
510
+ errors in annotations by <a
511
+ href="https://github.com/lmvysakh"><code>@​lmvysakh</code></a> in <a
512
+ href="https://redirect.github.com/actions/setup-python/pull/1335">actions/setup-python#1335</a></li>
513
+ <li>Validate and retry manifest fetch to prevent silent failures by <a
514
+ href="https://github.com/priyagupta108"><code>@​priyagupta108</code></a>
515
+ in <a
516
+ href="https://redirect.github.com/actions/setup-python/pull/1332">actions/setup-python#1332</a></li>
517
+ </ul>
518
+ <h3>Dependency Upgrade</h3>
519
+ <ul>
520
+ <li>Bump certifi from 2020.6.20 to 2024.7.4 in
521
+ /<strong>tests</strong>/data by <a
522
+ href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
523
+ href="https://redirect.github.com/actions/setup-python/pull/1328">actions/setup-python#1328</a></li>
524
+ <li>Remove EOL Python versions and Bumps numpy text fixture by <a
525
+ href="https://github.com/priya-kinthali"><code>@​priya-kinthali</code></a>
526
+ in <a
527
+ href="https://redirect.github.com/actions/setup-python/pull/1333">actions/setup-python#1333</a></li>
528
+ <li>Upgrade <code>@​actions/cache</code> to 6.2.0 by <a
529
+ href="https://github.com/philip-gai"><code>@​philip-gai</code></a> in <a
530
+ href="https://redirect.github.com/actions/setup-python/pull/1337">actions/setup-python#1337</a></li>
531
+ </ul>
532
+ <h2>New Contributors</h2>
533
+ <ul>
534
+ <li><a href="https://github.com/lmvysakh"><code>@​lmvysakh</code></a>
535
+ made their first contribution in <a
536
+ href="https://redirect.github.com/actions/setup-python/pull/1335">actions/setup-python#1335</a></li>
537
+ <li><a
538
+ href="https://github.com/philip-gai"><code>@​philip-gai</code></a> made
539
+ their first contribution in <a
540
+ href="https://redirect.github.com/actions/setup-python/pull/1337">actions/setup-python#1337</a></li>
541
+ </ul>
542
+ <p><strong>Full Changelog</strong>: <a
543
+ href="https://github.com/actions/setup-python/compare/v6...v7.0.0">https://github.com/actions/setup-python/compare/v6...v7.0.0</a></p>
544
+ <h2>v6.3.0</h2>
545
+ <h2>What's Changed</h2>
546
+ <h3>Enhancement</h3>
547
+ <ul>
548
+ <li>Add RHEL support and include Linux distro in cache keys by <a
549
+ href="https://github.com/priyagupta108"><code>@​priyagupta108</code></a>
550
+ in <a
551
+ href="https://redirect.github.com/actions/setup-python/pull/1323">actions/setup-python#1323</a></li>
552
+ <li>Fix pip cache error handling on Windows by <a
553
+ href="https://github.com/priyagupta108"><code>@​priyagupta108</code></a>
554
+ in <a
555
+ href="https://redirect.github.com/actions/setup-python/pull/1040">actions/setup-python#1040</a></li>
556
+ </ul>
557
+ <h3>Dependency update</h3>
558
+ <ul>
559
+ <li>Upgrade minimatch from 3.1.2 to 3.1.5 by <a
560
+ href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
561
+ href="https://redirect.github.com/actions/setup-python/pull/1281">actions/setup-python#1281</a></li>
562
+ <li>Upgrade actions dependencies by <a
563
+ href="https://github.com/gowridurgad"><code>@​gowridurgad</code></a>
564
+ with <a href="https://github.com/Copilot"><code>@​Copilot</code></a> in
565
+ <a
566
+ href="https://redirect.github.com/actions/setup-python/pull/1303">actions/setup-python#1303</a></li>
567
+ <li>Upgrade <code>@​actions/cache</code> to 5.1.0, log cache write
568
+ denied by <a
569
+ href="https://github.com/jasongin"><code>@​jasongin</code></a> in <a
570
+ href="https://redirect.github.com/actions/setup-python/pull/1324">actions/setup-python#1324</a></li>
571
+ <li>Upgrade dependency versions and test workflow configuration by <a
572
+ href="https://github.com/HarithaVattikuti"><code>@​HarithaVattikuti</code></a>
573
+ in <a
574
+ href="https://redirect.github.com/actions/setup-python/pull/1322">actions/setup-python#1322</a></li>
575
+ </ul>
576
+ <h3>Documentation</h3>
577
+ <ul>
578
+ <li>Update advanced-usage.md by <a
579
+ href="https://github.com/Dunky-Z"><code>@​Dunky-Z</code></a> in <a
580
+ href="https://redirect.github.com/actions/setup-python/pull/811">actions/setup-python#811</a></li>
581
+ </ul>
582
+ <h2>New Contributors</h2>
583
+ <ul>
584
+ <li><a
585
+ href="https://github.com/gowridurgad"><code>@​gowridurgad</code></a>
586
+ with <a href="https://github.com/Copilot"><code>@​Copilot</code></a>
587
+ made their first contribution in <a
588
+ href="https://redirect.github.com/actions/setup-python/pull/1303">actions/setup-python#1303</a></li>
589
+ <li><a href="https://github.com/jasongin"><code>@​jasongin</code></a>
590
+ made their first contribution in <a
591
+ href="https://redirect.github.com/actions/setup-python/pull/1324">actions/setup-python#1324</a></li>
592
+ <li><a href="https://github.com/Dunky-Z"><code>@​Dunky-Z</code></a> made
593
+ their first contribution in <a
594
+ href="https://redirect.github.com/actions/setup-python/pull/811">actions/setup-python#811</a></li>
595
+ </ul>
596
+ <p><strong>Full Changelog</strong>: <a
597
+ href="https://github.com/actions/setup-python/compare/v6.2.0...v6.3.0">https://github.com/actions/setup-python/compare/v6.2.0...v6.3.0</a></p>
598
+ <h2>v6.2.0</h2>
599
+ <h2>What's Changed</h2>
600
+ <h3>Dependency Upgrades</h3>
601
+ <ul>
602
+ <li>Upgrade dependencies to Node 24 compatible versions by <a
603
+ href="https://github.com/salmanmkc"><code>@​salmanmkc</code></a> in <a
604
+ href="https://redirect.github.com/actions/setup-python/pull/1259">actions/setup-python#1259</a></li>
605
+ </ul>
606
+ <!-- raw HTML omitted -->
607
+ </blockquote>
608
+ <p>... (truncated)</p>
609
+ </details>
610
+ <details>
611
+ <summary>Commits</summary>
612
+ <ul>
613
+ <li><a
614
+ href="https://github.com/actions/setup-python/commit/5fda3b95a4ea91299a34e894583c3862153e4b97"><code>5fda3b9</code></a>
615
+ Pin SHA commits and update docs with latest versions (<a
616
+ href="https://redirect.github.com/actions/setup-python/issues/1338">#1338</a>)</li>
617
+ <li><a
618
+ href="https://github.com/actions/setup-python/commit/4ab7e95f05e168b4356aebde89dd84f59c283d8e"><code>4ab7e95</code></a>
619
+ Merge pull request <a
620
+ href="https://redirect.github.com/actions/setup-python/issues/1337">#1337</a>
621
+ from actions/philip-gai/bump-actions-cache-6-2-0</li>
622
+ <li><a
623
+ href="https://github.com/actions/setup-python/commit/0f3a009f475dbea83c0371cd85d099690fee8c5c"><code>0f3a009</code></a>
624
+ Remove the pip-install input (<a
625
+ href="https://redirect.github.com/actions/setup-python/issues/1336">#1336</a>)</li>
626
+ <li><a
627
+ href="https://github.com/actions/setup-python/commit/f8cf4291c8b8e273ddd26e569454615c7315d932"><code>f8cf429</code></a>
628
+ Migrate to ESM and upgrade dependencies (<a
629
+ href="https://redirect.github.com/actions/setup-python/issues/1330">#1330</a>)</li>
630
+ <li><a
631
+ href="https://github.com/actions/setup-python/commit/54baeea5b34417d10a7479663a23cca53ea209b5"><code>54baeea</code></a>
632
+ Validate and retry manifest fetch to prevent silent failures (<a
633
+ href="https://redirect.github.com/actions/setup-python/issues/1332">#1332</a>)</li>
634
+ <li><a
635
+ href="https://github.com/actions/setup-python/commit/c7092773a316760f4ecfe498e4af668a4dafeac5"><code>c709277</code></a>
636
+ Annotation code fix (<a
637
+ href="https://redirect.github.com/actions/setup-python/issues/1335">#1335</a>)</li>
638
+ <li><a
639
+ href="https://github.com/actions/setup-python/commit/6849080452e69b330395e8a6d23cf90f56d76a1a"><code>6849080</code></a>
640
+ remove EOL Python versions and Bumps numpy text fixture (<a
641
+ href="https://redirect.github.com/actions/setup-python/issues/1333">#1333</a>)</li>
642
+ <li><a
643
+ href="https://github.com/actions/setup-python/commit/0903b469fbf4441aadfe4f4b249dc5b1fba3a73e"><code>0903b46</code></a>
644
+ Bump certifi from 2020.6.20 to 2024.7.4 in /<strong>tests</strong>/data
645
+ (<a
646
+ href="https://redirect.github.com/actions/setup-python/issues/1328">#1328</a>)</li>
647
+ <li>See full diff in <a
648
+ href="https://github.com/actions/setup-python/compare/v6...v7">compare
649
+ view</a></li>
650
+ </ul>
651
+ </details>
652
+ <br />
653
+
654
+ ---------
655
+
656
+
657
+ ## [0.43.0](https://github.com/omarmhaimdat/pepe/compare/v0.42.2...v0.43.0) - 2026-10-16
658
+
659
+ ### Added
660
+
661
+ - *(agents)* --otlp says which operation inside the service the time went to, and the loop to make it faster ([#189](https://github.com/omarmhaimdat/pepe/pull/189))
662
+
663
+ ## Why
664
+
665
+ Every load tool, pepe included, stops at "p99 is 480 ms". The next
666
+ question is always which part of the code that is, and answering it
667
+ means leaving the tool. This PR answers it in the same command, and
668
+ gives an agent a loop it can close on its own: measure, find the slow
669
+ operation, change the code, measure again, compare.
670
+
671
+ ## What it does
672
+
673
+ **`--otlp :4318`** (plain runs for now)
674
+ - Each request carries a `traceparent` of pepe's making. The run id is
675
+ the trace id's high half and the request number, mixed, is the low half.
676
+ The sampled flag is set, so a parent-based sampler keeps every request.
677
+ - pepe runs an OTLP/HTTP receiver at `/v1/traces` that takes protobuf or
678
+ JSON. The protobuf reader is about 150 lines, hand-written, so there's
679
+ no new dependency. It keeps only spans from its own traces.
680
+ - `/v1/metrics` and `/v1/logs` get a 200 and are ignored. Gzip gets a
681
+ 415, and the verdict says to set `OTEL_EXPORTER_OTLP_COMPRESSION=none`.
682
+ - When the run ends, pepe waits for the exporters' last batch. It stops
683
+ early once every request that got a response has its root span, and
684
+ gives up after 15 s at most.
685
+ - `spans` in the report: coverage, the server's own time (median, p90,
686
+ p99), and `operations[]`. Each operation has calls per request, median
687
+ and p99 call time, `share_percent` (its own time, less its children's,
688
+ over all requests) and `slowest_share_percent` (the same over requests
689
+ at or above the server's p99).
690
+ - `summary.slowest_requests[]` gains `trace_id`, `server_ms` and `spent`
691
+ (the top 3 operations).
692
+ - Verdict findings: where the time went; an operation that's small at
693
+ the median but large in the tail (it waits on a lock, a pool or a
694
+ queue); the gap between pepe's latency and the server's own time; and
695
+ what to set when no spans arrive.
696
+ - The text report (headless, or after the dashboard closes) prints a
697
+ "Where the server's time went" table.
698
+
699
+ **`pepe compare`**: two reports with spans give `operations[]` (each
700
+ operation before and after) and a finding for each one that moved. The
701
+ verdict still comes from pepe's own measurements.
702
+
703
+ **MCP**
704
+ - `run` takes `otlp`.
705
+ - `run`, `ping`, `ramp`, `api`, `flow` and `replay` take `save`, so an
706
+ agent has a file to pass to `compare`.
707
+ - A `speed-up` prompt (`/pepe:speed-up URL [goal]` in Claude Code) walks
708
+ the loop.
709
+ - Every tool has annotations: `compare` is read-only and the others
710
+ reach outside the machine.
711
+ - The server instructions now lead with the tasks pepe is for. They load
712
+ at session start, while tool definitions may only be looked up later.
713
+
714
+ **Discoverability**
715
+ - The skill's description puts its trigger words first ("slow",
716
+ "faster", "benchmark", "OpenTelemetry"), since that text is what Claude
717
+ and Codex match on. It also has a section on the loop.
718
+ - Codex: a root `plugin.json` and `mcp.json` (the portable format
719
+ OpenAI's docs describe), plus `.agents/plugins/marketplace.json`. Codex
720
+ also reads `.claude-plugin/marketplace.json` as a legacy marketplace.
721
+ - The docs now cover `codex mcp add`, `~/.codex/config.toml`, a Cursor
722
+ install link, and `npx skills add omarmhaimdat/pepe`.
723
+ - `AGENTS.md`, `llms.txt` and the Claude plugin manifests mention the
724
+ loop.
725
+ - This PR includes the marketplace `source` fix from
726
+ omarmhaimdat/pepe#188 (same lines), so it works whichever merges first.
727
+
728
+ ## Tested
729
+
730
+ - **End to end against a real service**: a Python service instrumented
731
+ with the official OpenTelemetry SDK (1.45.1, http/protobuf exporter).
732
+ Its `/checkout` makes a cache read and a query that holds a lock.
733
+ - 2,000 requests at 16 concurrent: 100% coverage. `SELECT orders` was
734
+ 98% of the slowest requests' server time, and the slowest requests'
735
+ `spent` agreed.
736
+ - With the lock removed: `pepe compare` said "SELECT orders down 95%:
737
+ 47.74ms → 2.57ms a call". It also showed the bottleneck *moving* to the
738
+ cache read, which is real: at 1.6k req/s the Python service is
739
+ GIL-bound.
740
+ - The same loop through `pepe mcp` (guardrails `--allow-host 127.0.0.1
741
+ --max-requests 5000`, then `run` with `otlp` and `save`).
742
+ - JSON export accepted, gzip refused with the message, metrics and logs
743
+ answered.
744
+ - **Unit tests**: the breakdown (shares, tail, self time with
745
+ overlapping children, warm-up excluded), the protobuf reader, requests
746
+ framed by length and by chunks, compare by operation, MCP
747
+ prompt/`save`/annotations, schema fit. `cargo +1.98 test`: 367 passed.
748
+ `clippy -D warnings` passes on 1.98.
749
+ - **Performance**: `bench/compare.sh master branch 3`, with `--otlp`
750
+ off. Results below; no regression.
751
+
752
+ | Workload | CPU ms/1k, master | branch | Peak MB, master | branch |
753
+ |---|---|---|---|---|
754
+ | tiny-c64 | 5.55 | 5.45 | 10.1 | 10.2 |
755
+ | body16k-c64 | 6.40 | 6.40 | 10.0 | 10.0 |
756
+ | slow20ms-c1000 | 6.80 | 7.00 | 13.1 | 13.0 |
757
+ | tls-c64 | 5.90 | 5.90 | 13.6 | 13.2 |
758
+
759
+ ## Not verified
760
+ - **Codex**: Codex isn't installed here, so the plugin files follow
761
+ OpenAI's documentation but haven't been loaded by Codex. The MCP and
762
+ AGENTS.md routes are standard.
763
+ - **Cursor**: the install link hasn't been clicked.
764
+
765
+ ## For 1.0
766
+ This adds a flag (`--otlp`), report fields (`spans`, and the new
767
+ `slowest_requests` fields), a compare field (`operations`), MCP inputs
768
+ (`otlp`, `save`) and a prompt. All of them are additions, and `schema/`
769
+ is updated, but per ROADMAP.md they restart the month-without-changes
770
+ clock.
771
+
772
+
9
773
  ## [0.42.2](https://github.com/omarmhaimdat/pepe/compare/v0.42.1...v0.42.2) - 2026-10-16
10
774
 
11
775
  ### Fixed
package/completions/_pepe CHANGED
@@ -40,6 +40,7 @@ _pepe() {
40
40
  '--max-concurrency=[Refuse a concurrency above this]:N:_default' \
41
41
  '*--fail-if=[End with exit code 4 when the run crosses this, for CI and scripts\: '\''p99 > 300ms'\'', '\''errors > 1%'\''; repeat for more. The report is still printed. (pepe ping has --slo for the same.)]:CONDITION:_default' \
42
42
  '--metrics=[Serve the live numbers for Prometheus at http\://ADDR/metrics while the run goes, e.g. \:9100 or 127.0.0.1\:9100, so a soak run or a long ping shows up in Grafana next to the server'\''s own]:ADDR:_default' \
43
+ '--otlp=[Take the service'\''s OpenTelemetry spans at ADDR (OTLP over HTTP, as \:4318) and say where its time went\: each request carries its own traceparent, and the report breaks the server'\''s time down by span. Point the service at it\: OTEL_EXPORTER_OTLP_ENDPOINT=http\://localhost\:4318]:ADDR:_default' \
43
44
  '--config=[Read settings from this file instead of ./pepe.toml; flags on the command line win over it]:FILE:_files' \
44
45
  '--write-config=[Write the settings as they stand to this file, as a pepe.toml, and exit]:FILE:_files' \
45
46
  '(--config)--load=[Run a test saved on the setup screen (ctrl-s)\: ./.pepe/tests/NAME.toml; flags on the command line win over it]:NAME:_default' \
@@ -46,6 +46,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
46
46
  [CompletionResult]::new('--max-concurrency', '--max-concurrency', [CompletionResultType]::ParameterName, 'Refuse a concurrency above this')
47
47
  [CompletionResult]::new('--fail-if', '--fail-if', [CompletionResultType]::ParameterName, 'End with exit code 4 when the run crosses this, for CI and scripts: ''p99 > 300ms'', ''errors > 1%''; repeat for more. The report is still printed. (pepe ping has --slo for the same.)')
48
48
  [CompletionResult]::new('--metrics', '--metrics', [CompletionResultType]::ParameterName, 'Serve the live numbers for Prometheus at http://ADDR/metrics while the run goes, e.g. :9100 or 127.0.0.1:9100, so a soak run or a long ping shows up in Grafana next to the server''s own')
49
+ [CompletionResult]::new('--otlp', '--otlp', [CompletionResultType]::ParameterName, 'Take the service''s OpenTelemetry spans at ADDR (OTLP over HTTP, as :4318) and say where its time went: each request carries its own traceparent, and the report breaks the server''s time down by span. Point the service at it: OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318')
49
50
  [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'Read settings from this file instead of ./pepe.toml; flags on the command line win over it')
50
51
  [CompletionResult]::new('--write-config', '--write-config', [CompletionResultType]::ParameterName, 'Write the settings as they stand to this file, as a pepe.toml, and exit')
51
52
  [CompletionResult]::new('--load', '--load', [CompletionResultType]::ParameterName, 'Run a test saved on the setup screen (ctrl-s): ./.pepe/tests/NAME.toml; flags on the command line win over it')
@@ -107,7 +107,7 @@ _pepe() {
107
107
 
108
108
  case "${cmd}" in
109
109
  pepe)
110
- opts="-h -n -z -m -H -t -d -p -k -i -c -u -V --help --number --duration --curl --method --headers --timeout --warmup --threads --rate --body --proxy --insecure --disable-compression --disable-keepalive --disable-redirects --json --trace-header --snapshot --allow-host --max-requests --max-rate --max-concurrency --dry-run --fail-if --metrics --setup --config --write-config --load --keep --record --concurrency --user-agent --version ping ramp compare rerun history api flow replay logs schema mcp self-update completions help"
110
+ opts="-h -n -z -m -H -t -d -p -k -i -c -u -V --help --number --duration --curl --method --headers --timeout --warmup --threads --rate --body --proxy --insecure --disable-compression --disable-keepalive --disable-redirects --json --trace-header --snapshot --allow-host --max-requests --max-rate --max-concurrency --dry-run --fail-if --metrics --otlp --setup --config --write-config --load --keep --record --concurrency --user-agent --version ping ramp compare rerun history api flow replay logs schema mcp self-update completions help"
111
111
  if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then
112
112
  COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
113
113
  return 0
@@ -213,6 +213,10 @@ _pepe() {
213
213
  COMPREPLY=($(compgen -f "${cur}"))
214
214
  return 0
215
215
  ;;
216
+ --otlp)
217
+ COMPREPLY=($(compgen -f "${cur}"))
218
+ return 0
219
+ ;;
216
220
  --config)
217
221
  COMPREPLY=($(compgen -f "${cur}"))
218
222
  return 0
@@ -1,6 +1,6 @@
1
1
  # Print an optspec for argparse to handle cmd's options that are independent of any subcommand.
2
2
  function __fish_pepe_global_optspecs
3
- string join \n h/help n/number= z/duration= curl m/method= H/headers= t/timeout= warmup= threads= rate= d/body= p/proxy= k/insecure disable-compression disable-keepalive disable-redirects json trace-header= snapshot= allow-host= max-requests= max-rate= max-concurrency= dry-run fail-if= metrics= i/setup config= write-config= load= keep= record c/concurrency= u/user-agent= V/version
3
+ string join \n h/help n/number= z/duration= curl m/method= H/headers= t/timeout= warmup= threads= rate= d/body= p/proxy= k/insecure disable-compression disable-keepalive disable-redirects json trace-header= snapshot= allow-host= max-requests= max-rate= max-concurrency= dry-run fail-if= metrics= otlp= i/setup config= write-config= load= keep= record c/concurrency= u/user-agent= V/version
4
4
  end
5
5
 
6
6
  function __fish_pepe_needs_command
@@ -42,6 +42,7 @@ complete -c pepe -n "__fish_pepe_needs_command" -l max-rate -d 'Refuse a --rate
42
42
  complete -c pepe -n "__fish_pepe_needs_command" -l max-concurrency -d 'Refuse a concurrency above this' -r
43
43
  complete -c pepe -n "__fish_pepe_needs_command" -l fail-if -d 'End with exit code 4 when the run crosses this, for CI and scripts: \'p99 > 300ms\', \'errors > 1%\'; repeat for more. The report is still printed. (pepe ping has --slo for the same.)' -r
44
44
  complete -c pepe -n "__fish_pepe_needs_command" -l metrics -d 'Serve the live numbers for Prometheus at http://ADDR/metrics while the run goes, e.g. :9100 or 127.0.0.1:9100, so a soak run or a long ping shows up in Grafana next to the server\'s own' -r
45
+ complete -c pepe -n "__fish_pepe_needs_command" -l otlp -d 'Take the service\'s OpenTelemetry spans at ADDR (OTLP over HTTP, as :4318) and say where its time went: each request carries its own traceparent, and the report breaks the server\'s time down by span. Point the service at it: OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318' -r
45
46
  complete -c pepe -n "__fish_pepe_needs_command" -l config -d 'Read settings from this file instead of ./pepe.toml; flags on the command line win over it' -r -F
46
47
  complete -c pepe -n "__fish_pepe_needs_command" -l write-config -d 'Write the settings as they stand to this file, as a pepe.toml, and exit' -r -F
47
48
  complete -c pepe -n "__fish_pepe_needs_command" -l load -d 'Run a test saved on the setup screen (ctrl-s): ./.pepe/tests/NAME.toml; flags on the command line win over it' -r
package/man/pepe.1 CHANGED
@@ -8,7 +8,7 @@ pepe \- HTTP load generator
8
8
  .ie \n(.g .ds Aq \(aq
9
9
  .el .ds Aq '
10
10
  .SH SYNOPSIS
11
- \fBpepe\fR [\fB\-h\fR|\fB\-\-help\fR] [\fB\-n\fR|\fB\-\-number\fR] [\fB\-c\fR|\fB\-\-concurrency\fR] [\fB\-z\fR|\fB\-\-duration\fR] [\fB\-\-curl\fR] [\fB\-m\fR|\fB\-\-method\fR] [\fB\-H\fR|\fB\-\-headers\fR] [\fB\-t\fR|\fB\-\-timeout\fR] [\fB\-\-warmup\fR] [\fB\-\-threads\fR] [\fB\-\-rate\fR] [\fB\-d\fR|\fB\-\-body\fR] [\fB\-u\fR|\fB\-\-user\-agent\fR] [\fB\-p\fR|\fB\-\-proxy\fR] [\fB\-k\fR|\fB\-\-insecure\fR] [\fB\-\-disable\-compression\fR] [\fB\-\-disable\-keepalive\fR] [\fB\-\-disable\-redirects\fR] [\fB\-\-json\fR] [\fB\-\-trace\-header\fR] [\fB\-\-snapshot\fR] [\fB\-\-allow\-host\fR] [\fB\-\-max\-requests\fR] [\fB\-\-max\-rate\fR] [\fB\-\-max\-concurrency\fR] [\fB\-\-dry\-run\fR] [\fB\-\-fail\-if\fR] [\fB\-\-metrics\fR] [\fB\-i\fR|\fB\-\-setup\fR] [\fB\-\-config\fR] [\fB\-\-write\-config\fR] [\fB\-\-load\fR] [\fB\-\-keep\fR] [\fB\-\-record\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fIURL\fR] [\fIARGS\fR] [\fIsubcommands\fR]
11
+ \fBpepe\fR [\fB\-h\fR|\fB\-\-help\fR] [\fB\-n\fR|\fB\-\-number\fR] [\fB\-c\fR|\fB\-\-concurrency\fR] [\fB\-z\fR|\fB\-\-duration\fR] [\fB\-\-curl\fR] [\fB\-m\fR|\fB\-\-method\fR] [\fB\-H\fR|\fB\-\-headers\fR] [\fB\-t\fR|\fB\-\-timeout\fR] [\fB\-\-warmup\fR] [\fB\-\-threads\fR] [\fB\-\-rate\fR] [\fB\-d\fR|\fB\-\-body\fR] [\fB\-u\fR|\fB\-\-user\-agent\fR] [\fB\-p\fR|\fB\-\-proxy\fR] [\fB\-k\fR|\fB\-\-insecure\fR] [\fB\-\-disable\-compression\fR] [\fB\-\-disable\-keepalive\fR] [\fB\-\-disable\-redirects\fR] [\fB\-\-json\fR] [\fB\-\-trace\-header\fR] [\fB\-\-snapshot\fR] [\fB\-\-allow\-host\fR] [\fB\-\-max\-requests\fR] [\fB\-\-max\-rate\fR] [\fB\-\-max\-concurrency\fR] [\fB\-\-dry\-run\fR] [\fB\-\-fail\-if\fR] [\fB\-\-metrics\fR] [\fB\-\-otlp\fR] [\fB\-i\fR|\fB\-\-setup\fR] [\fB\-\-config\fR] [\fB\-\-write\-config\fR] [\fB\-\-load\fR] [\fB\-\-keep\fR] [\fB\-\-record\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fIURL\fR] [\fIARGS\fR] [\fIsubcommands\fR]
12
12
  .ie \n(.g .ds Aq \(aq
13
13
  .el .ds Aq '
14
14
  .SH DESCRIPTION
@@ -101,6 +101,9 @@ End with exit code 4 when the run crosses this, for CI and scripts: \*(Aqp99 > 3
101
101
  \fB\-\-metrics\fR \fI<ADDR>\fR
102
102
  Serve the live numbers for Prometheus at http://ADDR/metrics while the run goes, e.g. :9100 or 127.0.0.1:9100, so a soak run or a long ping shows up in Grafana next to the server\*(Aqs own
103
103
  .TP
104
+ \fB\-\-otlp\fR \fI<ADDR>\fR
105
+ Take the service\*(Aqs OpenTelemetry spans at ADDR (OTLP over HTTP, as :4318) and say where its time went: each request carries its own traceparent, and the report breaks the server\*(Aqs time down by span. Point the service at it: OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318
106
+ .TP
104
107
  \fB\-i\fR, \fB\-\-setup\fR
105
108
  Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)
106
109
  .TP
@@ -19,7 +19,7 @@
19
19
  "hasInstallScript": true,
20
20
  "license": "MIT",
21
21
  "name": "pepe-http",
22
- "version": "0.42.2"
22
+ "version": "0.43.1"
23
23
  },
24
24
  "node_modules/detect-libc": {
25
25
  "engines": {
@@ -48,5 +48,5 @@
48
48
  }
49
49
  },
50
50
  "requires": true,
51
- "version": "0.42.2"
51
+ "version": "0.43.1"
52
52
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "artifactDownloadUrls": [
3
- "https://github.com/omarmhaimdat/pepe/releases/download/v0.42.2"
3
+ "https://github.com/omarmhaimdat/pepe/releases/download/v0.43.1"
4
4
  ],
5
5
  "author": "Omar MHAIMDAT",
6
6
  "bin": {
@@ -119,7 +119,7 @@
119
119
  "zipExt": ".tar.xz"
120
120
  }
121
121
  },
122
- "version": "0.42.2",
122
+ "version": "0.43.1",
123
123
  "volta": {
124
124
  "node": "18.14.1",
125
125
  "npm": "9.5.0"
@@ -26,6 +26,24 @@
26
26
  }
27
27
  }
28
28
  },
29
+ "operations": {
30
+ "type": "array",
31
+ "description": "Two run reports with spans (--otlp): each operation inside the service before and after, the ones that moved first; absent otherwise",
32
+ "items": {
33
+ "type": "object",
34
+ "required": ["name", "before_share_percent", "after_share_percent", "significant"],
35
+ "properties": {
36
+ "name": { "type": "string" },
37
+ "service": { "type": "string" },
38
+ "before_median_ms": { "type": "number", "description": "Its median call before; absent when it wasn't there" },
39
+ "after_median_ms": { "type": "number", "description": "Its median call after; absent when it is gone" },
40
+ "before_share_percent": { "type": "number" },
41
+ "after_share_percent": { "type": "number" },
42
+ "change_percent": { "type": "number" },
43
+ "significant": { "type": "boolean" }
44
+ }
45
+ }
46
+ },
29
47
  "findings": {
30
48
  "type": "array",
31
49
  "items": {
@@ -65,7 +65,22 @@
65
65
  "latency_ms": { "type": "number" },
66
66
  "status": { "type": "integer" },
67
67
  "request_id": { "type": "string" },
68
- "id_header": { "type": "string" }
68
+ "id_header": { "type": "string" },
69
+ "trace_id": { "type": "string", "description": "--otlp: the trace id it was sent with (32 hex digits)" },
70
+ "server_ms": { "type": "number", "description": "--otlp: the server's time for it, from its spans" },
71
+ "spent": {
72
+ "type": "array",
73
+ "description": "--otlp: what the server's time went on, most first: each operation's own time, less what it called",
74
+ "items": {
75
+ "type": "object",
76
+ "required": ["name", "ms"],
77
+ "properties": {
78
+ "name": { "type": "string" },
79
+ "service": { "type": "string" },
80
+ "ms": { "type": "number" }
81
+ }
82
+ }
83
+ }
69
84
  }
70
85
  }
71
86
  },
@@ -180,6 +195,52 @@
180
195
  "left_out": { "type": "object", "additionalProperties": { "type": "integer" } },
181
196
  "urls": { "type": "array", "items": { "$ref": "#/$defs/row" } }
182
197
  }
198
+ },
199
+ "spans": {
200
+ "type": "object",
201
+ "description": "--otlp: where the server's time went, from the OpenTelemetry spans the service sent for the run's requests",
202
+ "required": ["requests", "traces", "spans", "coverage_percent", "operations"],
203
+ "properties": {
204
+ "receiver": { "type": "string", "description": "The address the spans were taken at" },
205
+ "requests": { "type": "integer", "minimum": 0, "description": "Requests measured that the service answered" },
206
+ "traces": { "type": "integer", "minimum": 0, "description": "Of those, the ones the service sent spans for" },
207
+ "spans": { "type": "integer", "minimum": 0 },
208
+ "coverage_percent": { "type": "number" },
209
+ "other_spans": { "type": "integer", "minimum": 0, "description": "Spans of traces pepe didn't start, set aside" },
210
+ "dropped_spans": { "type": "integer", "minimum": 0, "description": "Spans past what is kept, not in the numbers" },
211
+ "refused": { "type": "array", "items": { "type": "string" }, "description": "Why exports were turned away" },
212
+ "server": {
213
+ "type": "object",
214
+ "description": "The server's time for each request: its first span, start to end",
215
+ "required": ["median_ms", "p90_ms", "p99_ms", "slowest_requests"],
216
+ "properties": {
217
+ "median_ms": { "type": "number" },
218
+ "p90_ms": { "type": "number" },
219
+ "p99_ms": { "type": "number" },
220
+ "slowest_requests": { "type": "integer", "minimum": 0, "description": "Requests at or over the server's p99: what slowest_share_percent is of" }
221
+ }
222
+ },
223
+ "operations": {
224
+ "type": "array",
225
+ "description": "Each operation (service, span name and kind), most of the slowest requests' time first",
226
+ "items": {
227
+ "type": "object",
228
+ "required": ["name", "kind", "calls", "calls_per_request", "errors", "median_ms", "p99_ms", "share_percent", "slowest_share_percent"],
229
+ "properties": {
230
+ "name": { "type": "string", "description": "The span's name" },
231
+ "service": { "type": "string", "description": "The service.name of the service that sent it" },
232
+ "kind": { "type": "string", "enum": ["server", "client", "internal", "producer", "consumer", "unspecified"] },
233
+ "calls": { "type": "integer", "minimum": 0 },
234
+ "calls_per_request": { "type": "number" },
235
+ "errors": { "type": "integer", "minimum": 0, "description": "Calls whose status was an error" },
236
+ "median_ms": { "type": "number", "description": "Each call, start to end" },
237
+ "p99_ms": { "type": "number" },
238
+ "share_percent": { "type": "number", "description": "Its own time (less what it called) as a share of the server's time over all requests" },
239
+ "slowest_share_percent": { "type": "number", "description": "The same over the slowest requests" }
240
+ }
241
+ }
242
+ }
243
+ }
183
244
  }
184
245
  },
185
246
  "$defs": {