Skip to content

TEST-UNIFY-2: helpers → tests/lib + import codemod (gate green, 0 collection errors)#122

Merged
mvalancy merged 1 commit into
devfrom
test/phase2-lib-codemod
Jun 18, 2026
Merged

TEST-UNIFY-2: helpers → tests/lib + import codemod (gate green, 0 collection errors)#122
mvalancy merged 1 commit into
devfrom
test/phase2-lib-codemod

Conversation

@mvalancy

Copy link
Copy Markdown
Member

Phase 2 of the clean-tree refactor. All reusable helpers consolidated into tests/lib/ (+ lib/metrics/balance_metrics.py); ../helpers/../lib/ codemod across 39 specs. Verified per-project playwright --list (0 collection errors: default 352 / perf 3 / geometry 18 / showcase 5 / vlm 1 / matrix 109) and THE GATE 5/5.

🤖 Generated with Claude Code

…(Phase 2)

The reusable test layer now lives in ONE place. Moved all helpers (auth, api,
seedGraph, dbHealing, testEnv, mobileAudit, zorder, vlm, mock-oauth-server, README)
into tests/lib/ alongside the harness modules, and balance_metrics.py into
tests/lib/metrics/. Codemod across all 39 keeper specs: '../helpers/' → '../lib/'
(uniform — every spec is depth-1 under tests/); fixed the balance_metrics.py path
string in graph-balance.spec.ts and two stale doc-comment paths.

Verified (the plan's #1 risk — a missed import silently zeroes a project at
collection): playwright --list per project all resolve with ZERO collection errors
(default 352, perf 3, geometry 18, showcase 5, vlm 1, matrix 109); THE GATE 5/5.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mvalancy mvalancy merged commit 13e9834 into dev Jun 18, 2026
@mvalancy mvalancy deleted the test/phase2-lib-codemod branch June 18, 2026 20:45
@github-actions

Copy link
Copy Markdown

🧪 Comprehensive Test Suite

  • Unit suites (Node 18.x & 20.x) — core, web, server, mcp-server: ✅ passed
  • Installer & deploy config: ✅ passed

Full-stack smoke gate runs in the CI workflow.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant