# Task 9 Report: 汇总跑测试 + 手工冒烟清单

## run-all.sh

**Status: PASS** (exit 0, 4 scripts)

| Script | Result |
|--------|--------|
| test-install-nuxt-supervisor.sh | PASS |
| test-nginx-web-location.sh | PASS |
| test-nuxt-baseurl-config.sh | PASS |
| test-pack-web-hooks.sh | PASS |

## Diff review (nginx.rewrite)

- `/api/` — `location ^~ /api/` → PHP (unchanged)
- `/admin/` — redirect + SPA `try_files` (unchanged)
- `/mobile/` — redirect + SPA `try_files` (unchanged)
- **Added only:** `/web` → `/web/` + `proxy_pass 127.0.0.1:3000` block

## pack.sh / install.sh

- **pack.sh:** `build_admin_frontend` / `build_mobile_frontend`, rsync to `public/admin` & `public/mobile` — present
- **install.sh:** `setup_queue_and_cron`, `_write_queue_conf` (default/slow/sms) — present; `ecshopx-nuxt` in supervisor flow (covered by test-install-nuxt-supervisor.sh)

## Optional manual pack smoke (not run)

- [ ] `PACK_FRONTEND_BUILD=true bash deploy/baota/pack.sh /tmp/ECShopX-web-test.zip`
- [ ] `unzip -l /tmp/ECShopX-web-test.zip | grep web/.output/server/index.mjs`
- [ ] Confirm `public/admin/index.html` and `public/mobile/index.html` in zip
- [ ] **Skipped:** full pnpm build (heavy; contract tests use fixtures)

## Commit

Not committed (per task instructions).
