Commit 485145e
committed
Serialize request-converter npm publishes
Release branches are tagged within seconds of each other and each
release publishes the same npm package. npm rewrites the whole
packument on publish, so the later run fails with "409 Conflict -
Failed to save packument". 8.19.25 lost that race against 9.5.1 and
published nothing.
A concurrency group serializes the runs. "queue: max" is required
because the default single pending slot cancels an already-pending run
when a third arrives, which would silently drop a publish in a
three-release cluster.1 parent 3bc794b commit 485145e
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
21 | 30 | | |
22 | 31 | | |
23 | 32 | | |
| |||
0 commit comments