ci: add Phase 1 CI workflow#1
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1260ca1cd4
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| set -euo pipefail | ||
| export VAULT_DB_PATH="$(mktemp -d)/vault.db" | ||
| echo "Booting with VAULT_DB_PATH=$VAULT_DB_PATH" | ||
| node dist/server.js & |
There was a problem hiding this comment.
Keep stdin open for the smoke-booted server
In this non-interactive bash run step, starting node dist/server.js & without any stdin redirection gives the background process /dev/null as stdin. Because this server uses StdioServerTransport, it observes EOF immediately after boot and exits before the sleep 3, so kill -0 reports a crash and every CI run fails even when the server started correctly. Redirect from a pipe/FIFO or otherwise keep stdin open while performing the liveness check.
Useful? React with 👍 / 👎.
Phase 1 CI for
token-5-0— adds.github/workflows/ci.yml(additive new file). Part of the org-wide CI/CD formalization; deploys unchanged.Prerequisites
Cautions
Generated with Claude Code
https://claude.ai/code/session_01XD3eqvjHj4QckgL2iuj47u