Skip to content

Gateway test framework verification needed for UPDATE fire-and-forget semantics #2045

@sanity

Description

@sanity

Problem

UPDATE operations recently changed to fire-and-forget semantics (PR #2038), but haven't been tested end-to-end with River, which heavily uses UPDATE operations.

Unit tests (operations.rs, connectivity.rs) verify basic functionality, but don't catch real-world issues like:

  • Multi-hop UPDATE propagation through actual network
  • River room updates with multiple subscribers
  • UPDATE behavior under network delays/failures
  • Extended stability with continuous UPDATE load

Requested Testing

Run the gateway test framework with:

cd ~/code/freenet/freenet-testing-tools/gateway-testing
python gateway_test_framework.py --local --extended-stability --multi-room 50

This exercises:

  • Real WebSocket connections
  • Actual River room updates
  • Multiple concurrent UPDATE operations
  • Extended stability monitoring
  • Full stack integration (gateway + peers + contracts)

Why This Matters

The fire-and-forget UPDATE semantics are a significant architectural change. Real-world testing would verify:

  • River rooms stay synchronized
  • UPDATE propagation doesn't stall
  • No regressions in multi-room scenarios
  • Performance under load

Related

PR #2038 - Refine fire-and-forget UPDATE semantics

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-developer-xpArea: developer experienceA-networkingArea: Networking, ring protocol, peer discoveryE-mediumExperience needed to fix/implement: Medium / intermediateT-enhancementType: Improvement to existing functionality

    Type

    No type

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions