Commit 3ec9960
committed
fix(docs): retry snapshot push; portable Pages URL; drop non-positive Y
Three code-review fixes on PR 5:
1. Snapshot push race. The bench-upload Snapshot step pushed devel
without rebasing, so a concurrent push during a long bench run
would reject non-fast-forward and fail the entire job. Add a
fetch + rebase + retry loop (3 attempts) and push HEAD:devel.
The commit is already [skip ci], so the retry cannot trigger an
infinite bench loop on a successful push.
2. Hardcoded GitHub Pages verify URL. The docs.yml verification
step curled https://elijahr.github.io/lockfreequeues/... which
is wrong on forks or after a repo rename. Derive the URL from
github.repository_owner and github.event.repository.name so the
verifier follows the repo wherever it lives.
3. Log-scale accepts non-positive. The chart defaults to log Y
(distr: 3) but merge_bmf.py only enforces finiteness, so a
malformed BMF could deliver a 0 or negative throughput value.
Treat <= 0 as missing data in toUplotData. Throughput in ops/ms
cannot legitimately be non-positive (a 0 indicates a degenerate
run that bench_throughput's elapsedNs guard already rejects), so
surfacing as missing is the correct semantics.1 parent 4adc5bd commit 3ec9960
3 files changed
Lines changed: 44 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
709 | 709 | | |
710 | 710 | | |
711 | 711 | | |
712 | | - | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
70 | 77 | | |
71 | 78 | | |
72 | 79 | | |
73 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
74 | 84 | | |
75 | 85 | | |
76 | | - | |
| 86 | + | |
77 | 87 | | |
78 | 88 | | |
79 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
138 | | - | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
139 | 146 | | |
140 | 147 | | |
141 | 148 | | |
142 | 149 | | |
143 | 150 | | |
144 | 151 | | |
145 | 152 | | |
146 | | - | |
| 153 | + | |
| 154 | + | |
147 | 155 | | |
148 | 156 | | |
149 | 157 | | |
| |||
0 commit comments