Skip to content

fix(ci): support Cargo 1.100 artifact layout in cleanup fixture - #5010

Merged
jackye1995 merged 1 commit into
mainfrom
xuanwo/fix-unlocked-artifact-fixture
Nov 13, 2026
Merged

jackye1995 merged 1 commit into
mainfrom
xuanwo/fix-unlocked-artifact-fixture

Conversation

@Xuanwo

@Xuanwo Xuanwo commented Nov 12, 2026

Copy link
Copy Markdown
Member

Cargo 1.100 moves intermediate compiler artifacts into per-unit build directories and emits build_script_build instead of build-script-build. The unlocked-build fixture currently fails on its old rlib path before the SDK build starts, even though the library survives cleanup.

Discover compiler inputs recursively and accept both build-script names while preserving the library, generated-input, ordinary-executable, discarded-test, linker-failure and outside-target assertions. The standalone fixture reproduces the failure before this change and passes afterward on Rust/Cargo 1.100.0; it also passes on 1.97.0. Fault injection confirms missing libraries and other retained inputs still fail their assertions. Production cleanup and normal workflow coverage are unchanged.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.

Tip: disable this comment in your organization's Code Review settings.

@github-actions github-actions Bot added the bug Something isn't working label Nov 12, 2026

@lancedb-gatekeeper lancedb-gatekeeper Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Gate recommendation: approve.

Recursive discovery handles Cargo’s artifact layout change while preserving the cleanup checks. The fixture passes on Cargo 1.97 and 1.100, and removing each retained compiler input still fails its assertion.

@lancedb-gatekeeper lancedb-gatekeeper Bot added the K-approved Latest Gatekeeper recommendation permits acceptance. label Nov 12, 2026
@jackye1995
jackye1995 merged commit db098ba into main Nov 13, 2026
23 checks passed
@jackye1995
jackye1995 deleted the xuanwo/fix-unlocked-artifact-fixture branch November 13, 2026 04:34
Xuanwo added a commit that referenced this pull request Nov 14, 2026
The remote job runs the default local Functions gate twice: once before
building the remaining test targets, and again in the full remote suite.
Run it only through the existing full suite, removing the serial Cargo
invocation barrier while retaining the same features, authentication
wrapper, targets, and 30-minute deadline.

The [hosted remote
job](https://github.com/lancedb/lancedb/actions/runs/43302507952/job/131477104217)
at `7886d79e` completed successfully in 25m36s within the unchanged
30-minute limit. Its full suite passed 2,164 unit, 114 integration, and
120 doctests, including the three default gate tests. This single run
establishes completion for that workload, not a general timing
improvement or cold-build guarantee. The branch now includes main's
Cargo artifact fixture repair (#5010). The workflow, full-suite command,
authentication wrapper, three default Functions gate tests, and
30-minute deadline are unchanged from that hosted run. The 2,398-test
result remains evidence for `7886d79e`. On the updated head `810d6558`,
the [hosted remote
job](https://github.com/lancedb/lancedb/actions/runs/43382023177/job/131741745645)
completed in 17m58s with 2,171 unit tests, 119 integration tests, and
122 doctests passing (82 ignored), including all three default Functions
gate tests. This is current-head execution evidence, not a controlled
speedup comparison.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working K-approved Latest Gatekeeper recommendation permits acceptance.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants