Skip to content

fix: harden Windows agent runtime handling#294

Merged
RussellLuo merged 2 commits into
OpenCSGs:mainfrom
wanghaojie124:dev
Jul 7, 2026
Merged

fix: harden Windows agent runtime handling#294
RussellLuo merged 2 commits into
OpenCSGs:mainfrom
wanghaojie124:dev

Conversation

@wanghaojie124

Copy link
Copy Markdown
Collaborator
  • Default unset sandbox providers to Docker and update docs/tests for the new behavior.
  • Fix Windows Codex runtime liveness checks, app-server shutdown, and delete retries for locked files.
  • Share retryable RemoveAll handling across agent, skill, template, and migration cleanup paths.
  • Require template-declared environment variables in the agent creation UI and backend save flow.
  • Update frontend and Go tests for status mapping, required env validation, and Windows cleanup retries.

Comment thread internal/fileutil/remove_test.go Outdated
@@ -0,0 +1,49 @@
package fileutil

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest moving this package into internal/utils.

- Default unset sandbox providers to Docker and update docs/tests for the new behavior.
- Fix Windows Codex runtime liveness checks and app-server shutdown error reporting.
- Stop agent lifecycle delivery before recreating runtimes so Feishu disconnects release old Codex state.
- Require template-declared environment variables in the agent creation UI and backend save flow.
- Update frontend and Go tests for status mapping, required env validation, and Windows lifecycle cleanup.
@RussellLuo RussellLuo merged commit 5155308 into OpenCSGs:main Jul 7, 2026
1 check passed
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.

2 participants