pepe-http 0.48.0 → 0.49.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 +119 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,125 @@ 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.49.1](https://github.com/omarmhaimdat/pepe/compare/v0.49.0...v0.49.1) - 2026-10-18
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- *(slack)* the live message is posted again: − 1 and + 1 had the same action id, which Slack refuses ([#209](https://github.com/omarmhaimdat/pepe/pull/209))
|
|
14
|
+
|
|
15
|
+
Found by running #207 against a real workspace.
|
|
16
|
+
|
|
17
|
+
## The bug
|
|
18
|
+
|
|
19
|
+
A run's controls had two buttons with the action id `pepe:size` (− 1 and
|
|
20
|
+
+ 1). Slack refuses a block whose buttons repeat an id
|
|
21
|
+
(`invalid_blocks`). The consequences:
|
|
22
|
+
- the run's live message and all of its updates were rejected;
|
|
23
|
+
- its thread replies are plain text, so they went to the channel on
|
|
24
|
+
their own.
|
|
25
|
+
|
|
26
|
+
Nothing told you about it: the rejection went to the run's stderr, which
|
|
27
|
+
`serve` only showed when a run failed to start.
|
|
28
|
+
|
|
29
|
+
## Fixes
|
|
30
|
+
|
|
31
|
+
- **Distinct ids:** − 1 is `pepe:less` and + 1 is `pepe:more`.
|
|
32
|
+
`pepe:size` is still accepted. A test checks that each id appears once
|
|
33
|
+
in the row.
|
|
34
|
+
- **Warnings in the terminal:** `pepe slack serve` streams a run's
|
|
35
|
+
warnings as they happen (a message Slack refused, a hook that failed).
|
|
36
|
+
- **The card follows the run:**
|
|
37
|
+
- after ▶ Run, the test card turns into the run's controls (Pause,
|
|
38
|
+
Stop);
|
|
39
|
+
- Run on a test that's already going answers with those controls instead
|
|
40
|
+
of "stop it first";
|
|
41
|
+
- the edit form's run answers with the card too.
|
|
42
|
+
- **Trend and wording:** the trend shows only with three runs or more,
|
|
43
|
+
and a single run reads "1 run, just now".
|
|
44
|
+
|
|
45
|
+
## Checked
|
|
46
|
+
|
|
47
|
+
- 397 tests pass; clippy 1.98 is clean.
|
|
48
|
+
- The fake Slack now refuses repeated action ids, as Slack does. With
|
|
49
|
+
it, the full scenario passes:
|
|
50
|
+
- the card turned into the controls after Run;
|
|
51
|
+
- the live message posted with − 1 (3) and + 1 (5);
|
|
52
|
+
- every edit was accepted: pause, a concurrency change, resume, stop;
|
|
53
|
+
- the verdict followed.
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
## [0.49.0](https://github.com/omarmhaimdat/pepe/compare/v0.48.0...v0.49.0) - 2026-10-18
|
|
57
|
+
|
|
58
|
+
### Added
|
|
59
|
+
|
|
60
|
+
- *(slack)* pause, resize and stop a run from its message, and /pepe as a dropdown of the saved tests ([#207](https://github.com/omarmhaimdat/pepe/pull/207))
|
|
61
|
+
|
|
62
|
+
Builds on #205: richer commands, and control over a run while it goes.
|
|
63
|
+
|
|
64
|
+
## While a run goes
|
|
65
|
+
|
|
66
|
+
A run started from Slack gets these controls on its message:
|
|
67
|
+
- **⏸ Pause / ▶ Resume.** While paused, the message turns grey and says
|
|
68
|
+
who paused it.
|
|
69
|
+
- **− 1 / + 1** concurrency. Each button shows the value it sets, e.g.
|
|
70
|
+
"+ 1 (51)". At 1 there is no − button. A ramp sets its own concurrency,
|
|
71
|
+
so it gets Pause only.
|
|
72
|
+
- **■ Stop**, with a confirmation.
|
|
73
|
+
|
|
74
|
+
Every change shows in the message at once ("<@maya> raised it to 51 at
|
|
75
|
+
once"), instead of at the next 10 s update.
|
|
76
|
+
|
|
77
|
+
## Shorter thread replies
|
|
78
|
+
|
|
79
|
+
Each change during a run is one short line in the thread, saying what
|
|
80
|
+
moved and which way:
|
|
81
|
+
- `📉 Throughput dropped 52% · 5.9k req/s · at 1m26s`
|
|
82
|
+
- `📈 p99 up 4.5× · 45ms · at 26s`
|
|
83
|
+
- `🔥 Errors up to 12% · at 2m` (posted with Pepe's on-fire face)
|
|
84
|
+
|
|
85
|
+
How it works:
|
|
86
|
+
- `serve` sends commands over the stdin of the run it started
|
|
87
|
+
(`src/control.rs`: `pause U1`, `concurrency 63 U1`, `stop U1`).
|
|
88
|
+
- Every `--json` run loop listens for them when `serve` started it: run,
|
|
89
|
+
flow, API, replay and ramp. They're applied the same way as the
|
|
90
|
+
dashboard's keys.
|
|
91
|
+
- A stop the run can't hear falls back to a ctrl-c signal.
|
|
92
|
+
|
|
93
|
+
## /pepe
|
|
94
|
+
|
|
95
|
+
- **`/pepe`, `/pepe list`, or `/pepe run` with no name** opens a card:
|
|
96
|
+
the saved tests in a dropdown, plus what's running with its controls.
|
|
97
|
+
- **Picking a test, or `/pepe NAME`,** shows that test's card in place:
|
|
98
|
+
- what it sends;
|
|
99
|
+
- its last run;
|
|
100
|
+
- its trend over the last eight runs, as sparklines;
|
|
101
|
+
- Run, Edit and run, History.
|
|
102
|
+
- **History** is one aligned row per run: outcome, when, req/s, p99,
|
|
103
|
+
errors.
|
|
104
|
+
- **`/pepe status`** shows what's running.
|
|
105
|
+
- **Runs started from Slack are now recorded,** so the history and trend
|
|
106
|
+
stay current.
|
|
107
|
+
|
|
108
|
+
## Checked
|
|
109
|
+
|
|
110
|
+
- 397 tests pass; clippy 1.98 is clean.
|
|
111
|
+
- Against the fake Slack and fake Socket Mode, with a 20 s saved test:
|
|
112
|
+
1. `/pepe` answered with the dropdown card.
|
|
113
|
+
2. Picking a test replaced the card in place.
|
|
114
|
+
3. Run started the test.
|
|
115
|
+
4. Pause: the message turned grey with Resume and "<@U1> paused it".
|
|
116
|
+
5. +1 raised concurrency and recomputed both buttons. (Exercised with
|
|
117
|
+
the earlier 25% steps; the ±1 buttons and the thread lines are covered
|
|
118
|
+
by unit tests.)
|
|
119
|
+
6. Resume restarted it.
|
|
120
|
+
7. `/pepe status` showed the running card.
|
|
121
|
+
8. Stop ended it: the verdict appeared with its buttons, followed by the
|
|
122
|
+
result line.
|
|
123
|
+
9. History listed the run, recorded.
|
|
124
|
+
|
|
125
|
+
Not checked against a real Slack workspace.
|
|
126
|
+
|
|
127
|
+
|
|
9
128
|
## [0.48.0](https://github.com/omarmhaimdat/pepe/compare/v0.47.0...v0.48.0) - 2026-10-18
|
|
10
129
|
|
|
11
130
|
### Added
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"hasInstallScript": true,
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"name": "pepe-http",
|
|
22
|
-
"version": "0.
|
|
22
|
+
"version": "0.49.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.
|
|
51
|
+
"version": "0.49.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.
|
|
3
|
+
"https://github.com/omarmhaimdat/pepe/releases/download/v0.49.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.
|
|
122
|
+
"version": "0.49.1",
|
|
123
123
|
"volta": {
|
|
124
124
|
"node": "18.14.1",
|
|
125
125
|
"npm": "9.5.0"
|