-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
Feature
We need a more extensive E2E testing environment that can test real inter-tower communication, specifically:
Must Test
af sendmessage 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
- Unit tests exist for SendBuffer and tower-routes
- No E2E tests that actually spawn a Tower, create terminals, send messages, and verify delivery
- Bugs like af send: Enter (\r) doesn't submit multi-line formatted messages #492 (60s delays) and the missing Enter issue were only caught by manual observation
Desired State
- E2E test harness that can:
- Start a Tower instance
- Create terminal sessions (architect + builder)
- Send messages via
af sendAPI - Verify message delivery timing and content in the receiving terminal
- Simulate typing activity to test deferral behavior
- 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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels