Repository navigation
Description
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: "Keeprelease.ymland all.shscripts scoped to release... Noci.ymlor 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.tsvia 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 ranbun install, lets a regression merge with nothing catching it server-side. PR Add CI test-gating workflow (closes #1495) #1570 acted on that and addedci.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.ymlrequires a companionnodespace-docschange, and there are two valid paths — the team should choose one as part of this work, not have it decided silently in code:- 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.ymltemporarily, it is being removed, and the original Decision stands unchanged going forward. - 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-0XXpointing at it.
- 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
- Whichever path is chosen, the
nodespace-docschange is pushed directly tomainin 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.ymldeleted -
.github/workflows/release.ymlunchanged (confirm it remains scoped torelease/workflow_dispatchonly) -
nodespace-docs/decisions/047-ci-gating-policy.mdupdated 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
maininnodespace-docs - Local
.husky/pre-push+scripts/test-gate.tsgate remains the sole test-enforcement mechanism (already exists, confirm no regression) - Code passes
bun run quality:fix -
bun run test:allstill 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
- No CI runs any test — add a PR test-gating workflow #1495 (the issue that argued for and led to adding
ci.yml, now being reversed)
Activity
malibio commentedon Jul 11, 2026
Frontend baseline: 158 test files passed, 4019 tests passed (44.63s)
Remove ci.yml and restore local-only test gating (closes #1617) (#1618)