Skip to content

fix: update binstall metadata after 0.24.0 restructure#2165

Merged
mre merged 5 commits into
lycheeverse:masterfrom
rina-forks:binstall-fix
Apr 24, 2026
Merged

fix: update binstall metadata after 0.24.0 restructure#2165
mre merged 5 commits into
lycheeverse:masterfrom
rina-forks:binstall-fix

Conversation

@katrinafyi

@katrinafyi katrinafyi commented Apr 24, 2026

Copy link
Copy Markdown
Member

just remove bin-dir and pkg-fmt because they can be auto-detected and this is more robust against future changes and different operating systems: https://github.com/cargo-bins/cargo-binstall/blob/main/SUPPORT.md#defaults

this is the error without these changes:

$ cargo binstall --no-cleanup lychee@0.24.1  --strategies crate-meta-data
 INFO resolve: Resolving package: 'lychee@=0.24.1'
ERROR resolve: When resolving lychee bin lychee is not found. This binary is not optional so it must be included in the archive, please contact with upstream to fix this issue.
 WARN resolve: Error while downloading and extracting from fetcher github.com: failed to find or install binaries: bin file /home/rina/.cargo/cargo-binstall4XM5HP/bin-lychee-x86_64-unknown-linux-gnu-GhCrateMeta/lychee not found
ERROR resolve: When resolving lychee bin lychee is not found. This binary is not optional so it must be included in the archive, please contact with upstream to fix this issue.
 WARN resolve: Error while downloading and extracting from fetcher github.com: failed to find or install binaries: bin file /home/rina/.cargo/cargo-binstall4XM5HP/bin-lychee-x86_64-unknown-linux-musl-GhCrateMeta/lychee not found
ERROR Fatal error:
  \x1b[31m×\x1b[0m For crate lychee: Fallback to cargo-install is disabled
\x1b[31m  ╰─▶ \x1b[0mFallback to cargo-install is disabled

related to #2160. the failure of binstall breakas pre-commit (and probably other things)

@mre

mre commented Apr 24, 2026

Copy link
Copy Markdown
Member

Ouch, yeah, that's on me. Thanks for fixing.

@mre mre merged commit 6eb99e8 into lycheeverse:master Apr 24, 2026
8 checks passed
mre added a commit that referenced this pull request Apr 25, 2026
Dropping it caused binstall to resolve the latest published release
(0.24.1), whose archive still has the pre-#2165 layout, so the job
fails with 'lychee bin not found'. Using the in-tree manifest is the
whole point: it validates the metadata before the next release.
thomas-zahner pushed a commit that referenced this pull request Apr 27, 2026
* ci: fix flaky binstall-check job

Two failure modes were causing red CI on unrelated PRs and on every
release-plz PR:

- Unauthenticated api.github.com requests hit 403 under contention.
  Pass GITHUB_TOKEN so binstall's GitHub API calls are authenticated.
- Release PRs bump the in-tree version to one that is not published
  yet, so '--manifest-path .' made binstall look for a non-existent
  release. Drop the flag so binstall resolves the latest published
  version, and skip the job entirely on release-plz branches.

* ci: keep --manifest-path . in binstall-check

Dropping it caused binstall to resolve the latest published release
(0.24.1), whose archive still has the pre-#2165 layout, so the job
fails with 'lychee bin not found'. Using the in-tree manifest is the
whole point: it validates the metadata before the next release.
donbeave added a commit to jackin-project/jackin that referenced this pull request May 1, 2026
Bumps LYCHEE_VERSION in .github/workflows/docs.yml from v0.24.1 to
v0.24.2. Tarball layout is unchanged from v0.24.1 (lycheeverse/lychee#2165
is binstall-metadata only), so the existing post-v2.8.0 master SHA pin
on lycheeverse/lychee-action continues to handle extraction correctly.

Also trims historical archaeology from the LYCHEE_VERSION comment block;
the durable rationale (sitemap support forces us past lychee-action's
v0.23.0 default) stays. Per-version detail now lives in TODO.md
"Last verified".

The lychee-action-sha-pin TODO remains open — lycheeverse/lychee-action
has not tagged anything past v2.8.0 yet. TODO.md "Last verified" date
refreshed to 2026-05-01.

Signed-off-by: Alexey Zhokhov <alexey@zhokhov.com>
Co-authored-by: Claude <noreply@anthropic.com>
donbeave added a commit to jackin-project/jackin that referenced this pull request May 6, 2026
Bumps LYCHEE_VERSION in .github/workflows/docs.yml from v0.24.1 to
v0.24.2. Tarball layout is unchanged from v0.24.1 (lycheeverse/lychee#2165
is binstall-metadata only), so the existing post-v2.8.0 master SHA pin
on lycheeverse/lychee-action continues to handle extraction correctly.

Also trims historical archaeology from the LYCHEE_VERSION comment block;
the durable rationale (sitemap support forces us past lychee-action's
v0.23.0 default) stays. Per-version detail now lives in TODO.md
"Last verified".

The lychee-action-sha-pin TODO remains open — lycheeverse/lychee-action
has not tagged anything past v2.8.0 yet. TODO.md "Last verified" date
refreshed to 2026-05-01.

Signed-off-by: Alexey Zhokhov <alexey@zhokhov.com>
Co-authored-by: Claude <noreply@anthropic.com>
donbeave added a commit to jackin-project/jackin that referenced this pull request May 7, 2026
Bumps LYCHEE_VERSION in .github/workflows/docs.yml from v0.24.1 to
v0.24.2. Tarball layout is unchanged from v0.24.1 (lycheeverse/lychee#2165
is binstall-metadata only), so the existing post-v2.8.0 master SHA pin
on lycheeverse/lychee-action continues to handle extraction correctly.

Also trims historical archaeology from the LYCHEE_VERSION comment block;
the durable rationale (sitemap support forces us past lychee-action's
v0.23.0 default) stays. Per-version detail now lives in TODO.md
"Last verified".

The lychee-action-sha-pin TODO remains open — lycheeverse/lychee-action
has not tagged anything past v2.8.0 yet. TODO.md "Last verified" date
refreshed to 2026-05-01.

Co-authored-by: Claude <noreply@anthropic.com>
Signed-off-by: Alexey Zhokhov <alexey@zhokhov.com>
Co-authored-by: Codex <codex@openai.com>
donbeave added a commit to jackin-project/jackin that referenced this pull request May 7, 2026
Bumps LYCHEE_VERSION in .github/workflows/docs.yml from v0.24.1 to
v0.24.2. Tarball layout is unchanged from v0.24.1 (lycheeverse/lychee#2165
is binstall-metadata only), so the existing post-v2.8.0 master SHA pin
on lycheeverse/lychee-action continues to handle extraction correctly.

Also trims historical archaeology from the LYCHEE_VERSION comment block;
the durable rationale (sitemap support forces us past lychee-action's
v0.23.0 default) stays. Per-version detail now lives in TODO.md
"Last verified".

The lychee-action-sha-pin TODO remains open — lycheeverse/lychee-action
has not tagged anything past v2.8.0 yet. TODO.md "Last verified" date
refreshed to 2026-05-01.

Signed-off-by: Renovate Bot <renovate@whitesourcesoftware.com>
donbeave added a commit to jackin-project/jackin that referenced this pull request May 7, 2026
Bumps LYCHEE_VERSION in .github/workflows/docs.yml from v0.24.1 to
v0.24.2. Tarball layout is unchanged from v0.24.1 (lycheeverse/lychee#2165
is binstall-metadata only), so the existing post-v2.8.0 master SHA pin
on lycheeverse/lychee-action continues to handle extraction correctly.

Also trims historical archaeology from the LYCHEE_VERSION comment block;
the durable rationale (sitemap support forces us past lychee-action's
v0.23.0 default) stays. Per-version detail now lives in TODO.md
"Last verified".

The lychee-action-sha-pin TODO remains open — lycheeverse/lychee-action
has not tagged anything past v2.8.0 yet. TODO.md "Last verified" date
refreshed to 2026-05-01.

Signed-off-by: Renovate Bot <renovate@whitesourcesoftware.com>
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