Skip to content

Check staged moshcode upgrades before replacing the working package - #117

Merged
ralyodio merged 1 commit into
masterfrom
fix/moshcode-runtime-dependencies
Sep 13, 2026
Merged

ralyodio merged 1 commit into
masterfrom
fix/moshcode-runtime-dependencies

Conversation

@ralyodio

Copy link
Copy Markdown
Collaborator

The public installer currently replaces the working CLI before npm installs its runtime dependencies. Install dependencies and check CLI startup in staging so a failed update leaves the existing package runnable. Dependency-free releases continue to skip npm.

Validation: all 250 tests passed, production Next.js build passed, POSIX shell syntax passed. Regression tests exercise fresh installs, successful updates, dependency-install failures, and missing dependencies after npm reports success.

@github-actions

Copy link
Copy Markdown

ThreatCrush Security Scan

20 finding(s)

HIGH/CRITICAL: 3 | MEDIUM: 13 | LOW: 4

Severity Rule Location
HIGH sh-remote-script-execution public/install.sh:302
HIGH sh-remote-script-execution public/install.sh:305
HIGH sh-remote-script-execution public/install.sh:432
MEDIUM js-open-redirect app/dashboard/[[...tab]]/page.tsx:67
MEDIUM js-open-redirect app/signup/page.tsx:38
MEDIUM js-open-redirect components/PitSearch.tsx:118
MEDIUM js-unescaped-html-sink components/Tenant.tsx:21
MEDIUM js-unescaped-html-sink components/Tenant.tsx:22
MEDIUM js-unescaped-html-sink components/Tenant.tsx:62
MEDIUM js-unescaped-html-sink components/Tenant.tsx:136
MEDIUM sql-template-interpolation lib/db.ts:1079
MEDIUM sql-template-interpolation lib/db.ts:1107
MEDIUM redos-nested-quantifier lib/markdown.ts:109
MEDIUM sh-remote-script-execution public/install.sh:123
MEDIUM sh-remote-script-execution public/install.sh:127
MEDIUM sh-remote-script-execution public/install.sh:146
LOW secret-generic-credential tests/domain-webhook-active.test.mjs:18
LOW secret-generic-credential tests/domain-webhook-active.test.mjs:25
LOW secret-generic-credential tests/domain-webhook-active.test.mjs:30
LOW secret-generic-credential tests/project-webhook-management.test.mjs:53

Snippets are redacted; ThreatCrush never prints matched credential material.

@ralyodio
ralyodio merged commit 457be47 into master Sep 13, 2026
5 checks passed
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