Skip to content

[codex] Fix native SDK runtime crate packaging - #664

Merged
i386 merged 1 commit into
mainfrom
codex/fix-native-sdk-crate-packaging
May 24, 2026
Merged

[codex] Fix native SDK runtime crate packaging#664
i386 merged 1 commit into
mainfrom
codex/fix-native-sdk-crate-packaging

Conversation

@i386

@i386 i386 commented May 24, 2026

Copy link
Copy Markdown
Collaborator

Generated native SDK runtime crates now declare their own empty workspace, so cargo package treats them as standalone crates even when they are emitted under the mesh-llm checkout.

Root Cause

The release workflow writes generated runtime crates under dist/native-sdk-crates/.... Because that path is inside the repository, Cargo found the parent Cargo.toml workspace and failed with:

current package believes it's in a workspace when it's not

The generated crates are publishable artifacts rather than workspace members, so the manifest template needs to opt out of the parent workspace.

Validation

  • bash -n scripts/package-native-sdk-crate.sh
  • git diff --check
  • Repo-local smoke packaging of a fake meshllm-native-linux-x86_64-cpu artifact under target/native-sdk-crate-smoke/..., matching the CI condition where Cargo can see the parent workspace

@i386
i386 marked this pull request as ready for review May 24, 2026 05:10
@i386
i386 merged commit 0b7d220 into main May 24, 2026
1 check failed
@i386
i386 deleted the codex/fix-native-sdk-crate-packaging branch May 24, 2026 05:10
michaelneale added a commit that referenced this pull request May 24, 2026
* origin/main:
  Honor direct chat no-think requests (#647)
  fix(swift-sdk): produce versioned bundle layout for macOS xcframework (#665)
  Update llama.cpp upstream pin
  Fix native SDK runtime crate packaging (#664)
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.

1 participant