mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-06 05:51:15 +08:00
fix(ci): restore release e2e checks
This commit is contained in:
@@ -42,6 +42,7 @@ Docs: https://docs.openclaw.ai
|
||||
|
||||
### Fixes
|
||||
|
||||
- CLI: enforce the documented Node.js 22.19 runtime floor in the source launcher.
|
||||
- Agents/replies: persist queued follow-up user messages and assistant error stubs only once across model-fallback retries, preventing repeated provider rejections from corrupted same-role session transcripts. Fixes #83404. (#83417) Thanks @yetval.
|
||||
- Gateway/config: keep config writes from failing on unrelated unresolved auth-profile SecretRefs while preserving live auth-profile runtime snapshots.
|
||||
- Gateway/sessions: clear stored CLI provider resume bindings on non-subagent `/reset` so the next turn starts a fresh provider-side CLI conversation instead of resuming old context. (#83448) Thanks @jasonyliu.
|
||||
|
||||
@@ -9,7 +9,7 @@ import path from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
|
||||
const MIN_NODE_MAJOR = 22;
|
||||
const MIN_NODE_MINOR = 16;
|
||||
const MIN_NODE_MINOR = 19;
|
||||
const MIN_NODE_VERSION = `${MIN_NODE_MAJOR}.${MIN_NODE_MINOR}`;
|
||||
|
||||
const parseNodeVersion = (rawVersion) => {
|
||||
|
||||
@@ -268,6 +268,13 @@ function setConfigOverride(next: OpenClawConfig): void {
|
||||
setRuntimeConfigSnapshot(configOverride);
|
||||
}
|
||||
|
||||
function setMessageToolGroupReplyConfig(): void {
|
||||
setConfigOverride({
|
||||
session: { mainKey: "main", scope: "per-sender" },
|
||||
messages: { groupChat: { visibleReplies: "message_tool" } },
|
||||
});
|
||||
}
|
||||
|
||||
function toSessionEntry(
|
||||
sessionKey: string,
|
||||
entry?: Partial<SessionEntry>,
|
||||
@@ -780,6 +787,7 @@ describe("subagent announce formatting", () => {
|
||||
});
|
||||
|
||||
it("keeps direct completion announce delivery immediate even when sibling counters are non-zero", async () => {
|
||||
setMessageToolGroupReplyConfig();
|
||||
sessionStore = {
|
||||
"agent:main:subagent:test": {
|
||||
sessionId: "child-session-self-pending",
|
||||
@@ -977,6 +985,7 @@ describe("subagent announce formatting", () => {
|
||||
});
|
||||
|
||||
it("delivers completion-mode announces immediately even when sibling runs are still active", async () => {
|
||||
setMessageToolGroupReplyConfig();
|
||||
sessionStore = {
|
||||
"agent:main:subagent:test": {
|
||||
sessionId: "child-session-coordinated",
|
||||
@@ -1377,7 +1386,7 @@ describe("subagent announce formatting", () => {
|
||||
threadId: 99,
|
||||
},
|
||||
requesterSessionMeta: {},
|
||||
expectedThreadId: 99,
|
||||
expectedThreadId: "99",
|
||||
},
|
||||
] as const;
|
||||
|
||||
@@ -1905,6 +1914,7 @@ describe("subagent announce formatting", () => {
|
||||
});
|
||||
|
||||
it("uses direct completion delivery when explicit channel+to route is available", async () => {
|
||||
setMessageToolGroupReplyConfig();
|
||||
sessionStore = {
|
||||
"agent:main:main": {
|
||||
sessionId: "requester-session-direct-route",
|
||||
|
||||
Reference in New Issue
Block a user