Repository navigation
fix: lockfile and auto-merge failures from the Count's first run on his own repository - #108
Conversation
…th cargo update --workspace A manifest moving base64 0.22 to =0.23.1 left the old 0.22.1 entry in use by jsonwebtoken, so --precise on that entry failed to select a version. A target that Cargo treats as incompatible with the locked version is a new entry: lock it with --workspace, then pin it with --precise if Cargo chose a newer release.
zstd-sys 2.1.2 is locked as 2.1.2+zstd.1.5.7, so the post-lock check that the lock records the requested version rejected a correct lock. SemVer build metadata does not order versions: a request without it matches any build, and one with it still has to match exactly.
core:rust writes no platforms.* entries, so a lockfile with a rust entry failed with 'no existing platforms to preserve'. mise lock handles it (it writes the version and specifiers and skips every platform): lock such a tool for the platforms the rest of the lockfile records, and without --platform when the lockfile records none.
The lock job gathered every mise.toml under the lock's directory, so tests/corpus/tools/mise/mise.toml (node = "24", usage and hk at latest) overrode the root declarations. node 26.13.0 and usage 7.1.3 were locked as 24.22.2 and latest, failing the resolved-version check. mise itself reads the directory and its ancestors for a lock; a nested mise.toml has a lock of its own, so a dependency there no longer finds an ancestor's mise.lock.
…manifest's
mise records the manifest's request as an entry's specifiers and calls a lock
that disagrees out of date ('[email protected] is not in the lockfile'). Check every
selected tool's specifiers against the declaration the lock job was given, so a
lock for the wrong request fails the branch instead of shipping.
…a PR clean enablePullRequestAutoMerge answers a PR that can already be merged with 'Pull request is in clean status', since GitHub offers auto-merge only on a PR that cannot be merged yet. The Count reported that as an error for the webpki-root-certs PR. Treat it as native auto-merge being off for that PR: leave it to the Count's own merge on a later run, which still needs a stored receipt, policy, release age and every check passing.
… beside lockfiles nothing regenerates A package.json beside only an aube-lock.yaml found no lockfile, so the update was a manifest-only PR and aube ci then failed with 'lockfile is out of date'. Treat aube-lock.yaml as an aube-owned Node lockfile like pnpm-lock.yaml: find it, regenerate it in place by name, and keep the 'aube wrote aube-lock.yaml' error for a lockfile aube was not asked to keep. Python locks of tools nothing here runs (pdm.lock, pylock.toml, Pipfile.lock) now hold the update as lockfile-pending, as bun.lockb already did, and the pending reason names the lockfile.
An aube-lock.yaml is pnpm's v9 format. Give direct npm dependencies the version it locked (so the post-lock check can prove the requested version, as it does for package-lock.json) and list the registry packages beneath them as lockfile-only packages for advisory checks. package-lock.json and bun.lock keep precedence for a dependency they already resolved; the corpus extraction snapshot is unchanged.
|
|
Overall Grade |
Security Reliability Complexity Hygiene |
Code Review Summary
| Analyzer | Status | Updated (UTC) | Details |
|---|---|---|---|
| Rust | Oct 31, 2026 12:02a.m. | Review ↗ | |
| JavaScript | Oct 31, 2026 12:02a.m. | Review ↗ | |
| Shell | Oct 31, 2026 12:02a.m. | Review ↗ |
Important
AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
count-patchula | ec8ba12 | Commit Preview URL Branch Preview URL |
Oct 30 2026, 11:56 PM |
|
Docs7 for sweepies/count-patchula
Commit |
There was a problem hiding this comment.
All reported issues were addressed across 19 files
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
…ries The scanner's npm file list omitted aube-lock.yaml, so the engine never fetched it and the locked-version reader got nothing in a real run; the earlier test fed the file in directly. Select it, and test through the scanner's own file selection. An importer entry that is a workspace link, file or Git reference (link:../shared) is no locked version and is no longer recorded as one.
… and every declared request The configuration filter used the strict 'under', so services/api/mise.toml was excluded for services/api/mise.lock and the tool had no declaration. Include the lock's own directory. The specifiers check read a mise array of tables as no requests and rejected valid declarations, and accepted a lock that answered only some of a multi-version declaration; read each table's version and require the recorded requests to equal the declared ones.
A root Pipfile.lock held updates to packages/app even though packages/app/uv.lock governs that project. Compare the nearest supported and unsupported lockfiles and hold only when the unsupported one is at least as close.
…ith a range The lockfile table gave one aube command for aube-lock.yaml and pnpm-lock.yaml; it runs once per lockfile with default-lockfile set to its name. The Cargo cross-boundary test now declares a range (0.23), the requirement under which cargo locks a release newer than the target and the --precise pin follows.
There was a problem hiding this comment.
All reported issues were addressed across 7 files (changes from recent commits).
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
Fixes the failures from the Count's first run on his own repository (run 41140623174), plus the two follow-ups from the PRs it opened (#98–#101 and #102–#105). One commit per bug.
base64-0.x: cargofailed to select a version--preciseon the old0.22.1entry, whichjsonwebtokenstill requirescargo update --workspace(adds only what the edited manifests need), then--preciseto the target if cargo locked a newer releasezstd-sys-2.x:lockfile did not resolve … 2.1.22.1.2+zstd.1.5.7; the advisory's fixed version has no build metadata; the check compared stringsrust-1.x:no existing platforms to preservecore:rustrecords noplatforms.*--platformwhen it records nonenode-26.x,usage-7.x:did not resolvemise.tomlunder the lock's directory, sotests/corpus/tools/mise/mise.toml(node = "24",usageatlatest) overrode the rootmise.tomlhas a lock of its ownspecifiers = ["latest"]in #98–#101specifierscome from the manifest's requestwebpki-root-certs:Pull request is in clean statusaube cilockfile out of dateaube-lock.yamlwas not a recognised lockfile, so the PR was manifest-onlypdm.lock,pylock.toml,Pipfile.lock) hold as lockfile-pending with the lockfile namedNot changed: the rustup
$HOMEwarnings (6). They are harmless: with-y, rustup-init prints them and proceeds. SettingRUSTUP_HOMEandCARGO_HOMEdoes not avoid them; only the internalRUSTUP_INIT_SKIP_SUDO_CHECK=yestest hook does, and rustup says only the test runner should set it.Tests: each fix has a test that fails without it. Local checks were clippy, fmt, and the manager, update and engine test suites; the corpus extraction snapshot is unchanged.