Skip to content

fix(deploy): copy plugins/ into the Rust build stage (dev2 deploys failing) - #190

Merged
ralyodio merged 1 commit into
masterfrom
fix/docker-rust-plugins
Nov 9, 2026
Merged

ralyodio merged 1 commit into
masterfrom
fix/docker-rust-plugins

Conversation

@ralyodio

@ralyodio ralyodio commented Nov 9, 2026

Copy link
Copy Markdown
Collaborator

Every Deploy to dev2 run since b5b959a fails in the image's Rust stage:

error: couldn't read `node/crates/c0mpute-core/src/../../../../plugins/video/module.toml`

video.rs uses include_str! on plugins/video/module.toml, but .nixpacks/Dockerfile and Dockerfile.web copy only Cargo.* and node/ into the rustbuild stage. This adds COPY plugins ./plugins there. Without it, merged changes never reach c0mpute.com, including the installer signature check from #186.

🤖 Generated with Claude Code

video.rs include_str!s plugins/video/module.toml, but the web images' Rust
stage copied only node/, so every dev2 deploy since b5b959a failed with
"couldn't read .../plugins/video/module.toml" and nothing shipped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown

ThreatCrush Security Scan

13 finding(s)

HIGH/CRITICAL: 1 | MEDIUM: 8 | LOW: 4

Severity Rule Location
HIGH js-ssrf-outbound-request apps/web/public/sw.js:24
MEDIUM js-unescaped-html-sink apps/web/src/app/blog/[slug]/page.tsx:53
MEDIUM js-unescaped-html-sink apps/web/src/app/layout.tsx:80
MEDIUM sh-remote-script-execution scripts/dev-setup.sh:25
MEDIUM sh-eval-expansion scripts/dev-setup.sh:35
MEDIUM sh-remote-script-execution scripts/install.sh:181
MEDIUM sh-remote-script-execution scripts/install.sh:206
MEDIUM sh-remote-script-execution scripts/install.sh:399
MEDIUM sh-remote-script-execution scripts/install.sh:441
LOW py-ssrf-outbound-request examples/business-strategist-agent/chat.py:37
LOW py-ssrf-outbound-request examples/business-strategist-agent/train.py:54
LOW secret-generic-credential node/crates/c0mpute-core/src/webhook.rs:1165
LOW py-path-traversal node/crates/c0mpute-core/tests/fixtures/fake-infernet-text:29

Snippets are redacted; ThreatCrush never prints matched credential material.

@ralyodio
ralyodio merged commit b957f5a into master Nov 9, 2026
12 checks passed
@ralyodio
ralyodio deleted the fix/docker-rust-plugins branch November 9, 2026 08:46
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