Skip to content

fix(build): vendor ragent-oss SDK to restore clean builds - #78

Merged
squarezw merged 1 commit into
mainfrom
feat/vendor-ragent-oss
Oct 3, 2026
Merged

squarezw merged 1 commit into
mainfrom
feat/vendor-ragent-oss

Conversation

@squarezw

@squarezw squarezw commented Oct 3, 2026

Copy link
Copy Markdown
Owner

Problem and change

A clean frontend build fails with npm 404 because ragent-oss@0.1.0 was unpublished. Vendor the recovered installed SDK under vendor/ragent-oss and resolve it through a local file: dependency, so builds no longer download this package from npm.

The Docker builder copies the SDK before dependency installation. Existing imports, Next.js transpilation, and the OSS gateway protocol are preserved. The lockfile changes only the SDK resolution; package provenance and per-file SHA-256 checksums are included. This contains the client SDK, not the storage gateway server.

Validation

  • Clean pnpm install --frozen-lockfile with pnpm 11.20.0: passed.
  • Existing test suite: 732 passed, 0 failed.
  • Production build and full cold Docker build: passed.
  • Network-disabled final Docker runner: all seven SDK file checksums matched.
  • git diff --check: passed.

Execution checks were performed in the private frontend verification checkout. The public patch's 12 changed files are byte-identical to that tested version, and the six relevant baseline configuration files match. Public patch applicability and file equality were checked separately. The existing Next.js configuration skips type and lint validation; live OSS calls were not exercised.

Private production synchronization follows this public PR's merge.

@squarezw
squarezw merged commit 6813d8d into main Oct 3, 2026
1 check passed
@squarezw
squarezw deleted the feat/vendor-ragent-oss branch October 3, 2026 09:10
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