Skip to content

fix: ensure lifecycle executor has sufficient task permissions (#20539)#20560

Merged
DanielleMaywood merged 1 commit into
release/2.28from
danielle/cherry-2.28/gh-20539
Oct 29, 2025
Merged

fix: ensure lifecycle executor has sufficient task permissions (#20539)#20560
DanielleMaywood merged 1 commit into
release/2.28from
danielle/cherry-2.28/gh-20539

Conversation

@DanielleMaywood

@DanielleMaywood DanielleMaywood commented Oct 29, 2025

Copy link
Copy Markdown
Contributor

We recently made a change to the wsbuilder to handle task related logic. Our test coverage for the lifecycle executor didn't handle this scenario and so we missed that it had insufficient permissions.

This PR adds Update and Read permissions for Tasks in the lifecycle executor, as well as an autostart/autostop test tailored to task workspaces to verify the change.


This is cherry picked from 06dbada #20539

#20539)

We recently made a change to the `wsbuilder` to handle task related
logic. Our test coverage for the lifecycle executor didn't handle this
scenario and so we missed that it had insufficient permissions.

This PR adds `Update` and `Read` permissions for `Task`s in the
lifecycle executor, as well as an autostart/autostop test tailored to
task workspaces to verify the change.

---

Anthropic's Claude Sonnet 4.5 Thinking was involved in writing the tests
@DanielleMaywood DanielleMaywood force-pushed the danielle/cherry-2.28/gh-20539 branch from f04a148 to 0483512 Compare October 29, 2025 19:51
@DanielleMaywood DanielleMaywood marked this pull request as ready for review October 29, 2025 19:54
@DanielleMaywood DanielleMaywood merged commit d0a2e6d into release/2.28 Oct 29, 2025
66 of 70 checks passed
@DanielleMaywood DanielleMaywood deleted the danielle/cherry-2.28/gh-20539 branch October 29, 2025 21:08
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 29, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants