Repository navigation
test: consolidate redundant coverage (198756, part 1) - #198923
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesThis PR consolidates retained tests into existing suites and removes selected synthetic grading, repeated checks, and matching metadata. Example: Compare benchmark rows with timeoutSeconds values of 120 and 121.
Review scores
ProductKind: Test only · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this authorized test-only reduction repairs both prior findings, and no new actionable defect was found at the reviewed head. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe changed suites exercise browser routes, provider login, setup, reply diagnostics, Telegram model browsing, and benchmark evidence; synthetic inputs and isolated fixtures produce assertions consumed by CI. flowchart LR
A[Test scenarios] --> B[Existing shared fixtures]
B --> C[Production owners]
C --> D[Behavior assertions]
D --> E[Hosted CI]
F[Test inventory metadata] --> E
Technical reviewBest possible solution: Land the bounded consolidation once its required hosted validation succeeds. Do we have a high-confidence way to reproduce the issue? This PR requests test maintenance rather than a runtime bug fix; the review inspected source and history without executing target code. Is this the best way to solve the issue? The approved reduction uses existing owners and fixtures, preserves the restored caller regressions, and makes no equivalence or runtime-speedup claim for deliberate coverage cuts. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against f7c680434384. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests -1028, Other -3. Total -1031 across 13 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. Review metrics
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (6 earlier review cycles)
Reviewed November 18, 2026, 8:24 AM ET / 13:24 UTC (Revision 7). |
4611993 to
47c698c
Compare
|
@clawsweeper re-review Please review exact head |
|
@clawsweeper re-review Please review exact head The PR body includes all retained-path dispositions and completed local proof: 17 files, 404 passed, 3 explicitly Linux-only skips; both real Chromium suites ran. Review the full changed test bodies and their owners, including comparison identity/duplicate-row admission, unsupported-coordinate refusal and profile-catalog cleanup. Required hosted checks remain pending; this request does not authorize merging past findings. |
|
🦞👀 Re-review progress:
|
|
HOLD on exact head The exact-head ClawSweeper findings are confirmed: the reduction loses wizard-level import target-change/Back recovery and successful memory-choice persistence. The corresponding provenance requests remain open. Ready-head CI also failed its max-lines ratchet because the Local proof completed with 404 passes and three Linux-only skips, but it does not override these gaps. No third repair, rerun, or merge. Published source and the full per-file evidence remain available for a future authorized cycle. |
Baseline-Refresh: ae309e18657c66d1b5d8e652da58a1d10cd32061
|
@clawsweeper re-review Please review exact head The wizard import target-change/Back and confirmed-memory persistence cases are restored; the max-lines baseline is consistent with the current test body. All concrete browser/auth/wizard and collector/measurement gaps found by the fresh full-context reviews are restored, including direct-shell failure evidence. Existing test-support modules preserve original describe hooks and live fixtures. Local exact-head proof:17 files,443 passed,3 Linux-only skipped, all38 real Chromium cases executed; all12 scoped static/format/ratchet checks passed. Fresh8/8 complete-context autoreview passes and independent source/proof audit are clean. The updated body contains46 source/retention rows and precise intentional synthetic-grading/count/presentation removals. Production delta0; net1031 lines removed. Please include exact-head findings and rank-up moves. Required ready-head CI remains a separate gate; no merge until both gates pass. |
|
🦞👀 Re-review progress:
|
|
Merged via squash.
|
* test: checkpoint bounded coverage reduction below campaign floor * fix: refresh the reviewed correction baseline Baseline-Refresh: 052b48954da37567095fec73c73721daf4ac2384 * test: preserve benchmark comparison guards and clean trimmed fixtures * test: retain coordinate refusal and login catalog cleanup guards * fix: refresh the reviewed correction baseline Baseline-Refresh: ae309e18657c66d1b5d8e652da58a1d10cd32061 * test: restore wizard recovery and memory persistence coverage * test: retain browser navigation and workload identity guards * test: retain scoped capture and setup recovery guards * test: retain browser deadlines and provider choices * test: retain browser and onboarding execution guards * test: retain direct shell failure evidence Co-authored-by: Vincent Koc <[email protected]>
Reduces synthetic benchmark grading, repeated discovery/count checks and optional diagnostic presentation while retaining concrete authorization, privacy, lifecycle, persistence and failure guards. Actual collector, fixture, comparator and caller cases remain in existing suites. No production changes.
5479f614df371ee5bcb8b93b39aad29e7194e7b4; tree2e98c2e9d59a7b7a4a5b24743c2dc6f1ac4d382d; frozen main9d6f4a94adf50e6f8af2485868bc0b1e3e65f720.8b90f681candidate; they are not passing evidence for this head.Validation
Deliberate VALUE removals
Synthetic
evaluateGatewayMatrixTask/evaluateGatewayMatrixActivationgrading matrices are intentionally removed; no equivalence claim is made for those grading oracles. The real CLI/process/fixture paths, workload fingerprint, direct-shell error projection, unavailable versus measured-zero usage and comparator outcome distinctions remain tested. Browser null-policy optimization counts, auth guidance/diagnostic wording, repeated Telegram discovery and optional raw-trace presentation inventories are likewise intentional cuts.Per-file evidence
apps/android/app/src/test/java/ai/openclaw/app/chat/ChatControllerPermissionSelectionTest.ktapps/android/app/src/test/java/ai/openclaw/app/chat/RoomChatCommandOutboxTest.ktapps/android/app/src/test/java/ai/openclaw/app/ui/RootScreenFoldTest.ktapps/ios/Tests/IOSGatewayChatTransportTests.swiftapps/shared/OpenClawKit/Tests/OpenClawKitTests/ChatViewModelUnreadTests.swifttest/scripts/authorized-beta-focused-evidence.test.tstest/scripts/code-mode-matrix-gateway.test.tstest/scripts/codesign-mac-app.test.tstest/scripts/codex-install-assertions.test.tstest/scripts/install-cli.test.tstest/scripts/pr-baseline-proof.test.tstest/scripts/pr-metadata.test.tstest/scripts/verify-pr-hosted-gates.test.tsextensions/browser/src/browser/routes/agent.existing-session.test.tsextensions/browser/src/browser/routes/existing-session.test-support.tssrc/commands/models/auth.test.tssrc/commands/models/auth-authority.test-support.tssrc/wizard/setup.test.tssrc/wizard/setup.credentials.test-support.tssrc/auto-reply/reply/agent-runner.misc.runreplyagent.test.tssrc/auto-reply/reply/reply-run-registry.test.tssrc/auto-reply/reply/reply-run-registry.completion.cases.tssrc/auto-reply/reply/reply-run-registry.rekey.cases.tssrc/tui/tui-command-handlers.test.tssrc/tui/tui-command-forwarding.test-support.tssrc/tui/tui-command-handlers-test-support.tstest/e2e/qa-lab/runtime/telegram-model-picker-prepared-gateway.e2e.test.tstest/e2e/qa-lab/runtime/telegram-model-picker-native-cli-fixture.tstest/e2e/qa-lab/runtime/telegram-recovered-artifact.e2e.test.tsextensions/codex/src/app-server/run-attempt.context-engine.test.tsextensions/facetime/tests/audio-pump.test.tstest/scripts/plugin-npm-extended-stable-workflow.test.tsextensions/codex/src/app-server/compact.test.tsextensions/signal/src/monitor/event-handler.inbound-context.test.tssrc/commands/agent-via-gateway.test.tstest/scripts/find-reusable-release-validation.test.tstest/scripts/full-release-artifacts.test.tssrc/agents/tools/sessions-spawn-tool.test.tsextensions/memory-core/src/memory/index.test.tssrc/cli/plugins-cli.install.test.tssrc/commands/onboarding-plugin-install.test.tsextensions/qa-lab/src/codex-native-hook-pressure.e2e.test.tsextensions/telegram/src/send.history.test.tsapps/android/app/src/test/java/ai/openclaw/app/ui/GatewayConfigResolverTest.kttest/scripts/code-mode-model-matrix.gateway-evidence.test.tssrc/auto-reply/reply/agent-runner.misc.runreplyagent.test-support.tsMetadata accounting
config/ci-test-timings.jsonscripts/lib/ci-proof-test-inventory.mtsconfig/max-lines-baseline.txtconfig/test-mock-exports-baseline.txt,config/test-timeout-race-baseline.txt,package.json,scripts/test-projects.test-support.mts,test/vitest/vitest.commands-light-paths.mjs,test/vitest/vitest.database-worker-core-paths.mjs