Skip to content

ci: add GitHub Actions workflow (build + core tests, FalkorDB smoke)#2

Merged
Phoenixrr2113 merged 2 commits into
mainfrom
ci/github-actions
May 29, 2026
Merged

ci: add GitHub Actions workflow (build + core tests, FalkorDB smoke)#2
Phoenixrr2113 merged 2 commits into
mainfrom
ci/github-actions

Conversation

@Phoenixrr2113
Copy link
Copy Markdown
Owner

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) — runs graph + plugin-nlp against FalkorDB service containers in offline mode (CODEGRAPH_EMBEDDING_PROVIDER=none). Marked continue-on-error because the suite has pre-existing failures unrelated to this workflow:

  • integration tests need an embedding provider + Voyage/LLM credentials
  • a few legacy tests call methods that no longer exist (getAboutEdgesForCodeNode, deleteAboutEdge, getEntityByText)
  • 6 packages exit 1 on "No test files found" (need --passWithNoTests)

Once those are triaged, drop continue-on-error and fold the filters into the hard gate.

🤖 Generated with Claude Code

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>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 29, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
v0-landing-page-build Ready Ready Preview, Comment, Open in v0 May 29, 2026 2:47pm

@augmentcode
Copy link
Copy Markdown

augmentcode Bot commented May 29, 2026

🤖 Augment PR Summary

Summary: Adds the repo’s first GitHub Actions CI workflow.

Hard gate: build-and-test installs deps, runs Turbo build/typecheck across the monorepo, and runs @codegraph/core unit tests in offline mode (CODEGRAPH_EMBEDDING_PROVIDER=none).

Smoke coverage: Adds a non-blocking integration-smoke job that starts FalkorDB service containers and runs @codegraph/graph + @codegraph/plugin-nlp tests.

Triggering: Runs on pushes and PRs targeting main, plus manual dispatch.

CI hygiene: Uses minimal permissions and concurrency cancellation; the smoke job is marked continue-on-error while the integration suite is triaged.

🤖 Was this summary useful? React with 👍 or 👎

Copy link
Copy Markdown

@augmentcode augmentcode Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. 2 suggestions posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

Comment thread .github/workflows/ci.yml
FALKORDB_HOST: localhost
services:
falkordb:
image: falkordb/falkordb:latest
Copy link
Copy Markdown

@augmentcode augmentcode Bot May 29, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.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

Fix This in Augment

🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.

Comment thread .github/workflows/ci.yml
# embedding API key is required.
CODEGRAPH_EMBEDDING_PROVIDER: none
steps:
- uses: actions/checkout@v4
Copy link
Copy Markdown

@augmentcode augmentcode Bot May 29, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.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

Fix This in Augment

🤖 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>
@Phoenixrr2113 Phoenixrr2113 merged commit cd50fe4 into main May 29, 2026
5 of 6 checks passed
@Phoenixrr2113 Phoenixrr2113 deleted the ci/github-actions branch May 29, 2026 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant