chore(dev): finish --watch → --hot sweep across remaining Bun services
Some checks failed
CD Mac Mini / Detect Changes (push) Failing after 11s
CI / Detect Changes (push) Successful in 7s
CI / Validate (push) Has been skipped
CI / Build mana-auth (push) Waiting to run
CI / Build mana-search (push) Waiting to run
CI / Build mana-sync (push) Waiting to run
CI / Build mana-notify (push) Waiting to run
CI / Build mana-api-gateway (push) Waiting to run
CI / Build mana-crawler (push) Waiting to run
CI / Build mana-media (push) Waiting to run
CI / Build mana-credits (push) Waiting to run
CI / Auth flow integration test (push) Has been skipped
Docker Validate / Validate Dockerfiles (push) Failing after 1m35s
Docker Validate / Build calendar-web (push) Has been skipped
Docker Validate / Build quotes-web (push) Has been skipped
Docker Validate / Build todo-backend (push) Has been skipped
Docker Validate / Build todo-web (push) Has been skipped
Docker Validate / Build mana-auth (push) Has been skipped
Docker Validate / Build mana-sync (push) Has been skipped
Docker Validate / Build mana-media (push) Has been skipped
Mirror to Forgejo / Push to Forgejo (push) Failing after 1s
CD Mac Mini / Deploy (push) Has been cancelled

Catches the service-level package.json files that the previous
sweep (4cca25ed0) missed — they don't appear in any dev:*:full
orchestrator but get invoked when someone runs `pnpm --filter
@mana/<service> dev` directly.

Touched: mana-geocoding, mana-mail, mana-subscriptions, mana-mcp,
news-ingester, mana-persona-runner, mana-research, mana-user,
plus apps/memoro (server + audio-server).

mana-ai stays on --watch on purpose: its entry uses an explicit
`Bun.serve({...})` call instead of `export default { port,
fetch }`, plus a SIGTERM/SIGINT handler that calls
`server.stop()`. --hot would replace the module without releasing
the old server reference and produce exactly the EADDRINUSE we're
trying to avoid. If mana-ai gets refactored to the standard
default-export shape, flip its dev script too.
This commit is contained in:
Till JS 2026-05-08 14:33:27 +02:00
parent 15e2abd7f9
commit 8acf35eecf
9 changed files with 10 additions and 10 deletions

View file

@ -4,8 +4,8 @@
"private": true,
"description": "Memoro - AI-powered voice recording & memo management",
"scripts": {
"dev:server": "cd apps/server && bun run --watch src/index.ts",
"dev:audio-server": "cd apps/audio-server && bun run --watch src/index.ts",
"dev:server": "cd apps/server && bun run --hot src/index.ts",
"dev:audio-server": "cd apps/audio-server && bun run --hot src/index.ts",
"dev:mobile": "pnpm --filter @memoro/mobile start",
"dev:landing": "pnpm --filter @memoro/landing dev"
},

View file

@ -4,7 +4,7 @@
"private": true,
"type": "module",
"scripts": {
"dev": "bun run --watch src/index.ts",
"dev": "bun run --hot src/index.ts",
"start": "bun run src/index.ts",
"test": "bun test",
"test:smoke": "./scripts/smoke-test.sh"

View file

@ -4,7 +4,7 @@
"private": true,
"type": "module",
"scripts": {
"dev": "bun run --watch src/index.ts",
"dev": "bun run --hot src/index.ts",
"start": "bun run src/index.ts",
"db:push": "drizzle-kit push",
"db:generate": "drizzle-kit generate",

View file

@ -5,7 +5,7 @@
"type": "module",
"description": "MCP (Model Context Protocol) gateway for Mana. Exposes the shared @mana/tool-registry over Streamable HTTP so external agents (Claude Desktop, persona-runner) can drive the user's modules through their normal JWT-authed paths.",
"scripts": {
"dev": "bun run --watch src/index.ts",
"dev": "bun run --hot src/index.ts",
"start": "bun run src/index.ts",
"type-check": "tsc --noEmit"
},

View file

@ -5,7 +5,7 @@
"type": "module",
"description": "Tick-loop service that drives the M2 personas: for each due persona, logs in, opens an MCP session against mana-mcp, asks Claude to role-play that persona through the app for one turn, then posts actions + ratings back to mana-auth.",
"scripts": {
"dev": "bun run --watch src/index.ts",
"dev": "bun run --hot src/index.ts",
"start": "bun run src/index.ts",
"type-check": "tsc --noEmit"
},

View file

@ -4,7 +4,7 @@
"private": true,
"type": "module",
"scripts": {
"dev": "bun run --watch src/index.ts",
"dev": "bun run --hot src/index.ts",
"start": "bun run src/index.ts",
"test": "bun test",
"db:push": "drizzle-kit push",

View file

@ -4,7 +4,7 @@
"private": true,
"type": "module",
"scripts": {
"dev": "bun run --watch src/index.ts",
"dev": "bun run --hot src/index.ts",
"start": "bun run src/index.ts",
"db:push": "drizzle-kit push",
"db:studio": "drizzle-kit studio",

View file

@ -4,7 +4,7 @@
"private": true,
"type": "module",
"scripts": {
"dev": "bun run --watch src/index.ts",
"dev": "bun run --hot src/index.ts",
"start": "bun run src/index.ts",
"db:push": "drizzle-kit push",
"db:generate": "drizzle-kit generate",

View file

@ -4,7 +4,7 @@
"private": true,
"type": "module",
"scripts": {
"dev": "bun run --watch src/index.ts",
"dev": "bun run --hot src/index.ts",
"start": "bun run src/index.ts",
"db:push": "drizzle-kit push",
"db:generate": "drizzle-kit generate",