Repository navigation
test(agents,gateway,plugins): remove low-value tests (batch d021) - #158919
Merged
Merged
Conversation
Remove duplicate matrices, strict-subset probes, and repeated local fixtures while retaining distinct plugin contracts. s134: 1568 to 1403 executed cases; 39606 to 37354 test lines. The full shard passes, as do focused lint-fix checks and check:changed. Canonical coverage comparison excludes the baseline-failing plugin group. The supplemental retained-data comparison gains 7 covered statements and 11 branches. The existing provider-onboard.connection test covers all nine dropped cold metadata bridge statements.
Trim redundant matrix rows and repeated inventory assertions, factor local fixtures, and replace a copied UI resolver with Gateway metadata assertions. Preserve distinct authorization, lifecycle, storage, migration, protocol, and ordering cases. Across this shard and its separate fixes: 1546 to 1243 executed cases and 37875 to 37054 test lines. The final ordinary run passed 1241 cases with the existing Active Memory readiness and reclamation timing failures. Both coverage attempts exclude the failed baseline group; raw retry coverage gained 32 statements and 32 branches, with no source losing more than five statements. Changed checks passed until three unchanged Telegram test-helper export findings; standalone lint passed. Quarantine assertions failed only in the first coverage run and passed both focused coverage and the full retry.
Retain newer main fixtures and auth-profile consumers, remove an unused test-helper export, and preserve heartbeat timer cleanup in the surviving relay test. Production code is unchanged from the batch base. Independent review is clean. Final timer-assertion proof and remaining plugin lint are blocked by repeated Testbox source-sync timeouts; the full changed gate also recorded two untouched baseline line-cap failures already fixed on main. No publication or merge is claimed.
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review blockedAutomated review did not run, so no review verdict was produced. Reason: The input-safety check rejected material in this revision. No detected value, path, or scanner output is reproduced here. ClawSweeper will not retry this unchanged revision. Next step: If this is a genuine credential, remove and rotate it. If it is an intentional test fixture, a maintainer must review and qualify it. |
steipete
enabled auto-merge (squash)
September 26, 2026 13:51
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Sep 27, 2026
…enclaw#158919) * test(agents): deslop s122 tests * test(process): deslop s136 tests * test(crabbox): deslop s138 tests * test(plugins): deslop s134 tests Remove duplicate matrices, strict-subset probes, and repeated local fixtures while retaining distinct plugin contracts. s134: 1568 to 1403 executed cases; 39606 to 37354 test lines. The full shard passes, as do focused lint-fix checks and check:changed. Canonical coverage comparison excludes the baseline-failing plugin group. The supplemental retained-data comparison gains 7 covered statements and 11 branches. The existing provider-onboard.connection test covers all nine dropped cold metadata bridge statements. * test(infra): deslop s131 tests * test(browser): deslop s137 tests * test(agent-core): deslop s144 tests * test(anthropic): deslop s143 tests * test(gateway): deslop s130 tests Trim redundant matrix rows and repeated inventory assertions, factor local fixtures, and replace a copied UI resolver with Gateway metadata assertions. Preserve distinct authorization, lifecycle, storage, migration, protocol, and ordering cases. Across this shard and its separate fixes: 1546 to 1243 executed cases and 37875 to 37054 test lines. The final ordinary run passed 1241 cases with the existing Active Memory readiness and reclamation timing failures. Both coverage attempts exclude the failed baseline group; raw retry coverage gained 32 statements and 32 branches, with no source losing more than five statements. Changed checks passed until three unchanged Telegram test-helper export findings; standalone lint passed. Quarantine assertions failed only in the first coverage run and passed both focused coverage and the full retry. * test(discord): deslop s147 tests * test: preserve current contracts in cleanup replay Retain newer main fixtures and auth-profile consumers, remove an unused test-helper export, and preserve heartbeat timer cleanup in the surviving relay test. Production code is unchanged from the batch base. Independent review is clean. Final timer-assertion proof and remaining plugin lint are blocked by repeated Testbox source-sync timeouts; the full changed gate also recorded two untouched baseline line-cap failures already fixed on main. No publication or merge is claimed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
Batch d021 of the maintainer-requested test-reduction campaign removes repeated assertions, copied fixtures, and redundant combinations that add maintenance cost without independent behavior proof.
User Impact
No user-visible behavior change. This is a test/support-only change: 247 paths, +2,916/-11,873 lines (net -8,957), and 277 fewer test declarations. Production code, configuration, baselines, and dependencies are unchanged.
Why This Change Was Made
Consolidate duplicate setup and equivalent cases while retaining owner-boundary coverage for authorization, lifecycle cleanup, delivery, networking, and plugin contracts. Remove two copied/wrapper-only suites whose behavior is covered by the real StepFun and browser route owners, and remove one newly unused test-helper export while keeping its locally used function.
Replay preserves newer main contracts. Earlier replay faults in context-window fixtures, session-agent resolution, and hook context expectations were resolved by retaining main's complete tests. The auth-profile barrel export remains because newer callers use it. The surviving relay heartbeat-loss case explicitly checks that timers are gone before disposal, so disposal cannot hide a retirement leak.
Recovery rebased onto
d4e7850dd56abcfb66ba8cda511378ff2f98c0da. Three avatar-test conflicts were adapted to main's async identity/avatar APIs; equivalent cleanup was retained, with no dropped hunks. The other ten commits are patch-identical to the previously reviewed candidate.Evidence
Earlier replay evidence: focused runs covered the selected files across completed runs; the final remaining 85-file run passed 1,389 tests. The changed-file gate passed typechecking and dead-export analysis before two untouched line-cap failures, subsequently fixed on main. The final pre-rebase review was scoped-clean through P2; one timer-cleanup finding was accepted and 41 retention concerns were adjudicated against remaining owner-boundary tests.
Historical coverage measurements belong to the campaign source revisions, not this rebased head. s136/s134 coverage was partial; s143/s130 did not produce passing coverage comparisons. No fresh whole-batch coverage claim is made.
Recovery validation on
a2722081751b6a0423f5ba13d8be55315bdfad01:git diff --check origin/mainpassed.extensions/signal/src/client-container.test.ts(1,050 counted lines; limit 1,000). This file and the lint/package inputs are byte-identical to fresh main6a58d377cba40daf48f1765d914ff5a6be7aedeb; direct lint reproduced the same failure on those main bytes. This is a pre-existing failure outside d021, and no limit or assertion was weakened.file sync failed: sync timed out after 2m0s. The full gate is therefore unverified on this rebased head. The maintainer recovery work order explicitly permits arming after this infrastructure failure with passing focused proof; hostedopenclaw/ci-gateremains authoritative. The confirmed current-main Signal lint failure above is the only completed validation failure.Testbox lease:
tbx_01m3evt4zwmjg2wnwt4ba3nyfv(stopped and verified completed); associated Actions run. Wrapper results above describe the actual payload; lease cleanup can cancel the enclosing Actions job.Hosted
openclaw/ci-gateremains the merge gate.Final hosted proof: CI run 36246481015 completed successfully on exact head
a2722081751b6a0423f5ba13d8be55315bdfad01, includingopenclaw/ci-gate. Two untouched UI E2E failures on attempt 1 passed on same-head attempt 2. The package-boundary job reached its 20-minute limit on attempt 2 after compiling all 125 targets; its targeted rerun passed in 14m47s on attempt 3 with no source, timeout, or assertion changes. Squash auto-merge completed asdebb7b048f57e76ca18f2fdf9b43322a4e0c36d8.