feat(loops): Add stop button to loop run rows#3738
Merged
Conversation
|
😎 This pull request was merged. |
Member
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
|
React Doctor found no issues in the changed files. 🎉 Reviewed by React Doctor for commit |
charlesvien
marked this pull request as ready for review
July 23, 2026 06:15
2 tasks
Contributor
|
Reviews (1): Last reviewed commit: "add stop button to loop run rows" | Re-trigger Greptile |
There was a problem hiding this comment.
Contained UI feature that wires an existing stop-run dialog and service into the loop run list; no auth, billing, migration, dependency, or CI surface touched, and the author has strong recent familiarity with these exact files.
- Author wrote 100% of the modified lines and has 2 merged PRs in these paths (familiarity STRONG).
- 👍 on the PR from greptile-apps[bot].
Gate mechanics and policy version
| Gate | Result | |
|---|---|---|
| prerequisites | ✓ | all clear |
| deny-list | ✓ | no deny categories matched |
| size | ✓ | 72L, 2F substantive — within ceiling |
| tier | ✓ | T1-agent / T1b-small (72L, 2F, single-area, feat) |
| stamphog 2.0.0b3 | .stamphog/policy.yml @ 636a8d6 · reviewed head ac84f00 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Problem
An in-progress loop run can only be stopped by opening its task detail page. The loop detail page shows run history and lets you view a run, but there is no way to stop a run or shut down its sandbox from there.
Changes
Active cloud runs (queued or in progress) in the run history list now show a red "Stop run" button to the left of "View run". It reuses the sessions
StopCloudRunDialog, so stopping goes throughsessionService.stopCloudRunwith the run's task and run ids, ends the cloud session and shuts down its sandbox. On success the runs list refetches immediately instead of waiting for the 15s poll. Terminal, local-environment and not-started runs show no button.How did you test this?
pnpm --filter @posthog/ui typecheckand Biome lint on the loops feature, both clean. Not exercised against a live in-progress loop run.Automatic notifications