GitAdapter dirtyState, stageAll and commit cannot take destroyOnExit, so a shutdown-safe caller must repeat them #620
Labels
No labels
agent-ready
bug
contract
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs-human
needs-input
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
iterative-works/iw-cli#620
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follows #616, which gave
ProcessAdapter.runadestroyOnExitparameter.kanon (dev-docs #346) needs git to run during JVM shutdown, so its
LiveWorkingTree(iw-plugin/lib/cli/WorkingTree.scala) repeats coreGitAdapter.dirtyState,stageAllandcommitwith the same failure texts. OnlydestroyOnExit = falsediffers.Requested: let
GitAdapter.dirtyState,stageAllandcommittakedestroyOnExit(defaulttrue) and pass it toProcessAdapter.run. Then the plugin can delegate to core instead of repeating these three methods.Source: dev-docs DEVDOCS-346 code review, composition finding (
review-phase-01-20260925-092800.md).Type: feature
Filed from:
/home/mph/ops/kanon-DEVDOCS-346on branchDEVDOCS-346Intake: agent-ready
Workflow: waterfall
Reason: all gates passed
Analysis: project-management/issues/IW-620/analysis.md on branch IW-620