mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 05:21:10 +02:00
chore(dev): expose mana-auth stderr via pnpm logs:auth
Tee dev:auth stdout+stderr to services/mana-auth/dev.log and add a logs:auth script (tail -f) so a developer can isolate auth output without hunting through concurrently's multiplexed stream. Follow-up to the 2026-04-23 incident where a missing DB column caused mana-auth to return misleading 401s while the real Postgres error was buried in concurrently-managed stderr. The HTTP layer fix (error- classification + passkey end-to-end) deferred this dev-ergonomics improvement explicitly. https://claude.ai/code/session_01CDNt5FiUtXt5FYdFmpVyU6
This commit is contained in:
parent
39e508075a
commit
382836243f
2 changed files with 12 additions and 1 deletions
|
|
@ -292,6 +292,16 @@ If you see `./server: No such file or directory`:
|
|||
pnpm dev:sync:build
|
||||
```
|
||||
|
||||
### Tailing mana-auth logs
|
||||
|
||||
When mana-auth runs inside a `dev:*:full` command its output is multiplexed with other services by `concurrently`. To see auth stderr in isolation, open a second terminal and run:
|
||||
|
||||
```bash
|
||||
pnpm logs:auth
|
||||
```
|
||||
|
||||
The `dev:auth` script tees stdout+stderr to `services/mana-auth/dev.log` (gitignored), and `logs:auth` tails that file.
|
||||
|
||||
### Port already in use
|
||||
|
||||
If auth (port 3001) or sync (port 3050) is already running:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue