Skip to content

remote_delivery 두 journey가 통과한 실행의 fixture 폴더를 지우지 않아 lane마다 수백 MB가 남는다 #899

Closed

Description

@yansfil

What happened

hided/tests/it/remote_delivery.rs has three journeys on the private delivery fixture.
Only the first, connected_remote_panes_receive_once_and_disconnect_keeps_the_same_letter_pending, ends a passing run with fixture.remove_run_dir() (line 286).
The other two, ending_the_recipients_registration_ends_the_senders_answer_wait_and_says_why (line 386) and a_spawn_with_machine_starts_the_agent_on_the_device_under_its_caller (line 647), end with fixture.stop() only.
Fixture::drop also only stops, so a passing run of those two leaves its run directory under agents/runs/.
The fixture's own comment on remove_run_dir puts one such directory at about 400 MB (two accounts and staged binaries); with two journeys that is roughly 800 to 900 MB per remote mailbox lane run.

Confirmed: the three call sites above on main 3ee6c5b and later.
Measured by: a layer 4 run that saw about 900 MB left per lane; the exact size per run was not re-measured here.

What you expected

A passing journey removes its run directory, as the first one does; a failing one keeps it for the lane to upload.

Steps to reproduce

  1. Run the remote mailbox lane locally, as CI runs it.
  2. After it passes, list agents/runs/ and see two fixture directories left behind.

Versions

  • hide: main 3ee6c5b
  • Herdr: 0.9.3 (the pinned bundle)
  • macOS: 15 (Darwin 24.1.0)

Diagnostics

Not applicable; the leftover directories are the evidence.

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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions