fix(memory-flush): ban timestamped variant files in default flush prompt (#34951)

Merged via squash.

Prepared head SHA: efadda4988
Co-authored-by: zerone0x <39543393+zerone0x@users.noreply.github.com>
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Reviewed-by: @jalehman
This commit is contained in:
zerone0x
2026-03-06 10:15:13 +08:00
committed by GitHub
parent 8088218f46
commit 94fdee2eac
5 changed files with 27 additions and 3 deletions

View File

@@ -68,6 +68,7 @@ describe("restartGatewayProcessWithFreshPid", () => {
});
it("returns supervised when launchd/systemd hints are present", () => {
clearSupervisorHints();
process.env.LAUNCH_JOB_LABEL = "ai.openclaw.gateway";
const result = restartGatewayProcessWithFreshPid();
expect(result.mode).toBe("supervised");