Skip to content

Create multi-client integration tests for LIVE SELECT #559

Closed

Description

@malibio

Overview

Create comprehensive integration tests for MCP server → Tauri frontend synchronization via LIVE SELECT.

Self-Contained Scope

  • Test MCP creates node → Tauri sees update
  • Test concurrent operations from multiple clients
  • Test conflict resolution (last-write-wins)
  • Test rollback on failures
  • Test reconnection after stream disconnect

Acceptance Criteria

  • Create tests/integration/live-select-multi-client.test.ts
  • Test: MCP creates node → Tauri sees update within 100ms
  • Test: MCP indents node → Tauri hierarchy updates within 100ms
  • Test: Concurrent indents from MCP + Tauri → last-write-wins
  • Test: Tauri optimistic update + backend failure → rollback
  • Test: 1000 rapid operations → no orphaned nodes
  • Test: LIVE SELECT stream disconnects → automatic reconnection
  • All tests pass in CI/CD

Dependencies

Definition of Done

  • Test suite created
  • All scenarios covered
  • <100ms latency verified
  • CI/CD integration working

Activity

  1. self-assigned this
    on Nov 21, 2025
  2. malibio commented on Nov 21, 2025

    @malibio
    CollaboratorAuthor

    Test Baseline

    Baseline Test Results:

    • Total Tests: 1785
    • Passed: 1659
    • Failed: 24 (pre-existing)
    • Skipped: 102

    Pre-existing failures (from main branch):

    • 6 test files with failures (hierarchy-service, indent-outdent-operations, parent-child-edge-creation, etc.)
    • These are not related to this LIVE SELECT integration test task

    Status: Ready to implement LIVE SELECT multi-client integration tests

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