You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
No CI runs any test — add a PR test-gating workflow #1495
The only GitHub Actions workflow is release.yml (build + sign, triggered on release/dispatch). It runs zero tests — no vitest, no cargo test, no e2e. Nothing runs the test suite on a pull request, so every regression can merge green.
Problem Statement
Because no workflow runs tests on push or pull_request, breakage in the frontend, Rust backend, or the daemon seam is only discovered manually or at release time. This is the umbrella under which the recurring regression classes and the sporadic release-build failures sit.
Proposed Solution
Add a ci.yml workflow triggered on pull_request and push that runs bun run test:all (frontend + skill + Rust) plus bun run test:e2e (headless), as a required status check before merge. Keep release.yml scoped to release/signing only. Governed by ADR-047 (CI gating policy).
Acceptance Criteria
ci.yml runs test:all + test:e2e on every pull_request and push
The workflow is a required status check for merge
Release/signing remains a separate workflow
The e2e job runs headless in CI (no display) via the existing harness
Technical Specifications
Reference Files
.github/workflows/release.yml (currently the only workflow)
src/tests/performance/** wall-clock benchmarks are nondeterministic on shared runners → excluded from the CI run under CI=true (still run locally + via test:perf).
Superseded by ADR-047 (local-only test gating). We deliberately removed ci.yml (#1617, merged) and adopted a mandatory local pre-push gate — bun run test:all (incl. cargo test --lib -p nodespace-core) + test:e2e + a full cargo build of both daemon and CLI — as the single gate before any PR. PR-triggered CI is intentionally not part of the workflow. Closing as not-planned; the underlying concern (no test gating) is resolved by the local gate, not by adding a CI workflow.
Activity
malibio commentedon Jul 6, 2026
Frontend baseline: 147 test files passed, 3946 tests passed (39.14s)
Address review: Windows path, undocumented gate limitation, dead hook…
Add CI test-gating workflow (closes #1495) (#1570)
mstomar125 commentedon Jul 7, 2026
Workflow merged in #1570 (
f8c9e1ff) — CI now runstest:all+test:e2eon every PR and push, both green.Reopening to track the one remaining acceptance item, which is a branch-protection admin action I cannot perform:
unit(test:all) +e2e(test:e2e) required status checks onmain. Until this is flipped, the gate runs but does not block a red PR from merging.Two things surfaced while getting this green (both handled):
scripts/test-gate.ts) also runscargo test -p nodespace-app(Tauri-seam, ADR-048); it needs the gitignoredbinaries/sidecars staged in CI → deferred to Wire cargo test -p nodespace-app (Tauri-seam, ADR-048) into CI #1571.src/tests/performance/**wall-clock benchmarks are nondeterministic on shared runners → excluded from the CI run underCI=true(still run locally + viatest:perf).Add mandatory nodespace-docs architecture check to issue-management s…
mstomar125 commentedon Jul 15, 2026
Superseded by ADR-047 (local-only test gating). We deliberately removed
ci.yml(#1617, merged) and adopted a mandatory local pre-push gate —bun run test:all(incl.cargo test --lib -p nodespace-core) +test:e2e+ a fullcargo buildof both daemon and CLI — as the single gate before any PR. PR-triggered CI is intentionally not part of the workflow. Closing as not-planned; the underlying concern (no test gating) is resolved by the local gate, not by adding a CI workflow.