Skip to content

Expand validation test coverage at atelet's RPC layer #217

Open

Description

Follow-up from review discussion on #206 (#206 (comment)).

#206 (in review) validates path-construction inputs at atelet's RPC boundary. The negative path is tested through the public surface (TestRPCBoundariesReject calls the real Run/Checkpoint/Restore handlers and asserts InvalidArgument), but the positive path cannot be asserted through the RPCs: after validation passes, the handlers immediately need object storage, the actor dirs under /var/lib/ateom-gvisor (ateompath.BasePath is a const), image pulls, and a live ateom.

Making the happy path testable means making those dependencies fakeable (injectable storage and dialer, a redirectable base path). That refactor is the bulk of this issue; the additional tests follow from it. It would also be a good foundation for unit testing the checkpoint/restore flows generally, which today are only covered by e2e.

Activity

  1. added
    area/tests
    on Jun 10, 2026
  2. BenTheElder commented on Jul 25, 2026

    @BenTheElder
    Collaborator

    It would also be a good foundation for unit testing the checkpoint/restore flows generally, which today are only covered by e2e.

    Not terribly convinced unit test coverage will help much for these ... this doesn't really meaningfully exist in isolation of ateom and they both heavily interact with the host, network, etc.

  3. added
    kind/feature
    on Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/testskind/feature

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions