Skip to content

refactor(scripts): remove dead scripts, relocate script specs to tests, and group into desktop/ and cli/ - #1814

Merged
luokerenx4 merged 1 commit into
devfrom
refactor/scripts-cleanup
Nov 7, 2026
Merged

luokerenx4 merged 1 commit into
devfrom
refactor/scripts-cleanup

Conversation

@luokerenx4

Copy link
Copy Markdown
Contributor

Summary

  • Remove dead/one-off scripts (fix-pty-perms.mjs, migrate-order-sentinels.ts, generate-star-history.*, windows-cli-preview.spec.ts), obsolete Bun feasibility prototypes (build-bun-*-feasibility.ts, bun-broker-pack-fixture.ts), and one-off Python asset packagers (*.py) (-2,102 net lines).
  • Relocate all 35 .spec.* files out of scripts/ and scripts/guardian/ into tests/integration/tooling/ and remove scripts/** from vitest.integration.config.ts and tests/tsconfig.json.
  • Group the 19 desktop packaging/smoke scripts into scripts/desktop/ and the 38 CLI build/release/installer smoke scripts (+ 3 smoke Docker directories) into scripts/cli/, leaving only 11 core/shared scripts at scripts/ top-level.
  • Restore the 6 test:system:* script paths in package.json and update all script references across package.json, .github/workflows/*.yml, and tests/.

Verification

  • npx vitest run --config vitest.integration.config.ts tests/integration/tooling tests/integration/cli-release-artifacts tests/integration/desktop-receipts tests/integration/desktop-smoke-process tests/integration/release-verifier: 44 files (360 tests) passed in 9.08s
  • npx tsc --noEmit && pnpm exec tsc -p tests/tsconfig.json --noEmit: passed

@vercel

vercel Bot commented Nov 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
openalice-demo Building Building Preview Nov 7, 2026 5:24pm UTC
project-sandbox-alpha-zkku Building Building Preview Nov 7, 2026 5:24pm UTC

Request Review

@luokerenx4
luokerenx4 merged commit b62d87a into dev Nov 7, 2026
1 of 5 checks passed
@luokerenx4
luokerenx4 deleted the refactor/scripts-cleanup branch November 7, 2026 17:24

This branch was successfully deployed

2 active deployments
Preview – openalice-demo — 8676acad Deployed Nov 7, 2026 by vercel[bot]
Preview – project-sandbox-alpha-zkku — 8676acad Deployed Nov 7, 2026 by vercel[bot]
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