Skip to content

ci: defer 195 slow integration tests from unrelated PRs - #158267

Merged
steipete merged 3 commits into
mainfrom
ci-burden/rv2-pr-exempt
Sep 27, 2026
Merged

steipete merged 3 commits into
mainfrom
ci-burden/rv2-pr-exempt

Conversation

@steipete

@steipete steipete commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Related: #157740, #157626

What Problem This Solves

Broad PR CI repeatedly runs slow integration tours that can instead run hourly on main and during Full Release Validation, while direct test or subject changes retain PR coverage.

User Impact

Unrelated broad PR plans omit 194 live files / 6,551.933 summed reported test-seconds. Every deferred file keeps all of its cases and assertions. Hourly main and Full Release Validation select all 194 live files; direct test/subject edits opt them back into PRs. No product behavior changes.

The trade-off is up to one hourly interval before an unrelated integration regression is detected. Recent product/tooling regressions remain on PRs. Some named tooling/plugin tests were previously absent from hourly main; this change admits only those audited files, not their complete families.

Why This Change Was Made

A separate PR-exempt inventory preserves the earlier release-only decisions. Node, extension, UI, and Windows planning use one runtime-selection predicate. Explicit source watches cover spawned scripts/workers and discovered plugins that import graphs cannot see. None of the selected files overlap macOS's independent package inventory.

Hourly GitHub-hosted planning fits in 69 Node rows, below the unchanged 70-row cap. It reuses the existing serial tooling packer for sparse selected groups, preserving group execution, two-worker limits, prerequisites and timeouts. Hosted estimates use complete file data with hosted scaling; native Blacksmith observations are not reused there. Reduced inventories retain distinct timing identities.

Evidence

Timing source: broad green PR run 36166233840, head 4475dcf83e1054f2c15239caba70e8a4dfe022cd. Audited 119 successful Node/UI-related job logs and ranked 16,365 observed files. Of 674 threshold candidates, 195 qualify and 479 remain on their existing routes.

Threshold: at least 20s per file, or at least 15s in a GitHub matrix job lasting 450s or more. Durations are 33 exact file summaries, 148 sums of verified serial case times, and 14 longest-case lower bounds. Bounds exclude imports/hooks and never sum concurrent cases. These are summed observed test-seconds, not a prediction of critical-path or billing savings. Browser E2E jobs skipped in that run provide no timing evidence. Every candidate's history since 2026-09-18 was checked; actual recent product/tooling defects and existing release-only decisions were retained.

Original-checkout executable selection proof: 195 → 0 in unrelated broad PR plans; 195 selected in hourly and full release plans; hourly 69 Node rows including 2 extension rows. Direct-test and opaque-subject cases exercise precise selection and broad fallback. Candidate test sources and shared test helpers are unchanged.

Linux proof used Blacksmith Testbox tbx_01m3cwg01850b7a0jjwnhg1r9k (lease workflow 36172319153), Node 24.19.0. Source hashes were verified before commands; native command exit 0; lease stopped after proof.

1,321 tests passed across planner, integration, Windows, workflow planning, guards and evidence suites. check:changed passed scripts/root-test typechecking, lint, dependency/ratchet guards and Knip/dead-code exports. check:workflows passed, and documentation link audit found 0 broken links. Final Codex P2 autoreview: scoped-clean, no accepted/actionable findings.

Validation caught and repaired a legacy default-selection interaction, then updated exact workflow option expectations and the new test's group typing. No test retries, longer timeouts, skips, baseline exceptions, or weaker assertions were added. The initial Python-subject review concern was disproved against the existing semantic owner and executable precise/fallback probes.

Each file ran with pnpm test test/scripts/<file>.test.ts --maxWorkers=1 on Linux:

Suite Tests Testbox command wall seconds
ci-node-test-plan 202 121.67
ci-changed-node-test-plan 290 186.12
ci-changed-node-test-plan.integration 6 126.00
ci-windows-test-plan 7 5.50
ci-workflow-planning 466 122.67
ci-workflow-guards 325 73.87
ci-workflow-evidence 25 21.29

Submitted-head GitHub CI timings are pending. Full Release Validation selection was verified; this task did not dispatch a complete release campaign.

Rebase validation — b602546

Rebased onto 7e8732d9d716, retaining main's newer planner/inventory entries and MV4's iOS routing. Only docs/ci.md conflicted; the code range-diff is unchanged, so the prior P2 review and timing census remain applicable.

One Linux Testbox pass after rebase passed 1,330 tests across all seven planner/guard files, Knip's script/production/full-tree export scans, and pnpm tsgo:extensions:test. Lease workflow; native commands exited 0 and the lease was stopped.

The Team Reports TS2307/TS7006 failure was fixed on main by 7c4866c73b31, which replaces the retired source-barrel import with direct source-owner imports. The extension type graph now passes, and this PR has no Team Reports changes. Auto-merge remains armed.

Runtime routing repair — 6fb688d

The explicit mixed inventory introduced by this PR exposed a config-selection bug: ACP/shared-core/tasks/utils treated the inventory as a replacement for their own includes. The tasks config consequently ran the FreeBSD identity test with OpenClaw runtime setup, producing the missing node:os default-export failure in job 108294761149. This was a PR routing regression. Main hourly job 108312221681 passed all 30 FreeBSD cases under their shared-core owner, which intentionally omits runtime setup.

The four leaf configs now use the existing intersectIncludeFile option, keeping each test in its owning project. The existing combined-inventory regression table covers all four owners and failed for all four before the fix. The FreeBSD mock, every assertion, runtime setup, and the shared config helper implementation are unchanged.

Linux Blacksmith Testbox tbx_01m3dw4ztyv35xb4n55nbnmm16 (lease workflow) verified source hashes and passed:

  • The original four-group job, using its captured compressed plan and CI environment through scripts/ci-run-node-test-shard.mts: 206 files / 2,735 tests, exit 0. The affected group ran all 103 files / 1,142 tests under their owners; FreeBSD passed 30/30 under shared-core and tasks ran only its 29 files. Shard execution took 356.54s.
  • All five config-importing test consumers under the tooling CI config: 2,403 tests. pnpm test test/vitest-scoped-config.test.ts --maxWorkers=1 passed 105 tests in 23.78s wall; the extended regression took 4ms. The four planner/project-routing consumers passed 2,298 tests in 265.15s wall.
  • check:changed: root-test types, formatting, guards, scripts/changed-test lint, and Knip script/production/full-tree export scans; 263.31s, exit 0. The wrapper first rejected a SHA base before running tests; the corrected branch ref pointed to the same base.

Fresh Codex P2 autoreview was scoped-clean. The lease is stopped. The follow-up is a normal child commit of b602546073f5, preserving RV3 #158594's stacked ancestry. Auto-merge remains armed; new-head GitHub CI is pending. The 195-file / 6,672.968-second PR-exempt reduction and hourly/FRV/direct-change selection contracts are unchanged.

Inventory drift repair — 3c51f42

Rebased onto main 1e7ec6a4f6b4; the two previous PR commits replayed unchanged. The only failing job in run 36253899587 attempt 2 demanded an hourly owner for test/scripts/mobile-release-authority.test.ts, which main had deleted in cd2724e43297 during the mobile release migration. The same invariant failed before the repair on the rebased checkout.

The inventory owner now enumerates audited paths that are regular files in the selected checkout. Extension planning and the exhaustive retention proof consume that enumeration. Every live file still requires exactly one canonical hourly and release owner; the fix does not filter by owner resolution or change the audited list. Pure membership remains stable, and new or renamed unaudited tests retain their existing PR selection. A filesystem regression covers creation, removal, renaming, restoration, and directory entries.

There are now 194 live files / 6,551.933 historical measured seconds in this tier. The retired test accounted for 121.035 seconds in the original 195-file census; its replacement tests remain on their existing routes. All 194 live entries pass PR exclusion plus hourly/release canonical-owner retention, and direct-change opt-in still passes.

Linux Blacksmith Testbox tbx_01m3fz90wmkk9d7rb1rks5gy4r (lease workflow) passed 3,404 tests with verified source hashes:

  • Original captured two-group job, unchanged file lists/order/environment: 2,792 tests passed, 136 pre-existing skipped cases; 423.60s wall. The previously failing invariant passed in 83.548s under the original group.
  • New inventory regression: 1 test, 3ms test time; pnpm test test/scripts/ci-proof-test-inventory.test.ts --maxWorkers=1 took 1.78s wall.
  • Remaining changed planner, Windows planner, and workflow guard files: 611 tests, 178.19s wall.
  • Changed-file gate: scripts/root-test types, guards, formatting, lint, and all three Knip export scans passed; 249.30s wall.

Fresh Codex P2 autoreview was scoped-clean. The Testbox is stopped; committed source bytes match the proof. Force-push used an explicit lease against the coordinator's recorded 820a31ae78dc head. Auto-merge remains armed; this new head is awaiting GitHub CI.

Main-side build unblocker — 2871aef

CI for 3c51f423089e encountered a separate generated Workboard manifest mismatch in build-artifacts job 108509495791. The exact asset check reproduced on current main. A newer Gateway protocol change affected Workboard's bundled bytes while its committed content-hash references were stale; RV2 changes none of those sources.

Regenerated the two immutable asset references with the native builder and landed the repair directly on main as 2871aef000cb. pnpm plugins:assets:check passed on Linux in 1.42s with the generated manifest hashes verified before and after; Testbox workflow. P2 autoreview was scoped-clean and the lease is stopped. No dependency, permission, or source behavior change was included.

RV2 is now rebased onto that repaired main at 40af42c9d711. All three PR commits have an unchanged range-diff, and the intervening main changes touched none of the planner/inventory/Vitest config owners. The completed routing proof remains applicable. Full CI run 36281271205 completed successfully on 40af42c9d711: all 187 jobs completed with no failures. Auto-merge landed this PR as e68cfe26f13a747ec5ef3d5371dfe2b27c64b52b on 2026-09-27 at 00:17:33Z. RV3 #158594 is now based on main.

Complete file inventory and observed cost

All rows retain complete assertions hourly/on full release and opt in for direct test or subject changes. No row protects a verified product/tooling defect fixed during the seven-day exclusion window. ≥ denotes a conservative case-time lower bound.

File Seconds Kind Why safe
test/scripts/ci-git-owner.test.ts 164.866 Git subprocess corpus Complete tour stays hourly/FRV; test and subject edits opt in.
test/scripts/write-unified-entry-dts.test.ts 143.749 Native compiler/packaging Complete tour stays hourly/FRV; test and subject edits opt in.
src/commands/doctor-config-preflight.plugin-deferral.test.ts ≥132.509 plugin-package-migration-tour Complete tour stays hourly/FRV; test and subject edits opt in.
test/scripts/openclaw-performance-git-lifecycle.test.ts 125.677 Git subprocess lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/worker-environments/node-enrollment.test.ts ≥97.610 native enrollment/packaging/HTTP artifact tour Complete tour stays hourly/FRV; test and subject edits opt in.
test/scripts/pr-worktree-containment.test.ts 84.591 Git worktree/process lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
src/infra/state-migrations.skill-workshop.test.ts ≥77.209 doctor-migration-sqlite-worker Complete tour stays hourly/FRV; test and subject edits opt in.
test/scripts/pr-operation-lock.test.ts 74.306 Multiprocess lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
src/cli/doctor-output.process.test.ts ≥73.245 built Doctor migration process tour Complete tour stays hourly/FRV; test and subject edits opt in.
test/scripts/docker-build-helper.test.ts ≥27.507 shell-process-packaging-tour Complete tour stays hourly/FRV; test and subject edits opt in.
extensions/memory-core/src/memory/index.test.ts ≥67.823 worker-large-corpus-integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/server.startup-fixture-lifetime.test.ts ≥64.990 forked-native-Gateway-fixture-lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/control-ui-session-prs-branch.test.ts ≥63.465 git-worker-native-process-matrix Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/server-methods/chat.abort-live-proof.test.ts ≥62.858 gateway-provider-http-abort-lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
extensions/matrix/src/outbound.currentness.integration.test.ts ≥61.789 http-sdk-integration Complete tour stays hourly/FRV; test and subject edits opt in.
test/scripts/vitest-worker-artifacts.ci.test.ts 61.298 Native worker/process lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
src/commands/doctor-config-preflight.state-lifecycle.test.ts ≥59.335 sqlite-worker-lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/server.xai-fallback.test.ts ≥59.259 Gateway-HTTP-provider-fallback-tour Complete tour stays hourly/FRV; test and subject edits opt in.
test/scripts/preflight-frozen-target-contracts.test.ts 57.046 Release subprocess corpus Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/server.visible-spawn-fallback.product-proof.test.ts ≥56.824 Gateway-HTTP-provider-spawn-tour Complete tour stays hourly/FRV; test and subject edits opt in.
test/scripts/write-plugin-sdk-entry-dts.test.ts 56.034 Native compiler/packaging Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/server.chat-cli-auth.test.ts ≥38.167 real-gateway-native-cli-auth-tour Complete tour stays hourly/FRV; test and subject edits opt in.
src/agents/embedded-agent-runner/run/attempt-session-replay.test.ts ≥54.333 native-history-worker Complete tour stays hourly/FRV; test and subject edits opt in.
test/helpers/openclaw-test-instance.test.ts 53.417 Gateway fixture/process lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
extensions/imessage/src/send.test.ts ≥52.280 process-integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/github-personal-publication.test.ts ≥52.175 process-gateway-integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/gateway-code-mode-clock.test.ts ≥51.822 gateway-provider-process-integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/server-sidecar-retention.test.ts ≥50.277 real-gateway-lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
src/auto-reply/dispatch.block-streaming-recovery.test.ts ≥49.582 real HTTP provider and dispatch integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/test-helpers.acquisition.test.ts ≥48.942 native socket/process fixture-acquisition tour Complete tour stays hourly/FRV; test and subject edits opt in.
src/agents/worktrees/service.acceleration.test.ts ≥48.752 real-git-worktree-lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
extensions/matrix/doctor-contract-api.account-state.test.ts ≥46.214 released-state-process-integration Complete tour stays hourly/FRV; test and subject edits opt in.
extensions/qa-lab/src/suite-process-lifecycle.test.ts ≥46.031 gateway-process-e2e Complete tour stays hourly/FRV; test and subject edits opt in.
test/scripts/pr-closeout-gates.test.ts 45.307 Release Git/process lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
test/scripts/vitest-fork-shutdown.test.ts ≥45.040 native-vitest-multiprocess-lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/worker-environments/prepared-pool.test.ts ≥44.916 native SQLite reserve/restart lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
test/scripts/plugin-release-git-lifecycle.test.ts 44.706 Git subprocess lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
extensions/memory-core/src/memory/manager.reindex-recovery.test.ts ≥44.031 native-publication-lifecycle-integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/server-methods/models-auth-login.catalog.integration.test.ts ≥43.847 gateway-provider-login-catalog-worker-tour Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/server.chat.gateway-server-chat-b.test.ts ≥43.550 Gateway socket integration mixed with direct handlers Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/worker-environments/prepared-environment-store.test.ts ≥43.430 native SQLite worker lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
test/scripts/validate-release-publish-approval.test.ts 42.496 release workflow process integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/commands/backup-capture-privacy.test.ts ≥41.931 backup-git-process-tour Complete tour stays hourly/FRV; test and subject edits opt in.
extensions/codex/src/node-exec-server.test.ts ≥41.380 native-exec-server-process Complete tour stays hourly/FRV; test and subject edits opt in.
src/entry.memory-json.test.ts ≥41.294 built-gateway-native-corpus Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/server.sessions.create.worktrees.test.ts ≥41.211 Gateway WebSocket/Git-worktree lifecycle integration Complete tour stays hourly/FRV; test and subject edits opt in.
test/scripts/lint-status.test.ts 40.737 native compiler and process lifecycle integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/sessions-history-http.test.ts ≥39.775 Gateway HTTP/SSE transcript lifecycle tour Complete tour stays hourly/FRV; test and subject edits opt in.
src/commands/doctor-config-preflight.pending-read.test.ts ≥39.567 sqlite-worker-lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
src/config/sessions/session-history-eviction.test.ts ≥38.790 native-worker-lifecycle-and-large-corpus Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/setup-inference.first-signin.integration.test.ts ≥38.687 Gateway first device-signin integration Complete tour stays hourly/FRV; test and subject edits opt in.
test/scripts/ci-workflow-evidence.test.ts 38.187 real Bash/Node/Git subprocess and evidence-workflow integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/server.sessions.create.worktree-selection.test.ts ≥38.184 real Git/worktree process integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/server.auth.control-ui.test.ts ≥38.173 real-gateway-websocket-auth-tour Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/server-methods/models-connect-publication.integration.test.ts ≥37.567 gateway-websocket-catalog-publication-lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/github-publication-transcript.test.ts ≥37.128 sqlite-worker-commit-lifecycle-integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/worker-environments/provider-allocation-cleanup.test.ts ≥36.791 provider cleanup/native SQLite restart tour Complete tour stays hourly/FRV; test and subject edits opt in.
src/config/state-corpus-fixture-lifetime.test.ts ≥35.498 doctor-startup-corpus-lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/server.sessions.store-paths.test.ts ≥36.396 Gateway-WebSocket-multistore-integration Complete tour stays hourly/FRV; test and subject edits opt in.
extensions/telegram/src/bot-message-context.body.test.ts ≥36.184 registered-native-channel-pipeline Complete tour stays hourly/FRV; test and subject edits opt in.
extensions/zalouser/src/zalo-js.listener.test.ts ≥36.161 native-dependency-websocket-lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
extensions/memory-core/src/memory/manager-search-orchestration.test.ts ≥35.139 worker-lifecycle-integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/managed-image-attachments.sqlite-visibility.test.ts ≥34.691 native-history-worker-integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/worker-environments/provider-crabbox-runtime-preflight.test.ts ≥34.533 registered provider/native persistence restart tour Complete tour stays hourly/FRV; test and subject edits opt in.
src/config/sessions/session-accessor.sqlite-maintenance-worker.test.ts ≥34.341 native-maintenance-worker-lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/server-methods/chat-send-synthetic-repair.integration.test.ts ≥33.795 gateway-provider-http-transcript-replay Complete tour stays hourly/FRV; test and subject edits opt in.
test/vitest-ui-e2e-config.test.ts 33.790 Real Node subprocess / native Vitest discovery and… Complete tour stays hourly/FRV; test and subject edits opt in.
test/scripts/upgrade-survivor-plugin-registry.test.ts 33.620 Bash/Node process and upgrade-harness lifecycle integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/cli/run-main.exit.test.ts ≥33.100 real SecretRef exec process CLI tour Complete tour stays hourly/FRV; test and subject edits opt in.
extensions/signal/src/client-container.handshake.loopback.test.ts ≥33.033 native-websocket-transport Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/server-startup-lifetime.test.ts ≥33.021 real-gateway-native-lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/sessions-history-http.physical-source.test.ts ≥32.807 Gateway HTTP/SSE source-ownership tour Complete tour stays hourly/FRV; test and subject edits opt in.
src/commands/models/model-selection.runtime.test.ts ≥32.639 provider-package-runtime-tour Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/server-methods/models-auth-refresh.catalog.integration.test.ts ≥32.312 gateway-provider-account-catalog-worker-lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
src/cli/update-cli/update-command-contention.test.ts ≥32.015 worker SQLite contention Complete tour stays hourly/FRV; test and subject edits opt in.
test/scripts/release-workflow-git-lifecycle.test.ts 31.890 Release workflow Bash/Python multiprocess Git lifecycle… Complete tour stays hourly/FRV; test and subject edits opt in.
extensions/acpx/src/runtime-mcp.process.test.ts ≥31.737 process-protocol-lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/server-methods/models-dispatch.catalog.integration.test.ts ≥31.518 gateway-provider-http-discovery-dispatch-tour Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/server.agent-artifact-apis.test.ts ≥31.441 real-gateway-rpc-http-lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
src/commands/doctor-session-canonical-keys.memory.test.ts ≥31.141 process-large-corpus Complete tour stays hourly/FRV; test and subject edits opt in.
src/infra/update-candidate-state.test.ts ≥30.701 sqlite-snapshot-subprocess-package-topology Complete tour stays hourly/FRV; test and subject edits opt in.
src/cli/update-cli/update-command-rollback-executor.test.ts ≥30.635 package swap plus subprocess SQLite under executor loss Complete tour stays hourly/FRV; test and subject edits opt in.
extensions/acpx/src/runtime-owner.process.test.ts ≥30.374 process-session-owner-lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
extensions/slack/src/monitor/http-handler.test.ts ≥30.064 native-http-ingress Complete tour stays hourly/FRV; test and subject edits opt in.
extensions/memory-core/src/memory/manager-session-update-race.test.ts ≥29.967 worker-publication-integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/agents/agent-command-local.test.ts ≥29.858 cli-process-http Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/server-methods/models-list.worker-recovery.integration.test.ts ≥29.744 gateway-provider-worker-recovery-integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/internal-source-reply-persistence.test.ts ≥28.998 native-media-transcript-lifecycle-integration Complete tour stays hourly/FRV; test and subject edits opt in.
test/scripts/build-artifact-cache.test.ts 28.743 Native TypeScript compiler and artifact/cache filesystem… Complete tour stays hourly/FRV; test and subject edits opt in.
extensions/memory-core/src/memory/manager-keyword-retrieval.test.ts ≥28.650 large-corpus-retrieval-integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/server.sessions.compaction.test.ts ≥28.533 Gateway WebSocket integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/server.sessions.fixture-lifecycle.test.ts ≥28.480 native socket/Gateway subprocess/fixture-lifetime integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/server.sessions.create.workspace-policy.test.ts ≥28.383 Gateway WebSocket/filesystem/Git-worktree integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/server.hooks.test.ts ≥27.809 real Gateway HTTP hook auth/routing/dedupe integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/server.placement-abandonment.test.ts ≥26.972 native child HTTP provider + real Gateway RPC + SQLite… Complete tour stays hourly/FRV; test and subject edits opt in.
test/telegram-outbound-permanent-rejection-loopback.test.ts ≥26.864 telegram-http-proxy-durable-queue-integration Complete tour stays hourly/FRV; test and subject edits opt in.
test/scripts/release-plan-producer.test.ts 26.441 Git and verified Node child release-plan integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/state/openclaw-database-preflight.artifacts.test.ts ≥26.346 multiprocess-sqlite-wal-large-corpus Complete tour stays hourly/FRV; test and subject edits opt in.
src/cli/update-dry-run-state.process.test.ts ≥26.116 cli-process Complete tour stays hourly/FRV; test and subject edits opt in.
test/scripts/pr-worktree-evidence.test.ts 26.051 Git worktree cleanup and subprocess lifecycle integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/mention-directory.test.ts ≥25.850 gateway-worker-publication-ownership-integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/infra/update-managed-service-handoff-cross-process.test.ts ≥25.786 multiprocess-handoff-sqlite-lease Complete tour stays hourly/FRV; test and subject edits opt in.
test/matrix-channel-read-authority.integration.test.ts ≥25.332 channel-loopback-integration Complete tour stays hourly/FRV; test and subject edits opt in.
test/scripts/upgrade-survivor-baseline-order.test.ts 25.314 Upgrade harness process and real HTTP endpoint integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/worker-environments/worker-turn-execution.test.ts ≥25.097 sqlite-worker-hydration-ownership Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/server-methods/chat.reset-visible-yield.test.ts ≥25.047 gateway-nested-agent-provider-http-lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/server.sessions.delete-lifecycle.test.ts ≥25.020 mixed direct-handler/real Gateway WebSocket integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/session-activity-summaries.test.ts ≥24.967 native-storage-lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/server.sessions.create.accounts.test.ts ≥24.895 Git-worktree process/account integration Complete tour stays hourly/FRV; test and subject edits opt in.
test/scripts/vitest-worker-shutdown.test.ts 24.749 Multi-process Vitest wrapper shutdown lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
src/infra/update-managed-service-handoff-terminal-result.test.ts ≥24.700 multiprocess-handoff-terminal-result Complete tour stays hourly/FRV; test and subject edits opt in.
src/claws/lifecycle-remove-approvals.test.ts ≥24.609 multiprocess native SQLite lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
src/infra/update-candidate-workspace-rehearsal.test.ts ≥24.551 snapshot-subprocess-doctor-rehearsal Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/session-message-events.test.ts ≥24.452 Gateway-WebSocket-integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/server-methods/session-catalog.performance.test.ts ≥24.212 large-corpus-provider-storage-integration Complete tour stays hourly/FRV; test and subject edits opt in.
test/scripts/render-maturity-docs.test.ts 23.981 Spawned maturity-docs CLI and repository taxonomy corpus Complete tour stays hourly/FRV; test and subject edits opt in.
src/commands/doctor-skill-workshop-workspace.test.ts ≥23.903 worker-workspace-lifecycle-integration Complete tour stays hourly/FRV; test and subject edits opt in.
test/non-isolated-runner.test.ts 23.478 nested Vitest process and cross-file lifecycle corpus Complete tour stays hourly/FRV; test and subject edits opt in.
src/config/sessions/session-accessor.sqlite-branches.test.ts ≥23.183 native-worker-lifecycle-and-large-corpus Complete tour stays hourly/FRV; test and subject edits opt in.
src/cli/cli-process-child.test-helpers.test.ts ≥23.046 subprocess descendant lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/worker-environments/workspace-sync-scripts.test.ts ≥22.999 multiprocess-quiescence-watchdog Complete tour stays hourly/FRV; test and subject edits opt in.
test/scripts/npm-onboard-channel-agent-shell.test.ts 22.963 Bash/Node process and package-registry composition Complete tour stays hourly/FRV; test and subject edits opt in.
src/cli/gateway-cli/run-loop.model-acquisition.process.test.ts ≥22.937 Gateway worker shutdown process Complete tour stays hourly/FRV; test and subject edits opt in.
src/agents/sessions/agent-session-code-mode-source.test.ts ≥22.901 real-code-mode-worker-session-integration Complete tour stays hourly/FRV; test and subject edits opt in.
test/test-env.test.ts 22.856 native child-process and SQLite auth staging integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/link-understanding.product.test.ts ≥22.713 gateway-provider-cli-integration Complete tour stays hourly/FRV; test and subject edits opt in.
extensions/mattermost/src/mattermost/monitor-posts.thread-history.test.ts ≥22.691 http-channel-integration Complete tour stays hourly/FRV; test and subject edits opt in.
extensions/crabbox/src/crabbox-worker-warm-image.test.ts ≥22.512 generated-shell-and-process-lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
src/snapshot/git-backup.test.ts ≥22.420 git-cli-subprocess-sqlite-vector-backup Complete tour stays hourly/FRV; test and subject edits opt in.
src/cli/program/root-command-descriptions.test.ts ≥22.390 large CLI registration/parser corpus Complete tour stays hourly/FRV; test and subject edits opt in.
src/agents/embedded-agent-runner/run-orchestrator.projection.test.ts ≥22.251 native-worker-lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
src/cli/update-cli/update-command-admission-schema.test.ts ≥22.174 native SQLite independent coordinator contention Complete tour stays hourly/FRV; test and subject edits opt in.
src/cli/update-cli.test.ts ≥22.092 process/package CLI lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/server-request-entry.test.ts ≥22.009 real-gateway-lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
src/infra/outbound/deliver.queue-integration.test.ts ≥21.921 sqlite-worker-queue-ownership-recovery Complete tour stays hourly/FRV; test and subject edits opt in.
src/config/sessions/session-history-budget-owner.test.ts ≥21.861 native-budget-worker-ownership Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/server-methods/models-auth-removal.integration.test.ts ≥21.826 gateway-and-registered-cli-config-mutation-race Complete tour stays hourly/FRV; test and subject edits opt in.
src/config/sessions/session-history-eviction.admission.test.ts ≥21.637 native-child-process-admission Complete tour stays hourly/FRV; test and subject edits opt in.
src/cli/update-cli.service-authority.test.ts ≥21.627 real child admission/authority lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
src/agents/worktrees/service.profiles.test.ts ≥21.113 real-git-sparse-worktree-lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/server-methods/models-auth-refresh.integration.test.ts ≥21.043 gateway-auth-state-publication Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/worker-environments/worker-turn-payload.test.ts ≥20.886 large-payload-protocol-corpus Complete tour stays hourly/FRV; test and subject edits opt in.
src/tasks/task-registry-terminal-notification.test.ts ≥20.847 sqlite-worker-settlement-rollback Complete tour stays hourly/FRV; test and subject edits opt in.
src/cli/mcp-cli.test.ts ≥20.844 MCP CLI real stdio subprocess Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/watch-node-http.test.ts ≥20.789 real HTTP watch-node transport tour Complete tour stays hourly/FRV; test and subject edits opt in.
extensions/memory-core/src/memory/manager-candidate-repair.test.ts ≥20.788 worker-large-corpus-integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/config/sessions/session-accessor.sqlite-prepared-admission.test.ts ≥20.757 native-worker-and-child-process-admission Complete tour stays hourly/FRV; test and subject edits opt in.
test/scripts/crabbox-hydrate-dependencies.test.ts 20.751 real package installs and shell process integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/operator-approval-mcp-grants.test.ts ≥20.727 gateway-approval-worker-lifecycle-integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/config/io.runtime-async.test.ts ≥20.701 native-worker-config-integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/state/agent-database-admission.test.ts ≥20.595 native-sqlite-subprocess-admission Complete tour stays hourly/FRV; test and subject edits opt in.
test/scripts/vitest-forks-pool.test.ts 20.563 Native fork/process lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
extensions/telegram/src/bot-message-dispatch.progress-command-detail.telegram-http.test.ts ≥20.563 native-http-dispatch Complete tour stays hourly/FRV; test and subject edits opt in.
test/scripts/telegram-e2e-userbot-skill.test.ts 20.540 Nested Node/Python process suite Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/session-repository-materialization.test.ts ≥20.522 Git-subprocess-workspace-integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/session-transcript-title-reader.test.ts ≥20.509 cold-transcript-worker-lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/worker-environments/repository-workspace-startup.test.ts ≥20.437 Gateway HTTP/Git/native workspace restart tour Complete tour stays hourly/FRV; test and subject edits opt in.
src/cli/agent-session-affinity.process.test.ts ≥20.366 real CLI child and HTTP transport Complete tour stays hourly/FRV; test and subject edits opt in.
src/transcripts/store.test.ts ≥20.358 sqlite-worker-stream-export-lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
extensions/discord/src/voice/realtime-playback-pcm.integration.test.ts ≥20.305 audio-codec-integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/acp/client.process.test.ts ≥20.273 multiprocess-interactive-cli Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/server.chat.acp-completion.test.ts ≥20.162 Gateway socket/transcript integration with mocked ACP runtime Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/worker-environments/skill-resource-transfer.test.ts ≥20.062 subprocess-node-workspace-integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/commands/doctor-skill-workshop-relocation.atomicity.test.ts ≥19.851 worker-filesystem-relocation-integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/server-methods/models-list.discovery-lifecycle.integration.test.ts ≥19.482 gateway-provider-http-catalog-lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
ui/src/test-helpers/control-ui-e2e-suite.test.ts ≥19.481 native-vitest-harness-lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/worker-environments/node-worker-workspace-publication.test.ts ≥19.405 Git/process and Gateway HTTP checkpoint-publication tour Complete tour stays hourly/FRV; test and subject edits opt in.
src/agents/sessions/agent-session-tool-result-redaction.test.ts ≥19.367 real exec-tool/provider-payload session integration Complete tour stays hourly/FRV; test and subject edits opt in.
test/telegram-recovery-notice-send.test.ts ≥19.336 telegram-loopback-gateway-transport-fence Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/mcp-http.test.ts ≥19.220 http-native-socket-child-lifecycle-integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/session-delivery-clock-jump.integration.test.ts ≥19.142 Gateway-WebSocket-provider-durable-queue-lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
src/infra/state-migrations.caller-mode.refusal.test.ts ≥18.415 doctor-snapshot-subprocess Complete tour stays hourly/FRV; test and subject edits opt in.
extensions/memory-core/src/memory/manager-search-monotonicity.test.ts ≥18.395 large-corpus-worker-integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/infra/state-migrations.caller-mode.storage.test.ts ≥18.073 doctor-storage-snapshot-subprocess Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/server-close.agent-databases.test.ts ≥17.982 gateway-native-database-lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/server-startup-secret-owner-isolation.test.ts ≥17.980 real-gateway-exec-provider-tour Complete tour stays hourly/FRV; test and subject edits opt in.
extensions/telegram/src/bot-message-context.dm-session.test.ts ≥17.683 registered-native-channel-pipeline Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/server.models-native-retirement.test.ts ≥17.641 real-Gateway-plugin-model-catalog-tour Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/gateway-cli-plugin-routing.test.ts ≥17.556 real-gateway-plugin-cli-routing Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/gateway-concurrent-streams.test.ts ≥17.441 built-gateway-multiprocess-http-streaming-integration Complete tour stays hourly/FRV; test and subject edits opt in.
test/scripts/prepare-extension-package-boundary-artifacts.test.ts 17.407 Native compiler/multiprocess lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
src/commands/doctor-skill-workshop-sqlite.relocation-conflicts.test.ts ≥17.321 worker-filesystem-relocation-integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/gateway/server-startup-workspace-readiness.test.ts ≥17.273 real-gateway-workspace-migration Complete tour stays hourly/FRV; test and subject edits opt in.
src/agents/worktrees/service.diagnostics.test.ts ≥17.250 real-git-and-child-process-lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
test/scripts/profile-extension-memory.test.ts 17.241 Cold-import process/resource tour Complete tour stays hourly/FRV; test and subject edits opt in.
src/config/sessions/session-accessor.sqlite-archive-session.test.ts ≥17.000 native-archive-worker-lifecycle Complete tour stays hourly/FRV; test and subject edits opt in.
src/commands/doctor-skill-workshop-collection-backups.test.ts ≥16.976 worker-filesystem-backup-integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/cli/update-cli/update-command-plugins.degradation.test.ts ≥16.924 real npm failed-repair and loopback registry integration Complete tour stays hourly/FRV; test and subject edits opt in.
src/infra/outbound/delivery-queue.reconnect-drain.test.ts ≥16.347 sqlite-worker-queue-ownership-recovery Complete tour stays hourly/FRV; test and subject edits opt in.
src/infra/outbound/deliver-queue.cancellation-integration.test.ts ≥16.162 sqlite-worker-producer-custody-cancellation Complete tour stays hourly/FRV; test and subject edits opt in.
extensions/telegram/src/action-runtime.test.ts ≥16.069 registered-native-http-actions Complete tour stays hourly/FRV; test and subject edits opt in.
src/cron/service/owner-hardening.test.ts ≥15.851 multiprocess-cron-ownership Complete tour stays hourly/FRV; test and subject edits opt in.
test/e2e/qa-lab/runtime/gateway-codex-delivery-cache.test.ts 15.562 gateway-native-codex-provider-tour Complete tour stays hourly/FRV; test and subject edits opt in.
src/cli/update-cli.package-lifecycle.test.ts ≥15.409 packaging and child admission Complete tour stays hourly/FRV; test and subject edits opt in.

Auto-merge remains armed under coordinator control.

@clawsweeper

clawsweeper Bot commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation scripts Repository scripts size: XL labels Sep 25, 2026
@steipete
steipete marked this pull request as ready for review September 25, 2026 19:02
@steipete
steipete enabled auto-merge (squash) September 25, 2026 19:08
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 25, 2026
@clawsweeper

clawsweeper Bot commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 26, 2026, 8:11 PM ET / September 27, 2026, 00:11 UTC (Revision 6).

ClawSweeper review

What this changes

The branch defers 194 slow integration test files from unrelated PR checks while retaining hourly and release coverage and selecting them when affected files change.

Merge readiness

⛔ Blocked before merge - 5 items remain

Keep open. Current main lacks this CI selection tier, and the stacked follow-on PR depends on it. Routing proof is substantial, but the CI owner has not accepted delaying pre-merge detection for the named sensitive suites.

Priority: P2
Reviewed head: 40af42c9d7116b1608df54ba13f1ebf71242b7ed
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The planner has useful execution proof and no discrete code finding, while the unresolved sensitive-suite coverage choice limits readiness.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (terminal): The PR body ties the changed CI planner and inventory to source-verified Linux Testbox selection checks and a production shard-runner replay after the routing repair, reporting PR omission, hourly and release retention, and successful execution. The linked lease workflow ended canceled and its detailed logs were unavailable here; the matching captured body provides the terminal results. No stored-data contract changes.
Patch quality 🦐 gold shrimp (3/6) Security review found an item that needs attention.

Verification

Check Result Evidence
Real behavior Verified Sufficient (terminal): The PR body ties the changed CI planner and inventory to source-verified Linux Testbox selection checks and a production shard-runner replay after the routing repair, reporting PR omission, hourly and release retention, and successful execution. The linked lease workflow ended canceled and its detailed logs were unavailable here; the matching captured body provides the terminal results. No stored-data contract changes.
Evidence reviewed 11 items Introduced workflow routing: The pinned PR delta passes the new exemption choice into Node, extension, UI, and Windows test planning.
Exemption decision: An exempt test is omitted from an unrelated PR, but a direct test edit or resolved subject change selects it.
Sensitive suites in the introduced inventory: The exemption list includes Gateway approval grants and startup SecretRef owner isolation.
Findings None None.
Security Needs attention Delayed detection for security-boundary regressions: The exemption inventory removes approval-grant and SecretRef owner-isolation compositions from unrelated PR checks, allowing a cross-component regression to reach main before hourly validation exercises them.

How this fits together

OpenClaw's CI planner turns changed paths and test inventories into PR, hourly, and release jobs. Its choices determine which failures can block a PR before merge.

flowchart LR
  A[Changed paths] --> C[CI planner]
  B[Test inventory] --> C
  C --> D{Run type}
  D --> E[PR test jobs]
  D --> F[Hourly test jobs]
  D --> G[Release test jobs]
Loading

Decision needed

Question Recommendation
Should unrelated PRs continue to gate on the named approval-grant, SecretRef owner-isolation, and upgrade suites? Retain sensitive PR coverage: Remove the named safety and upgrade suites from the exemption inventory while keeping the other audited deferrals.

Why: The routing is demonstrated, but choosing the acceptable pre-merge detection window for these contracts requires CI-owner intent.

Before merge

  • Resolve security concern: Delayed detection for security-boundary regressions - The exemption inventory removes approval-grant and SecretRef owner-isolation compositions from unrelated PR checks, allowing a cross-component regression to reach main before hourly validation exercises them.
  • Resolve merge risk (P1) - Unrelated PRs would no longer run the named approval-grant, SecretRef owner-isolation, and upgrade integration suites before merge. A cross-component regression could first surface in hourly main or release validation; that specific detection delay has no recorded CI-owner acceptance.
  • Complete next step (P2) - Have the CI owner decide whether the named safety and upgrade suites remain PR gates before merge.
  • Resolve maintainer decision - Resolve the maintainer decision shown above before merge.
  • Add data-model compatibility proof - Confirm migration or upgrade compatibility proof before merge.

Findings

  • [medium] Delayed detection for security-boundary regressions — scripts/lib/ci-proof-test-inventory.mts:212
Agent review details

Security

Needs attention: The diff adds no runtime authority or dependency source, but delays pre-merge checks for approval and secret-isolation contracts.

PR surface

Tests +193, Docs +25, Config +15, Other +1032. Total +1265 across 22 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 11 216 23 +193
Docs 2 26 1 +25
Config 1 18 3 +15
Generated 0 0 0 0
Other 8 1461 429 +1032
Total 22 1721 456 +1265

Review metrics

Metric Value Why it matters
CI tooling and test growth tooling/workflow +1,047 net lines; tests +193 net lines The tooling growth primarily implements the explicit inventory and source-watch routing, with no product-runtime code added.
Deferred PR workload 194 live files; 6,551.933 summed reported test-seconds This measures the coverage moved off unrelated PRs, not workflow wall-time savings.

Stored data model

Persistent data-model change detected: migration/backfill/repair: scripts/lib/ci-proof-test-inventory.mts. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Keep named suites on PRs (recommended)
    Retain pre-merge selection for the approval, secret-isolation, and upgrade suites while deferring the remaining audited files.
  2. Own the detection delay
    A CI owner can explicitly accept hourly detection for those suites after reviewing their pre-merge role.

Technical review

Best possible solution:

Keep the shared exemption planner, while retaining the named safety and upgrade suites as PR gates unless the CI owner explicitly accepts their hourly detection window.

Do we have a high-confidence way to reproduce the issue?

Not applicable as a bug reproduction: this is a CI scheduling change. The pinned routing test and the PR's execution account establish concrete selection scenarios.

Is this the best way to solve the issue?

Unclear until the CI owner sets the pre-merge coverage bar for the named sensitive suites. The shared inventory and selection predicate otherwise fit the existing planner.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 123b1a900b5a.

Labels

Label changes:

No label changes.

Label justifications:

  • P2: This is a bounded CI efficiency improvement with a significant coverage-policy choice, rather than an urgent product regression.
  • merge-risk: 🚨 automation: Merging changes which integration failures can block an unrelated PR before hourly main validation runs.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🐚 platinum hermit and patch quality is 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Sufficient (terminal): The PR body ties the changed CI planner and inventory to source-verified Linux Testbox selection checks and a production shard-runner replay after the routing repair, reporting PR omission, hourly and release retention, and successful execution. The linked lease workflow ended canceled and its detailed logs were unavailable here; the matching captured body provides the terminal results. No stored-data contract changes.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body ties the changed CI planner and inventory to source-verified Linux Testbox selection checks and a production shard-runner replay after the routing repair, reporting PR omission, hourly and release retention, and successful execution. The linked lease workflow ended canceled and its detailed logs were unavailable here; the matching captured body provides the terminal results. No stored-data contract changes.

Evidence

Security concerns:

  • [medium] Delayed detection for security-boundary regressions — scripts/lib/ci-proof-test-inventory.mts:212
    The exemption inventory removes approval-grant and SecretRef owner-isolation compositions from unrelated PR checks, allowing a cross-component regression to reach main before hourly validation exercises them.
    Confidence: 0.91

What I checked:

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Vincent Koc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Dallin Romney: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Record the CI owner's choice for the named sensitive suites; if PR coverage stays required, remove those entries from the exemption inventory and verify selection.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (5 earlier review cycles)
  • reviewed 2026-09-25T19:07:29.885Z sha 0a69dd0 :: blocked before merge. :: none
  • reviewed 2026-09-26T00:08:23.484Z sha b602546 :: blocked before merge. :: none
  • reviewed 2026-09-26T04:06:20.170Z sha 6fb688d :: blocked before merge. :: none
  • reviewed 2026-09-26T16:08:45.818Z sha 820a31a :: blocked before merge. :: none
  • reviewed 2026-09-26T23:41:23.627Z sha 3c51f42 :: blocked before merge. :: none

@steipete
steipete force-pushed the ci-burden/rv2-pr-exempt branch from 0a69dd0 to b602546 Compare September 25, 2026 23:59
@clawsweeper clawsweeper Bot added status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 26, 2026
@steipete
steipete force-pushed the ci-burden/rv2-pr-exempt branch from 820a31a to 3c51f42 Compare September 26, 2026 23:32
@steipete
steipete force-pushed the ci-burden/rv2-pr-exempt branch from 3c51f42 to 40af42c Compare September 27, 2026 00:02
@steipete
steipete merged commit e68cfe2 into main Sep 27, 2026
233 checks passed
@steipete
steipete deleted the ci-burden/rv2-pr-exempt branch September 27, 2026 00:17
MarMarLabs added a commit to MarMarLabs/openclaw that referenced this pull request Sep 27, 2026
35 upstream commits, including the Nextcloud Talk webhook move to Gateway
routes (openclaw#159067) and the slow integration test deferral (openclaw#158267). No
file outside the generated set changed on both sides.

Two conflicts, both generated: docs/.generated/config-baseline.sha256 and
src/config/bundled-channel-config-metadata.generated.ts. Both came from
upstream and were regenerated. config-baseline.counts.json auto-merged to
3748 because each side independently took the channel count from 3746 to
3748 (the branch's Feishu entries, upstream's Nextcloud Talk entries from
openclaw#159067, the only upstream commit on that file), and the real count with
both is 3750.

build:docker ran in a separate detached checkout of this commit outside the
nested node_modules install. Regenerating there changed those three files
and nothing else, giving core 2463, channel 3750, plugin 4349 as
predicted, a channel hash neither side had, and upstream's core and plugin
lines.
The three generated-file checks pass there. The lockfile did not move.
No test this branch moved was deleted upstream in this range.

Feishu: 105 files and 1850 tests in the extension project, 17 files and
319 tests in the database-workers project, all 122 Feishu test files on
disk. The forwarder test and the routing guards pass, 1955 tests.
tsgo:core, tsgo:extensions, tsgo:extensions:test, tsgo:test:root, the
line-cap, max-lines and assertion-safety ratchets against upstream/main,
oxlint and oxfmt on the 42 changed code files all pass.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 27, 2026
)

* ci: defer slow integration tours from unrelated PRs

* fix(ci): keep shared runtime tests in their owning projects

* fix(ci): resolve PR-exempt inventory from the checkout
steipete added a commit that referenced this pull request Sep 27, 2026
Compare normalized literal inventory paths without compiling globs, and index
exhaustive PR-exempt ownership checks. Keep hourly/release uniqueness and
cover direct PR opt-in across the complete live inventory.

The census fell from 77.666 seconds alone to 7.193-7.748 seconds across 20
complete-file runs sharing two CPUs. Three full tooling runs, the complete
unit-fast-isolated config, changed-file gates, boundary lint, Knip, and P2
review passed. A seeded missing hourly entry failed naming the file.

Related: #158267
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 28, 2026
Compare normalized literal inventory paths without compiling globs, and index
exhaustive PR-exempt ownership checks. Keep hourly/release uniqueness and
cover direct PR opt-in across the complete live inventory.

The census fell from 77.666 seconds alone to 7.193-7.748 seconds across 20
complete-file runs sharing two CPUs. Three full tooling runs, the complete
unit-fast-isolated config, changed-file gates, boundary lint, Knip, and P2
review passed. A seeded missing hourly entry failed naming the file.

Related: openclaw#158267
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts size: XL status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant