Skip to content

Fix mise install --locked in CI - #30

Merged
drewvolz merged 2 commits into
mainfrom
claude/affectionate-rubin-lxv4fc
Nov 8, 2026
Merged

drewvolz merged 2 commits into
mainfrom
claude/affectionate-rubin-lxv4fc

Conversation

@drewvolz

@drewvolz drewvolz commented Nov 8, 2026 •

Copy link
Copy Markdown
Member

The mise setup step started failing on mise 2026.11.4 (failing run) with two errors:

  • htmlq: No lockfile checksum found for htmlq@0.4.0 on platform linux-x64 (--locked mode). The htmlq entries in mise.lock had download URLs but no checksums. I ran mise lock to add a sha256 for every platform. I also downloaded the linux-x64 file myself and its checksum matched.
  • pmtiles: option 'exe' is not used by the github backend. I dropped exe = "pmtiles" from mise.toml. mise finds the pmtiles program in the download without it.

This also sets min_version = "2026.11.1", the same floor as aao-react-native. mise 2026.11.1 writes this repo's mise.lock byte for byte the same as 2026.11.4, the version CI installs. With the floor, an older mise refuses to run instead of rewriting the lock.

Testing

I tested with mise 2026.11.4, the version the failing run used:

  • mise install --locked installs all 7 tools.
  • mise exec -- pmtiles version reports 1.31.2. This is the same call build-tiles.sh makes.
  • mise exec -- htmlq --version reports 0.4.0.
  • mise lock under 2026.11.1 leaves mise.lock unchanged.

Not changed

  • mise still warns that actionlint is deprecated in favour of jactionlint. This doesn't fail the build.
  • mise.lock stays on lockfile format 1. mise lock --upgrade would move it to format 4, which only changes the version line. 2026.11.1 and 2026.11.4 write that identically too.
  • aao-react-native also sets locked = true, so a plain mise install never rewrites the lock. CI here already runs --locked, so I left this out.

🤖 Generated with Claude Code

https://claude.ai/code/session_014hjTWqbmj2SD438mQ5pfnw

mise 2026.11.4 made two things hard errors:

- htmlq had lockfile entries with no checksum, which --locked now
  refuses. Ran `mise lock` to record sha256 for every platform.
- The github backend rejects unknown options, and `exe` isn't one.
  Dropped it; the backend finds the `pmtiles` binary in the archive
  on its own (`mise exec -- pmtiles version` works).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014hjTWqbmj2SD438mQ5pfnw
aao-react-native set min_version to 2026.11.1. Here too, 2026.11.1
writes mise.lock byte for byte the same as 2026.11.4, the version CI
installs, so it is a safe floor: an older mise refuses to run rather
than rewrite the lock.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014hjTWqbmj2SD438mQ5pfnw
@drewvolz
drewvolz merged commit f746589 into main Nov 8, 2026
7 checks passed
@drewvolz
drewvolz deleted the claude/affectionate-rubin-lxv4fc branch November 8, 2026 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants