Skip to content

fix: avoid stale Cargo artifacts in OpenShell builds - #499

Merged
sara-tadayon-nv merged 1 commit into
NVIDIA:mainfrom
sara-tadayon-nv:fix/openshell-build-cache
Oct 27, 2026
Merged

sara-tadayon-nv merged 1 commit into
NVIDIA:mainfrom
sara-tadayon-nv:fix/openshell-build-cache

Conversation

@sara-tadayon-nv

@sara-tadayon-nv sara-tadayon-nv commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Overview

Remove the shared Cargo build-output cache from the OpenShell Dockerfile to prevent stale artifacts across source revisions

Where should the reviewer start?

examples/code_review_agent/Dockerfile.openshell

Related Issues: (use one of the action keywords Closes / Fixes / Resolves / Relates to)

Summary by CodeRabbit

  • Chores
    • Updated the OpenShell example’s Docker build process. It no longer uses a BuildKit cache for compiled artifacts when building Python wheels.

@coderabbitai

coderabbitai Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between 333152f and c7e9b31.

Files selected for processing: 1
  • examples/code_review_agent/Dockerfile.openshell
Files with no reviewable changes: 1
  • examples/code_review_agent/Dockerfile.openshell

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 11 remain after this review.

Recent review details
Context from checks skipped due to timeout: 30
  • GitHub Check: Preview docs
  • GitHub Check: Detect docs changes
  • GitHub Check: Test (Python 3.11, windows-amd64)
  • GitHub Check: Test (Python 3.12, linux-amd64)
  • GitHub Check: Test (Python 3.12, macos-arm64)
  • GitHub Check: Test (Python 3.13, linux-arm64)
  • GitHub Check: Test (Python 3.14, macos-arm64)
  • GitHub Check: Test (Python 3.13, windows-amd64)
  • GitHub Check: Test (Python 3.11, macos-arm64)
  • GitHub Check: Test (Python 3.12, linux-arm64)
  • GitHub Check: Test (Python 3.14, linux-amd64)
  • GitHub Check: Test (Python 3.12, windows-amd64)
  • GitHub Check: Test (Python 3.11, linux-arm64)
  • GitHub Check: Test (Python 3.13, linux-amd64)
  • GitHub Check: Test (Python 3.14, linux-arm64)
  • GitHub Check: Test (Python 3.14, windows-amd64)
  • GitHub Check: Relay 0.9 (Python 3.12, linux-amd64)
  • GitHub Check: Test (Python 3.13, macos-arm64)
  • GitHub Check: Cline E2E
  • GitHub Check: Test (Python 3.11, linux-amd64)
  • GitHub Check: Hermes adapter (upstream Relay 0.10, Python 3.14)
  • GitHub Check: Qwen Code E2E
  • GitHub Check: Test adapters (Node 24)
  • GitHub Check: OpenCode E2E
  • GitHub Check: Test (Node 24)
  • GitHub Check: Test adapters (Node 22.19.0)
  • GitHub Check: Test (Node 20.18.3)
  • GitHub Check: Test (arm64)
  • GitHub Check: Test (x86_64)
  • GitHub Check: Pre-commit

Walkthrough

The Dockerfile no longer mounts /src/fabric/target as a BuildKit cache during Python wheel builds. Other cache mounts and wheel-build commands are unchanged.

Changes

Docker wheel build

Layer / File(s) Summary
Wheel build cache mounts
examples/code_review_agent/Dockerfile.openshell
The /src/fabric/target BuildKit cache mount was removed. Other cache mounts and wheel-build commands are unchanged.

Priority: Low

Estimated code review effort: 1 (Trivial) | ~2 minutes

Change: Bug fix

Merge Risk: Minimal · up to c7e9b

No actionable merge-blocking issue is identified; the change is mergeable after normal checks.

Pre-merge checks: Passed 4
Check name Status Explanation
Title check Passed The title follows Conventional Commits format with the allowed lowercase type fix, uses an imperative summary, stays under 72 characters, and has no trailing period. It accurately describes the cach…
Description check Passed The description includes the required Overview, reviewer starting point, related issue reference, and contribution and duplication confirmations. It clearly explains the purpose of removing the shared…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title follows Conventional Commits format with the allowed lowercase type fix, uses an imperative summary, stays under 72 characters, and has no trailing period. It accurately describes the cache removal change.

Full details: Description check

Explanation

The description includes the required Overview, reviewer starting point, related issue reference, and contribution and duplication confirmations. It clearly explains the purpose of removing the shared Cargo build-output cache.

Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown

Signed-off-by: Sara Tadayon <stadayon@nvidia.com>
@sara-tadayon-nv
sara-tadayon-nv force-pushed the fix/openshell-build-cache branch from c7e9b31 to f969561 Compare October 27, 2026 02:41
@sara-tadayon-nv
sara-tadayon-nv marked this pull request as ready for review October 27, 2026 02:59
@sara-tadayon-nv
sara-tadayon-nv requested a review from a team as a code owner October 27, 2026 02:59
@sara-tadayon-nv
sara-tadayon-nv merged commit 5fb87fe into NVIDIA:main Oct 27, 2026
46 checks passed

This branch was previously deployed

1 inactive deployment
fern — f9695613 Deployed Oct 27, 2026 by sara-tadayon-nv via Clean up docs preview #2662
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