next-issue 7.8.1 → 7.8.2

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.
Files changed (2) hide show
  1. package/README.md +13 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -995,23 +995,30 @@ previous tag, grouped by type, and end with the compare link from that tag.
995
995
  The release is the `release` job of the `ci` workflow, and it runs only after
996
996
  the `check` job of the same commit passes. A commit that fails the typecheck,
997
997
  lint, format check, tests or build releases nothing. As the release is part of
998
- the `push` run, the harness waits for it like any other check.
998
+ the `push` run, the harness waits for it like any other check. Release jobs run
999
+ one at a time, in the order their `check` jobs finish, which is not always push
1000
+ order. When a later commit releases first, its tag holds the earlier commit and
1001
+ its version counts the commits of both, so the release job of the earlier commit
1002
+ only repairs and does nothing else.
999
1003
 
1000
1004
  The workflow then gives `next-issue` and `@ravshansbox/pi-next-issue` the same
1001
1005
  new version and publishes both packages to npm with a
1002
1006
  [trusted publish](https://docs.npmjs.com/trusted-publishers), so no token is
1003
1007
  stored. It pushes the tag before the publish and makes the GitHub release after
1004
1008
  it, so the next release always counts from the new tag and never tries to
1005
- publish a version that npm already holds. npm makes a new version live a few
1009
+ publish a version that npm already holds, and no release job counts from a tag
1010
+ before one that already holds its commit. npm makes a new version live a few
1006
1011
  minutes after the publish, and not always in the order it got them, so before
1007
1012
  it publishes, the job waits until npm serves both packages at the version of the
1008
1013
  last tag, for up to 10 minutes. Thus a new version never goes live before the
1009
- one that came before it. Every run first repairs the last tag: from a checkout
1010
- of that tag it publishes each package that npm does not serve at the tag
1014
+ one that came before it. Every run first repairs the last tag before its own
1015
+ commit: from a checkout of that tag it publishes each package that npm does not serve at the tag
1011
1016
  version, and makes the GitHub release if it is missing. A package that npm
1012
1017
  refuses as a version it already holds, but does not serve yet, counts as
1013
- published. So when a step fails after the tag push, the next run finishes that
1014
- release before it makes a new one. To repair a release without a new commit,
1018
+ published. So when a step fails after the tag push, the next run of a later
1019
+ commit finishes that release before it makes a new one. The release job of an
1020
+ earlier commit that runs after it does not, as it repairs the tag before its
1021
+ own commit. To repair a release without a new commit,
1015
1022
  run the `ci` workflow by hand; after the checks pass, the release job only
1016
1023
  repairs and does nothing else.
1017
1024
  The job uses the npm that comes with Node 24 and never installs another one.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-issue",
3
- "version": "7.8.1",
3
+ "version": "7.8.2",
4
4
  "description": "Autonomous issue harness driven by the pi SDK",
5
5
  "keywords": [
6
6
  "github",