Skip to content

E2E test environment for af send and inter-tower communication #518

@waleedkadous

Description

@waleedkadous

Feature

We need a more extensive E2E testing environment that can test real inter-tower communication, specifically:

Must Test

  • af send message delivery (architect → builder, builder → architect)
  • Typing awareness / message deferral behavior (idle detection)
  • Message delivery timing (messages arrive within expected thresholds)
  • SendBuffer flush behavior under various conditions
  • Enter keystroke delivery (the \r appended to messages)

Current State

Desired State

  • E2E test harness that can:
    1. Start a Tower instance
    2. Create terminal sessions (architect + builder)
    3. Send messages via af send API
    4. Verify message delivery timing and content in the receiving terminal
    5. Simulate typing activity to test deferral behavior
    6. Assert on message ordering and completeness

Scope

This is a spec-level project — needs design for the test harness architecture, fixture management, and CI integration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions