CyberStrikeAI/internal/update
Sycun e8df681d9b test: keep the scripted-toolchain scenarios off windows
The four retry scenarios are driven through a scripted `go` (a POSIX shell script
placed first on PATH) and a PATH with a symlinked git. On Windows neither
harness resolves: the file would not be found through LookPath and would not
execute, and the symlink needs privileges - the tests would either fail or
silently assert nothing. They now skip there with the reason named, instead of
reporting a platform they cannot speak for. `GOOS=windows go vet ./internal/update`
compiles clean; macOS runs them for real.
2026-10-08 16:18:21 +08:00
..
adopt.go fix: a rollback keeps the operator's edits, and a retry really compiles 2026-10-08 16:16:07 +08:00
adopt_test.go feat: make the update source one repository address, the official repo by default 2026-10-08 13:46:14 +08:00
apply.go fix: a rollback keeps the operator's edits, and a retry really compiles 2026-10-08 16:16:07 +08:00
binary.go feat: make a restart part of the one-click update, and recover the page by itself 2026-10-07 22:53:32 +08:00
build.go feat: update this installation's own source in one action 2026-10-07 12:07:26 +08:00
pending_build_test.go test: keep the scripted-toolchain scenarios off windows 2026-10-08 16:18:21 +08:00
rollback_test.go fix: a rollback keeps the operator's edits, and a retry really compiles 2026-10-08 16:16:07 +08:00
source_test.go feat: make the update source one repository address, the official repo by default 2026-10-08 13:46:14 +08:00
update.go fix: a rollback keeps the operator's edits, and a retry really compiles 2026-10-08 16:16:07 +08:00
update_test.go fix: the version writer recognizes every spelling its reader accepts 2026-10-08 16:16:21 +08:00
version.go feat: carry the release version across an update, so the header matches the code 2026-10-08 13:57:11 +08:00