Skip to content

No CI test workflow: all 1,583 Rust tests are bypassed by --no-verify or an unhooked checkout #1797

Closed

Description

@malibio

Overview

There is no CI workflow that runs tests. .github/workflows/ contains:

audit.yml            # cargo audit + bun audit (dependency CVEs)
nightly-webkit.yml   # nightly WebKit check
release.yml          # release packaging

The only thing that runs the test suite is the local pre-push hook (scripts/test-gate.ts, ADR-047). That means test enforcement depends entirely on the developer's machine being set up and the hook not being skipped.

Why this matters now

PR #1795 fixed which crates the gate runs — 2 of 9 up to the full workspace, 1,335 → 1,583 tests. It did not change whether the gate runs. All 1,583 are bypassed by:

  • git push --no-verify (documented in CLAUDE.md for WIP handoff commits, so it is a normal thing to type)
  • a clone where bun install never ran, so husky hooks were never installed
  • any push from a machine or tool that doesn't go through the local hook
  • a PR merged from the GitHub UI without the branch ever being pushed from a hooked checkout

The status checks on a PR today are dependency audits only. A PR can be green and merged having run no tests at all.

Why this compounds with the gate work

#1792 and #1796 are both about coverage — making the gate run more of the suite. This issue is about enforcement. Widening coverage raises the value of the gate, which raises the cost of it being skippable. The two are worth fixing together conceptually even if separately in practice.

Considerations

  • Cost: the Rust suite needs a warm cargo cache to be tolerable. Cold, nodespace-nlp-engine alone pulls a llama.cpp bindgen build (~59s locally, likely worse on a hosted runner). Caching strategy is the main design question.
  • Scope: frontend (bun run test, ~4,100 tests, ~55s) is cheap and could land first as a quick win independent of the Rust caching problem.
  • What not to run: the ADR-048 Tauri-seam suite spawns real daemons and loads a real embedding model with Metal shader compilation. That is a poor fit for a hosted runner and should probably stay local-only or move to a nightly.
  • Relationship to the local hook: CI should likely become the source of truth, with the pre-push hook kept as fast local feedback. Whether the hook then narrows to a quicker subset is worth deciding explicitly.

Source

Raised in the code review of PR #1795, as the second half of "the gate covers the wrong things" — #1796 is coverage, this is enforcement.

Activity

  1. malibio commented on Jul 29, 2026

    @malibio
    CollaboratorAuthor

    Closing — not a fit for how NodeSpace is actually developed.

    The issue's framing assumed a CI gap worth closing with a hosted workflow. In context that does not hold:

    • Two developers working mostly on separate areas. Coordination that CI exists to enforce across a larger team is handled directly here.
    • Mac Silicon desktop target. The pre-push hook runs the full suite on hardware matching production. Hosted runners are not Apple Silicon, so for a Metal / llama.cpp-dependent app they would give weaker signal on the paths most likely to break, not stronger.
    • Releases happen when we decide. There is no scheduled cut that a nightly would protect.

    The genuine gap the issue identified is narrower than its title: --no-verify can bypass the pre-push hook. Between two developers that is a discipline question, not an infrastructure one.

    #1796 is the part worth keeping and stands on its own: rust:test gates by a target allowlist, so 20 tests/*.rs integration files — including the daemon's gRPC suites — never run at all, locally or otherwise. That is tests silently not running, which is a real problem independent of CI.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions