Skip to content

Avoid optional CUDA downloads in CPU-only CI dependency installs #1950

Closed

Description

@currentbits

Investigate PR #1924 infrastructure failures at 58a47c9. Verify pinned ONNX Runtime 1.21.0 installer behavior and CPU/CUDA consumers; scope the supported CUDA skip option to CPU-only test/smoke installs. Preserve production GPU dependencies, every memory test, and native multi-architecture server-bundle build/smoke coverage.

Plan:

  • Trace workflow installs and production device selection; inspect failed job evidence and pinned installer.
  • Reproduce isolated default/CPU-only dependency installs; verify native CPU inference and server boots.
  • Apply minimal workflow changes, review all coverage boundaries, and open a focused PR.

Activity

  1. added
    plan:todo
    plan:doing
    and removed
    plan:todo
    on Nov 8, 2026
  2. currentbits commented on Nov 8, 2026

    @currentbits
    OwnerAuthor

    Confirmed both supplied job logs fail in memory-server npm ci before tests with ONNX 1.21.0 GPU archive HTTP 504. The pinned npm tarball's postinstall defaults Linux/x64 to CUDA 12 even without nvcc, and explicitly supports --onnxruntime-node-install-cuda=skip. CPU binaries are bundled. createRealEmbedder explicitly selects CPU/q8. test.yml test and headless-linux install memory-server; ordinary smoke does not. server-bundle.yml builds all four native archives and package-server.sh performs fresh production dependency installs in each archive. Proposed scope: only the two CPU-only test.yml installs; preserve server-bundle and production packaging unchanged.

  3. currentbits commented on Nov 8, 2026

    @currentbits
    OwnerAuthor

    Implemented the two command-local skip flags in test.yml; no package/lock/runtime or server-bundle changes. Fresh Linux x64 CPU-only install succeeds with lifecycle scripts enabled, and the retained CPU library SHA-256 matches the npm tarball. Real MiniLM integration passes. Complete native macOS memory suite passes: 248 tests, zero failures/skips, real-model integration enabled. The initial Linux slim fixture exposed missing git and PID-1 child-reaping differences; correcting the fixture to match runner facilities before the final Linux run. Native production server archive build/smoke and final review are in progress. actionlint workflow validation passes; full ShellCheck output matches the existing base SC2086 warning.

  4. currentbits commented on Nov 8, 2026

    @currentbits
    OwnerAuthor

    Focused PR opened: #1952 at ebe1154. One workflow file, two command-local flags plus rationale comments. Production installs and server-bundle workflow untouched. Native production archive build + bundled Node 24.22.2 server/worktree/PTY smoke PASS. Native memory suite: 248/248 pass with real embeddings, zero skips. Final corrected Linux Node 22.23.2 full memory suite is running. Review itinerary is written at .solenta/review-itinerary/b8d63869-ad34-42b9-ae9b-ee948df5824c.json. Keep issue open for PR review/merge.

  5. currentbits commented on Nov 8, 2026

    @currentbits
    OwnerAuthor

    Final validation completed for PR #1952: corrected Linux x64 Node 22.23.2 full memory suite passes all 248 tests, zero failures/cancellations/skips, including real MiniLM CPU embeddings and standalone memory server boot. Native macOS suite likewise passes 248/248 with real embeddings, and the unchanged darwin-arm64 production archive passes bundled-runtime server boot, worktree thread, and real PTY smoke. Exact CI install command succeeds with package lifecycle scripts enabled; CPU runtime binary matches the pinned npm tarball. Workflow validation passes with only the unchanged base ShellCheck warning. Production GPU installs, all tests, and all four native server-bundle targets remain unchanged. PR body contains reproduction details and source links. GitHub Actions had not created checks for the pushed head when inspected; no CI success is claimed. Issue remains doing pending PR review/merge.

  6. currentbits commented on Nov 8, 2026

    @currentbits
    OwnerAuthor

    CI status update: checks have appeared. All ordinary smoke jobs pass; Linux x64 Xvfb and both ARM headless boots pass with the changed install. Two Ubuntu jobs fail before memory-server installation in the unchanged root Electron postinstall download: test job 128721835738 HTTP 504, ozone job 128721835536 HTTP 502 (run 42477447369). macOS/Windows full test jobs still running at last inspection. PR body now records these unrelated infrastructure failures. No retries, binary download bypasses in CI, or additional scope changes were made. Disposable Docker fixtures removed; isolated validation logs remain in /tmp/solenta-onnx-audit.

  7. currentbits commented on Nov 8, 2026

    @currentbits
    OwnerAuthor

    PR-watch follow-up 1: rechecked the latest head ebe1154. Ubuntu test still fails in root Electron install.js with HTTP 504; x64 ozone fails there with HTTP 502, before memory-server install. No repository test/code failure was reached. Requested one rerun of failed jobs only for run 42477447369; GitHub rejected it with 403 'This workflow is already running' while macOS/Windows test jobs remain in progress. No branch changes or empty push made; original CUDA-only scope and existing tests preserved. Existing PR watcher can report the run's next event.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    plan:doing

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions