Skip to content

Remove ci.yml and restore local-only test gating per ADR-047 #1617

Closed

Description

@malibio

Overview

.github/workflows/ci.yml currently runs the full test suite (test:all + test:e2e + Tauri-seam tests) on every pull_request and push to main. This directly contradicts ADR-047 (Accepted, 2026-07-05), which decided that GitHub Actions is scoped to release/signing only and explicitly rejected adding a ci.yml test-gating workflow.

Architecture Impact

This issue is an architecture-decision correction, not a routine cleanup. It reverses work introduced by #1495 and PR #1570, which added .github/workflows/ci.yml without amending or superseding ADR-047.

  • ADR affected: ../nodespace-docs/decisions/047-ci-gating-policy.md (Status: Accepted). Its Decision states: "Keep release.yml and all .sh scripts scoped to release... No ci.yml or other test-running workflow is added. This is a repository-wide convention, not an exception carved out for this decision." Its Rationale argues GitHub Actions is the wrong tool for a desktop app's test gate (no production deployment, no shared server environment to protect) and that a local pre-push hook (scripts/test-gate.ts via Husky) is sufficient and lower-maintenance.
  • What changed since: No CI runs any test — add a PR test-gating workflow #1495 ("No CI runs any test — add a PR test-gating workflow") argued the local-only gate is insufficient because git push --no-verify, or a push from a machine that never ran bun install, lets a regression merge with nothing catching it server-side. PR Add CI test-gating workflow (closes #1495) #1570 acted on that and added ci.yml — but did not touch ADR-047's Status or Decision text, leaving the documented architecture and the actual repository state in direct contradiction.
  • This issue does not unilaterally pick a resolution. Deleting ci.yml requires a companion nodespace-docs change, and there are two valid paths — the team should choose one as part of this work, not have it decided silently in code:
    1. Re-affirm ADR-047 as-is: add a note (or a short "Amendment" section) to ADR-047 documenting that No CI runs any test — add a PR test-gating workflow #1495/Add CI test-gating workflow (closes #1495) #1570 introduced ci.yml temporarily, it is being removed, and the original Decision stands unchanged going forward.
    2. Supersede ADR-047 with a new ADR: write a new ADR that formally records the back-and-forth (ADR-047 → No CI runs any test — add a PR test-gating workflow #1495/Add CI test-gating workflow (closes #1495) #1570 reversal → this issue's re-reversal), explains why hosted CI-gating was tried and is now being removed again, and sets ADR-047's Status to Superseded by ADR-0XX pointing at it.
  • Whichever path is chosen, the nodespace-docs change is pushed directly to main in that repo (no branch/PR there, per that repo's own workflow) as part of this issue's work, not left for later.

Problem Statement

Right now the documented architecture (ADR-047: local-only gating, no hosted CI) and the actual repository (ci.yml running on every PR/push) disagree, and nothing in nodespace-docs records why. Anyone reading ADR-047 today gets a wrong picture of how testing is actually gated in this repo, and anyone looking at ci.yml has no link back to the decision that (temporarily) justified adding it.

Proposed Solution

Delete .github/workflows/ci.yml, keep release.yml scoped to release/signing only (already true, no change needed there), and land the nodespace-docs reconciliation chosen above.

Acceptance Criteria

  • .github/workflows/ci.yml deleted
  • .github/workflows/release.yml unchanged (confirm it remains scoped to release / workflow_dispatch only)
  • nodespace-docs/decisions/047-ci-gating-policy.md updated to reconcile with this reversal (either re-affirmed with an amendment note, or formally superseded by a new ADR — team's call, see Architecture Impact)
  • If a new superseding ADR is written, it references ADR-047, No CI runs any test — add a PR test-gating workflow #1495, and this issue, and is pushed directly to main in nodespace-docs
  • Local .husky/pre-push + scripts/test-gate.ts gate remains the sole test-enforcement mechanism (already exists, confirm no regression)
  • Code passes bun run quality:fix
  • bun run test:all still passes locally (proves the local gate is unaffected by removing the hosted one)

Technical Specifications

Reference Files

  • ci.yml: .github/workflows/ci.yml — the workflow to delete (added by PR Add CI test-gating workflow (closes #1495) #1570)
  • release.yml: .github/workflows/release.yml — must remain untouched, scoped to release/signing only
  • Pre-push gate: scripts/test-gate.ts, .husky/pre-push — the local mechanism ADR-047 designates as sufficient
  • ADR-047: ../nodespace-docs/decisions/047-ci-gating-policy.md — the decision this issue reconciles with

Implementation Details

No product code changes. This is a CI-configuration removal plus a documentation reconciliation. Do not remove or weaken scripts/test-gate.ts or the Husky hook — those remain the only test gate after this issue closes.

Related Issues

Activity

  1. malibio commented on Jul 11, 2026

    @malibio
    CollaboratorAuthor

    Frontend baseline: 158 test files passed, 4019 tests passed (44.63s)

  2. self-assigned this
    on Jul 11, 2026
  3. added a commit that references this issue on Jul 11, 2026
    ec36d75
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions