Skip to content

No CI runs any test — add a PR test-gating workflow #1495

Closed as not planned

Description

@malibio

Overview

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)
  • package.json (test:all, test:e2e scripts); packages/daemon/src/main.rs (NODESPACED_HEADLESS)
  • Decision: ADR-047 in nodespace-docs

Related Issues

  • (companion) the Tauri-seam e2e harness issue

Activity

  1. malibio commented on Jul 6, 2026

    @malibio
    CollaboratorAuthor

    Frontend baseline: 147 test files passed, 3946 tests passed (39.14s)

  2. self-assigned this
    on Jul 6, 2026
  3. self-assigned this
    on Jul 7, 2026
  4. added a commit that references this issue on Jul 7, 2026
    f8c9e1f
  5. mstomar125 commented on Jul 7, 2026

    @mstomar125
    Contributor

    Workflow merged in #1570 (f8c9e1ff) — CI now runs test:all + test:e2e on every PR and push, both green.

    Reopening to track the one remaining acceptance item, which is a branch-protection admin action I cannot perform:

    • Make unit (test:all) + e2e (test:e2e) required status checks on main. 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):

    • The full local gate (scripts/test-gate.ts) also runs cargo test -p nodespace-app (Tauri-seam, ADR-048); it needs the gitignored binaries/ 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 under CI=true (still run locally + via test:perf).
  6. mstomar125 commented on Jul 15, 2026

    @mstomar125
    Contributor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions