ci: add GitHub Actions workflow (build + core tests, FalkorDB smoke)#2
Conversation
Hard gate builds all packages (tsc typecheck) and runs @codegraph/core, which is green without secrets. A non-blocking integration-smoke job runs graph + plugin-nlp against FalkorDB service containers in offline mode (CODEGRAPH_EMBEDDING_PROVIDER=none); it surfaces the suite's pre-existing failures without gating merges until they are triaged. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🤖 Augment PR SummarySummary: Adds the repo’s first GitHub Actions CI workflow. 🤖 Was this summary useful? React with 👍 or 👎 |
| FALKORDB_HOST: localhost | ||
| services: | ||
| falkordb: | ||
| image: falkordb/falkordb:latest |
There was a problem hiding this comment.
.github/workflows/ci.yml:65 — Using falkordb/falkordb:latest makes this job non-reproducible and can start failing if the upstream image changes. Pinning to a specific version/digest would make the smoke test more stable.
Severity: medium
Other Locations
.github/workflows/ci.yml:74
🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.
| # embedding API key is required. | ||
| CODEGRAPH_EMBEDDING_PROVIDER: none | ||
| steps: | ||
| - uses: actions/checkout@v4 |
There was a problem hiding this comment.
.github/workflows/ci.yml:30 — These actions are referenced by floating tags (e.g., @v4), which are mutable and can change behavior without changes in this repo. If supply-chain hardening matters for this CI, consider pinning actions to a commit SHA.
Severity: low
Other Locations
.github/workflows/ci.yml:33.github/workflows/ci.yml:36.github/workflows/ci.yml:83.github/workflows/ci.yml:86.github/workflows/ci.yml:89
🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.
pnpm turbo build ran @codegraph/mcp#build, which shells out to the MCPB esbuild + native-module bundler (packages/npm-package/build.mjs:26) and fails in a clean checkout. That is a release/publish step, not a correctness gate. Build now excludes @codegraph/mcp and codegraph-landing (Vercel-covered); the smoke job lets turbo build only the deps its tests need. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Adds the repo's first CI workflow.
Hard gate (
build-and-test) — builds all 19 packages (tsc, so it typechecks the monorepo) and runs@codegraph/core(149 tests), which is green without secrets or services.Non-blocking (
integration-smoke) — runsgraph+plugin-nlpagainst FalkorDB service containers in offline mode (CODEGRAPH_EMBEDDING_PROVIDER=none). Markedcontinue-on-errorbecause the suite has pre-existing failures unrelated to this workflow:getAboutEdgesForCodeNode,deleteAboutEdge,getEntityByText)--passWithNoTests)Once those are triaged, drop
continue-on-errorand fold the filters into the hard gate.🤖 Generated with Claude Code