Skip to content

Backport bug fixes from spi-release-0.47 - #1395

Open
jrray wants to merge 8 commits into
mainfrom
backport-0.47-fixes
Open

Backport bug fixes from spi-release-0.47#1395
jrray wants to merge 8 commits into
mainfrom
backport-0.47-fixes

Conversation

@jrray

@jrray jrray commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

Eight fixes from the internal spi-release-0.47-github release branch that were never merged to public main.

Handle Rust 1.93 lint regressions — adds #![allow(unused_assignments)] to thiserror-heavy error modules and the migration graph code that now trigger macro-generated warnings under Rust 1.93 when linting with -Dwarnings. Also marks the cmd-build environment-ops test with #[spfstest].

Disable default repo index use — when a non-destructive repo operation reaches an unconfigured repository, respect the global solver.use_indexes setting rather than enabling index use on every non-local repo unconditionally. Adds a regression test exercising an unconfigured origin repo, serialized under a serial_test lock because it mutates global spk config.

Add SPI Rocky 9 RPM spec — add .site/spi/spk-rl9.spec, the Rocky Linux 9 RPM build spec maintained on the internal branch. It matches internal content except version-number fields.

Fix spfs check summary for missing objects — removes the spurious checked_objects: 1 increment from CheckObjectError::Missing::summary() and updates the regression test accordingly.

Bump cached from 0.48.1 to 0.54.0 — also drops the now-unused darling and instant transitive dependencies.

Sync SPI spk.spec with internal branch — update .site/spi/spk.spec to match internal build requirements, build flags, and file installs (including spfs-winfsp), while keeping public Version/Provides values at 0.44.0.

Stop passing legacy-mount-options in public SPI specs — remove spfs/legacy-mount-options from both public SPI spec cargo feature lists (.site/spi/spk.spec and .site/spi/spk-rl9.spec) so they reference only features that exist in public spfs.

Add SPI package metadata helper script — add .site/spi/spk-pkg-metadata.sh from the internal branch so SPI RPM specs can include it in the package payload.

jrray and others added 3 commits July 8, 2026 16:54
Add module-level unused_assignments allowances to the
thiserror-heavy error modules and migration graph code that now
trigger macro-generated warnings under Rust 1.93 while linting
with -Dwarnings.

Also mark the cmd-build environment-ops test with spfstest so
the staged branch state continues to pass the test suite.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: J Robert Ray <jrray@imageworks.com>
Use the global solver.use_indexes setting when a non-destructive
repo operation reaches an unconfigured repository instead of
assuming every non-local repo should use an index.

Add a regression test that exercises an unconfigured origin repo,
and serialize it under a dedicated spk_config lock because it
mutates the global spk config.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: J Robert Ray <jrray@imageworks.com>
Add spk-rl9.spec, the Rocky Linux 9 RPM build spec for the SPI
internal build, alongside the existing spk.spec for RHEL 7/8.
The rl9 variant enables the legacy-mount-options and
fuse-backend-rhel-7-9 features, uses cmake3 (with a fallback
to cmake for forward-compatibility), and requires libcurl-devel
for the rdkafka-sys build.

Also add 'buildrequires' and 'rpmspec' to the cspell dictionary.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: J Robert Ray <jrray@imageworks.com>
@jrray
jrray force-pushed the backport-0.47-fixes branch from 43640a7 to e611003 Compare July 9, 2026 00:21
@codecov

codecov Bot commented Jul 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

jrray and others added 2 commits July 8, 2026 17:46
Remove the spurious checked_objects increment from
CheckObjectError::Missing::summary(). A missing object was never
actually checked, so it should not contribute to checked_objects.
Update the regression test to expect 1 checked object instead of 2.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: J Robert Ray <jrray@imageworks.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: J Robert Ray <jrray@imageworks.com>
@jrray
jrray force-pushed the backport-0.47-fixes branch from 5b1f553 to e713d62 Compare July 9, 2026 00:46
jrray and others added 2 commits July 8, 2026 17:50
Update .site/spi/spk.spec to match the internal build spec,
keeping public version/provides numbers at 0.44.0.

This brings over internal build requirements and packaging file
layout, but keeps public cargo feature usage aligned with public
spfs by omitting spfs/legacy-mount-options.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: J Robert Ray <jrray@imageworks.com>
Remove spfs/legacy-mount-options from the public Rocky 9 RPM
build flags in .site/spi/spk-rl9.spec so the spec only references
features that exist in public spfs.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: J Robert Ray <jrray@imageworks.com>
@jrray
jrray force-pushed the backport-0.47-fixes branch from 1c53b7a to 8a17571 Compare July 9, 2026 00:51
Add .site/spi/spk-pkg-metadata.sh from the internal release
branch so the public SPI specs can include it in RPM payloads.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: J Robert Ray <jrray@imageworks.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