Skip to content

Commit 101c122

Browse files
Merge branch 'main' into fix/memory-wiki-subfolder-search-90869
2 parents cab1573 + b8adc11 commit 101c122

1,124 files changed

Lines changed: 70306 additions & 11665 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/pull_request_template.md‎

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,14 @@
22

33
What problem does this PR solve?
44

5-
65
Why does this matter now?
76

8-
97
What is the intended outcome?
108

11-
129
What is intentionally out of scope?
1310

14-
1511
What does success look like?
1612

17-
1813
What should reviewers focus on?
1914

2015
<details>
@@ -75,13 +70,10 @@ Be mindful of private information like IP addresses, API keys, phone numbers, no
7570

7671
Which commands did you run?
7772

78-
7973
What regression coverage was added or updated?
8074

81-
8275
What failed before this fix, if known?
8376

84-
8577
If no test was added, why not?
8678

8779
<details>
@@ -95,16 +87,12 @@ List focused commands, not every incidental check. CI is useful support, but ext
9587

9688
Did user-visible behavior change? (`Yes/No`)
9789

98-
9990
Did config, environment, or migration behavior change? (`Yes/No`)
10091

101-
10292
Did security, auth, secrets, network, or tool execution behavior change? (`Yes/No`)
10393

104-
10594
What is the highest-risk area?
10695

107-
10896
How is that risk mitigated?
10997

11098
<details>
@@ -118,10 +106,8 @@ Use this for author judgment that is not obvious from the diff. ClawSweeper can
118106

119107
What is the next action?
120108

121-
122109
What is still waiting on author, maintainer, CI, or external proof?
123110

124-
125111
Which bot or reviewer comments were addressed?
126112

127113
<details>

‎.github/workflows/ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,7 @@ jobs:
722722
723723
if [ "$RUN_GATEWAY_WATCH" = "true" ]; then
724724
start_check "gateway-watch" \
725-
node scripts/check-gateway-watch-regression.mjs --skip-build --ready-timeout-ms 5000
725+
node scripts/check-gateway-watch-regression.mjs --skip-build
726726
fi
727727
728728
for index in "${!pids[@]}"; do

‎.github/workflows/full-release-validation.yml‎

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1139,7 +1139,16 @@ jobs:
11391139
11401140
summary:
11411141
name: Verify full validation
1142-
needs: [resolve_target, docker_runtime_assets_preflight, normal_ci, plugin_prerelease, release_checks, npm_telegram, performance]
1142+
needs:
1143+
[
1144+
resolve_target,
1145+
docker_runtime_assets_preflight,
1146+
normal_ci,
1147+
plugin_prerelease,
1148+
release_checks,
1149+
npm_telegram,
1150+
performance,
1151+
]
11431152
if: always()
11441153
runs-on: ubuntu-24.04
11451154
timeout-minutes: 5

‎.github/workflows/macos-release.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
default: true
1414
type: boolean
1515
public_release_branch:
16-
description: Public branch that contains the release tag commit, usually main or release/YYYY.M.D
16+
description: Public branch that contains the release tag commit, usually main or release/YYYY.M.PATCH
1717
required: false
1818
default: main
1919
type: string
@@ -73,7 +73,7 @@ jobs:
7373
run: |
7474
set -euo pipefail
7575
if [[ "${PUBLIC_RELEASE_BRANCH}" != "main" && ! "${PUBLIC_RELEASE_BRANCH}" =~ ^release/[0-9]{4}\.[1-9][0-9]*\.[1-9][0-9]*$ ]]; then
76-
echo "public_release_branch must be main or release/YYYY.M.D, got ${PUBLIC_RELEASE_BRANCH}." >&2
76+
echo "public_release_branch must be main or release/YYYY.M.PATCH, got ${PUBLIC_RELEASE_BRANCH}." >&2
7777
exit 1
7878
fi
7979
RELEASE_SHA=$(git rev-parse HEAD)

‎.github/workflows/openclaw-live-and-e2e-checks-reusable.yml‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -887,7 +887,7 @@ jobs:
887887
summary=".artifacts/docker-tests/release-${DOCKER_E2E_CHUNK}/summary.json"
888888
if [[ ! -f "$summary" ]]; then
889889
echo "Docker chunk summary missing: \`$summary\`" >> "$GITHUB_STEP_SUMMARY"
890-
exit 0
890+
exit 1
891891
fi
892892
node .release-harness/scripts/docker-e2e.mjs summary "$summary" "Docker E2E chunk: ${DOCKER_E2E_CHUNK:-unknown}" >> "$GITHUB_STEP_SUMMARY"
893893
@@ -897,7 +897,7 @@ jobs:
897897
with:
898898
name: docker-e2e-${{ matrix.chunk_id }}
899899
path: .artifacts/docker-tests/
900-
if-no-files-found: ignore
900+
if-no-files-found: error
901901

902902
plan_docker_lane_groups:
903903
needs: validate_selected_ref
@@ -1147,7 +1147,7 @@ jobs:
11471147
summary=".artifacts/docker-tests/targeted-${{ steps.plan.outputs.artifact_suffix }}/summary.json"
11481148
if [[ ! -f "$summary" ]]; then
11491149
echo "Docker targeted summary missing: \`$summary\`" >> "$GITHUB_STEP_SUMMARY"
1150-
exit 0
1150+
exit 1
11511151
fi
11521152
node .release-harness/scripts/docker-e2e.mjs summary "$summary" "Docker E2E targeted lanes" >> "$GITHUB_STEP_SUMMARY"
11531153
@@ -1157,7 +1157,7 @@ jobs:
11571157
with:
11581158
name: docker-e2e-${{ steps.plan.outputs.artifact_suffix }}
11591159
path: .artifacts/docker-tests/
1160-
if-no-files-found: ignore
1160+
if-no-files-found: error
11611161

11621162
validate_docker_openwebui:
11631163
needs: [validate_selected_ref, prepare_docker_e2e_image]
@@ -1274,7 +1274,7 @@ jobs:
12741274
summary=".artifacts/docker-tests/release-openwebui/summary.json"
12751275
if [[ ! -f "$summary" ]]; then
12761276
echo "Docker Open WebUI summary missing: \`$summary\`" >> "$GITHUB_STEP_SUMMARY"
1277-
exit 0
1277+
exit 1
12781278
fi
12791279
node .release-harness/scripts/docker-e2e.mjs summary "$summary" "Docker E2E chunk: openwebui" >> "$GITHUB_STEP_SUMMARY"
12801280
@@ -1284,7 +1284,7 @@ jobs:
12841284
with:
12851285
name: docker-e2e-openwebui
12861286
path: .artifacts/docker-tests/
1287-
if-no-files-found: ignore
1287+
if-no-files-found: error
12881288

12891289
prepare_docker_e2e_image:
12901290
needs: validate_selected_ref
@@ -1918,7 +1918,7 @@ jobs:
19181918
profiles: stable full
19191919
- suite_id: native-live-src-gateway-core
19201920
label: Native live gateway core
1921-
command: node .release-harness/scripts/test-live-shard.mjs native-live-src-gateway-core
1921+
command: OPENCLAW_LIVE_CODEX_HARNESS=1 OPENCLAW_LIVE_CODEX_HARNESS_AUTH=api-key node .release-harness/scripts/test-live-shard.mjs native-live-src-gateway-core
19221922
timeout_minutes: 60
19231923
profile_env_only: false
19241924
profiles: beta minimum stable full
@@ -2038,7 +2038,7 @@ jobs:
20382038
profiles: full
20392039
- suite_id: native-live-src-gateway-backends
20402040
label: Native live gateway backends
2041-
command: node .release-harness/scripts/test-live-shard.mjs native-live-src-gateway-backends
2041+
command: OPENCLAW_LIVE_CODEX_HARNESS=1 OPENCLAW_LIVE_CODEX_HARNESS_AUTH=api-key node .release-harness/scripts/test-live-shard.mjs native-live-src-gateway-backends
20422042
timeout_minutes: 60
20432043
profile_env_only: false
20442044
profiles: stable full

‎.github/workflows/openclaw-npm-release.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ jobs:
391391
tideclaw_alpha_publish=true
392392
fi
393393
if [[ "${WORKFLOW_REF}" != "refs/heads/main" ]] && [[ ! "${WORKFLOW_REF}" =~ ^refs/heads/release/[0-9]{4}\.[1-9][0-9]*\.[1-9][0-9]*$ ]] && [[ "${tideclaw_alpha_publish}" != "true" ]]; then
394-
echo "Real publish runs must be dispatched from main, release/YYYY.M.D, or a Tideclaw alpha branch for alpha prereleases. Use preflight_only=true for other branch validation."
394+
echo "Real publish runs must be dispatched from main, release/YYYY.M.PATCH, or a Tideclaw alpha branch for alpha prereleases. Use preflight_only=true for other branch validation."
395395
exit 1
396396
fi
397397

‎.github/workflows/openclaw-performance.yml‎

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,8 @@ jobs:
244244
run: |
245245
set -euo pipefail
246246
if [[ -z "${OPENAI_API_KEY:-}" ]]; then
247-
echo "OPENAI_API_KEY is not configured; live GPT 5.5 lane will be skipped." >> "$GITHUB_STEP_SUMMARY"
248-
exit 0
247+
echo "OPENAI_API_KEY is not configured; live GPT 5.5 lane cannot run without live evidence." >> "$GITHUB_STEP_SUMMARY"
248+
exit 1
249249
fi
250250
kova setup --ci --json
251251
kova setup --non-interactive --auth env-only --provider openai --env-var OPENAI_API_KEY --json
@@ -262,11 +262,6 @@ jobs:
262262
set -euo pipefail
263263
mkdir -p "$REPORT_DIR" "$BUNDLE_DIR" "$SUMMARY_DIR"
264264
265-
if [[ "$MATRIX_LIVE" == "true" && -z "${OPENAI_API_KEY:-}" ]]; then
266-
echo "skipped=true" >> "$GITHUB_OUTPUT"
267-
exit 0
268-
fi
269-
270265
repeat="$REQUESTED_REPEAT"
271266
if [[ "$MATRIX_REPEAT" != "input" ]]; then
272267
repeat="$MATRIX_REPEAT"
@@ -309,24 +304,7 @@ jobs:
309304
report_md="${report_json%.json}.md"
310305
effective_status="$status"
311306
if [[ "$FAIL_ON_REGRESSION" == "true" && "$status" != "0" ]]; then
312-
if REPORT_JSON="$report_json" node <<'NODE'
313-
const fs = require("node:fs");
314-
const report = JSON.parse(fs.readFileSync(process.env.REPORT_JSON, "utf8"));
315-
const statuses = report.summary?.statuses ?? {};
316-
const nonPassStatuses = Object.entries(statuses)
317-
.filter(([status, count]) => status !== "PASS" && Number(count) > 0);
318-
const baselineRegressionCount =
319-
Number(report.baseline?.comparison?.regressionCount ?? report.gate?.baseline?.regressionCount ?? 0);
320-
const gate = report.gate;
321-
const toleratedPartial =
322-
gate?.verdict === "PARTIAL" &&
323-
Number(gate.blockingCount ?? 0) === 0 &&
324-
baselineRegressionCount === 0 &&
325-
nonPassStatuses.length === 0;
326-
if (!toleratedPartial) {
327-
process.exit(1);
328-
}
329-
NODE
307+
if node "$PERFORMANCE_HELPER_DIR/scripts/lib/kova-report-gate.mjs" "$report_json"
330308
then
331309
effective_status=0
332310
{
@@ -377,6 +355,28 @@ jobs:
377355
exit "$effective_status"
378356
fi
379357
358+
- name: Validate Kova evidence
359+
if: ${{ always() && steps.lane.outputs.run == 'true' }}
360+
shell: bash
361+
run: |
362+
set -euo pipefail
363+
missing=0
364+
if ! find "$REPORT_DIR" -maxdepth 1 -type f -name '*.json' -size +0c -print -quit | grep -q .; then
365+
echo "::error::Kova JSON report is missing for ${LANE_ID}."
366+
missing=1
367+
fi
368+
if [[ ! -s "$BUNDLE_DIR/bundle.json" ]]; then
369+
echo "::error::Kova bundle evidence is missing for ${LANE_ID}."
370+
missing=1
371+
fi
372+
if [[ ! -s "$SUMMARY_DIR/${LANE_ID}.md" ]]; then
373+
echo "::error::Kova summary evidence is missing for ${LANE_ID}."
374+
missing=1
375+
fi
376+
if [[ "$missing" != "0" ]]; then
377+
exit 1
378+
fi
379+
380380
- name: Fetch previous source performance baseline
381381
if: ${{ steps.lane.outputs.run == 'true' && matrix.lane == 'mock-provider' && steps.clawgrit.outputs.present == 'true' }}
382382
env:
@@ -547,7 +547,7 @@ jobs:
547547
.artifacts/kova/bundles/${{ matrix.lane }}
548548
.artifacts/kova/summaries/${{ matrix.lane }}.md
549549
.artifacts/openclaw-performance/source/${{ matrix.lane }}
550-
if-no-files-found: ignore
550+
if-no-files-found: error
551551
retention-days: ${{ matrix.deep_profile == 'true' && 14 || 30 }}
552552

553553
- name: Prepare clawgrit reports checkout

0 commit comments

Comments
 (0)