Skip to content

feat(worktree): add shutdown script for worktree deletion#15929

Open
kldzj wants to merge 1 commit intoanomalyco:devfrom
kldzj:feat/worktree-stop
Open

feat(worktree): add shutdown script for worktree deletion#15929
kldzj wants to merge 1 commit intoanomalyco:devfrom
kldzj:feat/worktree-stop

Conversation

@kldzj
Copy link

@kldzj kldzj commented Mar 4, 2026

Issue for this PR

Closes #

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

  • Adds ability to run cleanup commands before a worktree is deleted, complementing the existing startup script that runs on creation
  • Project edit dialog is now scrollable

The translations have been AI generated, kindly let me know if that is a problem.

How did you verify your code works?

Two scripts that log events to a shared file for tracking when a worktree has been created or deleted.

Screenshots / recordings

kvgjkrkmadrmr0cwpsaskek33r_result_.mp4

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@kldzj kldzj requested a review from adamdotdevin as a code owner March 4, 2026 00:56
@github-actions
Copy link
Contributor

github-actions bot commented Mar 4, 2026

The following comment was made by an LLM, it may be inaccurate:

The search results show only the current PR (#15929) and two other PRs related to worktree management, but neither of those appear to be duplicates as they address different concerns:

No duplicate PRs found

@kldzj kldzj changed the title feat(worktrees): add shutdown script for worktree deletion feat(worktree): add shutdown script for worktree deletion Mar 4, 2026
IgorTavcar added a commit to IgorTavcar/opencode that referenced this pull request Mar 4, 2026
…15929)

Cherry-picked from upstream PR anomalyco#15929.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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