next-issue 6.6.36 → 6.6.38
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/README.md +5 -4
- package/dist/hunt.mjs +1 -1
- package/dist/setup.mjs +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -464,17 +464,18 @@ and runs the install command that goes with it:
|
|
|
464
464
|
| `package-lock.json` | `npm ci` |
|
|
465
465
|
| `yarn.lock` | `yarn install --frozen-lockfile`, or `yarn install --immutable` with a `.yarnrc.yml` |
|
|
466
466
|
| `bun.lock`, `bun.lockb` | `bun install --frozen-lockfile` |
|
|
467
|
-
| `Cargo.lock` | `cargo fetch`
|
|
467
|
+
| `Cargo.lock` | `cargo fetch --locked` |
|
|
468
468
|
| `go.sum` | `go mod download` |
|
|
469
|
-
| `uv.lock` | `uv sync`
|
|
469
|
+
| `uv.lock` | `uv sync --locked` |
|
|
470
470
|
| `poetry.lock` | `poetry install` |
|
|
471
|
-
| `Gemfile.lock` | `bundle install`
|
|
471
|
+
| `Gemfile.lock` | `BUNDLE_FROZEN=true bundle install` |
|
|
472
472
|
|
|
473
473
|
The first match in that order wins. A project with no lock file in the list
|
|
474
474
|
runs no setup, and a `setupCommand` in the config file always wins. Thus the
|
|
475
475
|
agents find a worktree with its dependencies in place, and the reviewer can run
|
|
476
476
|
the tests. Each command holds to the lock file, so a lock file that does not
|
|
477
|
-
match the manifest stops the issue rather than changing the lock file.
|
|
477
|
+
match the manifest stops the issue rather than changing the lock file. The
|
|
478
|
+
exception is `go mod download`, which can add missing sums to `go.sum`.
|
|
478
479
|
|
|
479
480
|
A `setupCommand` that fails, or that does not finish in `setupTimeoutMinutes`,
|
|
480
481
|
hands the issue to a person. The wait for the checks has its own limit, so
|
package/dist/hunt.mjs
CHANGED
|
@@ -10,7 +10,7 @@ import { huntPrompt } from './prompts.mjs';
|
|
|
10
10
|
import { skipReason } from './skip.mjs';
|
|
11
11
|
import { huntPath } from './worktree.mjs';
|
|
12
12
|
export const HUNT_FILE = 'next-issue.hunt.md';
|
|
13
|
-
const FILED = /^issue
|
|
13
|
+
const FILED = /^issue:[^\S\r\n]*(\S+)[^\S\r\n]*$/gm;
|
|
14
14
|
export async function huntWorktree(repo, base, remote) {
|
|
15
15
|
const path = huntPath(repo);
|
|
16
16
|
const target = remoteRef(remote, base);
|
package/dist/setup.mjs
CHANGED
|
@@ -6,11 +6,11 @@ const MARKERS = [
|
|
|
6
6
|
['yarn.lock', 'yarn install --frozen-lockfile'],
|
|
7
7
|
['bun.lock', 'bun install --frozen-lockfile'],
|
|
8
8
|
['bun.lockb', 'bun install --frozen-lockfile'],
|
|
9
|
-
['Cargo.lock', 'cargo fetch'],
|
|
9
|
+
['Cargo.lock', 'cargo fetch --locked'],
|
|
10
10
|
['go.sum', 'go mod download'],
|
|
11
|
-
['uv.lock', 'uv sync'],
|
|
11
|
+
['uv.lock', 'uv sync --locked'],
|
|
12
12
|
['poetry.lock', 'poetry install'],
|
|
13
|
-
['Gemfile.lock', 'bundle install'],
|
|
13
|
+
['Gemfile.lock', 'BUNDLE_FROZEN=true bundle install'],
|
|
14
14
|
];
|
|
15
15
|
function exists(path) {
|
|
16
16
|
return access(path).then(() => true, () => false);
|