Repository navigation
Conversation
A run's team is the team of the projects it's filed under, read from its annotations. The run page now uses it in three places. Cancel and run notes: the backend only lets a run's creator cancel or annotate it. A run the team created can now be cancelled and its notes edited by a member who can write to the team, and both requests carry the team header. A run you created keeps working as before, without the header, even when it's filed under a team's project. Rerun: a rerun acts as the run's team, like a submit does. A rerun that would run as you instead, or whose arguments use secrets the run won't see, asks first and says why. Rerun waits for the team and the secrets check, and is refused for projects on different teams. The rerun button and the run menus shared two copies of the rerun logic. The button now uses the menus' hook, so the team rules live in one place. Cancel and annotation failures now show the backend's reason instead of "Access denied (403)": they read the response the way creating a run does. A failed notes save used to be silent and now shows a toast. useTeamForRunAnnotations had no callers and is replaced by useRunTeam, which also waits for the annotations and reports when they can't be read. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
camielvs
added this pull request to stack #2930
October 22, 2026 22:34
🎩 PreviewA preview build has been created at: |
1 of 3 tasks
This branch has not been deployed
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.
Description
A run's team is the team of the projects it's filed under, read from its annotations by the new
useRunTeam. The run page now uses it in three places.runManagement.useRerunPipelineRun, so the team rules live in one place. The button's unusedrunIdprop is gone.Cancel and annotation failures now show the backend's reason instead of "Access denied (403)". They read the response the way creating a run does. A failed notes save used to be silent and now shows a toast.
useTeamForRunAnnotations(#2929) had no callers.useRunTeamreplaces it, and also waits for the annotations and reports when they can't be read.Related Issue and Pull requests
fetchWithErrorHandlingdropping the backend'sdetail.Type of Change
Line Breakdown
Checklist
Screenshots (if applicable)
None yet.
Test Instructions
With the same setup as #2941, open a run submitted as the team (#2943):
master.Additional Comments
The v1 run page (
RunToolbar,RunDetails) isn't routed. It only picks up the shared rerun button.🤖 Generated with Claude Code