Skip to content

End-to-end test: clone -> commit -> push -> pull against two local nodes #4

@sanity

Description

@sanity

Problem

We need an end-to-end test that exercises the full demo path against real (local) Freenet nodes.

What needs to happen

Following the same pattern as freenet-core's ping app integration tests:

  1. Spin up two local nodes on unique loopback IPs.
  2. On node A: init-identity, create a repo, push an initial commit through git-remote-freenet.
  3. On node B: git clone freenet: against node B's WS endpoint; verify the working tree matches.
  4. On node A: make a second commit, push.
  5. On node B: git pull, verify the new commit is fetched.

Dependencies

Note for implementer

The 6-peer simulation tools and ping app integration test in freenet-core/crates/core/tests/ are the reference. Use the same test harness rather than rolling our own node-spawning code.

[AI-assisted - Claude]

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