mirror of
https://github.com/kvcache-ai/AgentENV.git
synced 2026-11-05 01:17:36 +00:00
[PR #82] [CLOSED] fix(orchestrator): treat persistence cleanup failures as operation failures #166
Labels
No labels
bug
documentation
enhancement
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/AgentENV#166
Loading…
Add table
Add a link
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?
📋 Pull Request Information
Original PR: https://github.com/kvcache-ai/AgentENV/pull/82
Author: @Ayush7614
Created: 7/29/2026
Status: ❌ Closed
Base:
main← Head:fix/persistence-cleanup-failures📝 Commits (2)
a6db392fix(orchestrator): treat persistence cleanup failures as operation failures1ec2b7efix(orchestrator): harden persistence cleanup against partial failures📊 Changes
3 files changed (+286 additions, -15 deletions)
View changed files
📝
src/orchestrator/persistence/file_backed.rs(+3 -1)📝
src/orchestrator/service.rs(+57 -13)📝
src/orchestrator/tests.rs(+226 -1)📄 Description
Summary
Resumingmarker failed, so a crash could discard the paused record.Pausedif record cleanup fails.Test plan
delete_sandbox_fails_when_persisted_state_cannot_be_removedresume_delete_record_failure_rolls_back_to_pausedcargo test -p agentenv --lib resume_marks_resumingcargo test -p agentenv --lib delete_sandbox_fails_when_persisted🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.