Skip to content

Conversation

NathanFlurry
Copy link
Member

Changes

Copy link
Member Author

NathanFlurry commented May 26, 2025

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more


How to use the Graphite Merge Queue

Add the label merge-queue to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

Copy link

cloudflare-workers-and-pages bot commented May 26, 2025

Deploying rivet with  Cloudflare Pages  Cloudflare Pages

Latest commit: e24b05c
Status: ✅  Deploy successful!
Preview URL: https://111e0c16.rivet.pages.dev
Branch Preview URL: https://05-25-fix-container-runner-f.rivet.pages.dev

View logs

@NathanFlurry NathanFlurry force-pushed the 05-25-fix_container-runner_fix_leaked_pipes branch 2 times, most recently from 089a707 to 057e946 Compare May 26, 2025 17:27
@MasterPtato MasterPtato changed the base branch from main to graphite-base/2473 May 26, 2025 20:23
@MasterPtato MasterPtato force-pushed the 05-25-fix_container-runner_fix_leaked_pipes branch from 057e946 to e24b05c Compare May 26, 2025 20:23
Copy link

cloudflare-workers-and-pages bot commented May 26, 2025

Deploying rivet-studio with  Cloudflare Pages  Cloudflare Pages

Latest commit: e24b05c
Status: ✅  Deploy successful!
Preview URL: https://f7738b0f.rivet-studio.pages.dev
Branch Preview URL: https://05-25-fix-container-runner-f.rivet-studio.pages.dev

View logs

@MasterPtato MasterPtato changed the base branch from graphite-base/2473 to 05-23-disambiguate_cluster_id_-_instance_id May 26, 2025 20:23
@MasterPtato MasterPtato marked this pull request as ready for review May 26, 2025 20:23
Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

This PR addresses pipe leaks in the container-runner by redirecting stdout and stderr to null during command execution, particularly for container management operations.

  • Added stdout(Stdio::null()) and stderr(Stdio::null()) to runc kill command in packages/edge/infra/client/container-runner/src/container.rs to prevent pipe leaks during SIGTERM handling
  • Modified packages/edge/infra/client/container-runner/tests/common/setup.rs to redirect output to null for skopeo, umoci, and container deletion commands
  • Added output redirection in signal_child method to prevent leaks during test signal handling

2 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile

Copy link

Deploying rivet-hub with  Cloudflare Pages  Cloudflare Pages

Latest commit: e24b05c
Status: ✅  Deploy successful!
Preview URL: https://6186c002.rivet-hub-7jb.pages.dev
Branch Preview URL: https://05-25-fix-container-runner-f.rivet-hub-7jb.pages.dev

View logs

Copy link
Contributor

graphite-app bot commented May 26, 2025

Merge activity

  • May 26, 10:42 PM UTC: MasterPtato added this pull request to the Graphite merge queue.
  • May 26, 10:43 PM UTC: CI is running for this pull request on a draft pull request (#2476) due to your merge queue CI optimization settings.
  • May 26, 10:44 PM UTC: Merged by the Graphite merge queue via draft PR: #2476.

graphite-app bot pushed a commit that referenced this pull request May 26, 2025
<!-- Please make sure there is an issue that this PR is correlated to. -->

## Changes

<!-- If there are frontend changes, please include screenshots. -->
@graphite-app graphite-app bot closed this May 26, 2025
@graphite-app graphite-app bot deleted the 05-25-fix_container-runner_fix_leaked_pipes branch May 26, 2025 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant