Repository navigation
test(gateway,outbound,scripts): remove low-value tests (batch d203) - #164976
Merged
Merged
Conversation
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. Automatic review is on hold, including after source changes. Request a fresh re-review after resolving the failure; maintainers can also release the hold through an intentional scanner-policy update. 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)
October 4, 2026 15:11
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 5, 2026
…penclaw#164976) * test(gateway): deslop v0020 tests * test(outbound): deslop v0024 tests * test(scripts): deslop v0029 tests * test(state,tui): deslop v0026 tests * test(scripts): deslop v0031 tests * test(scripts): deslop v0030 tests * test(scripts): deslop v0028 tests * test(scripts): deslop v0032 tests * test(scripts): deslop v0033 tests * test(plugins): deslop v0025 tests * test: preserve security guard and current test routing
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 d203 consolidates repeated fixtures and test declarations across Gateway, outbound delivery, state/TUI, plugins, logging, and maintenance scripts, and removes redundant low-value cases.
User Impact
No user-visible behavior changes. Tests and exclusive test support shrink by 5,276 lines net. The only production/tooling change makes the release-checklist dispatch-output parser private; its internal caller remains and no external callers exist.
Why This Change Was Made
The retained tests own directive handling, destination authority, account isolation, database integrity, lifecycle cleanup, redaction, plugin migration, release provenance, and test/build routing. Repeated variants share tables and fixtures instead of maintaining parallel setup. This is a bounded replay of ten previously validated campaign commits onto current main.
All ten commits applied in the supplied order. No cherry-pick conflicts or skipped commits. Review retained the original CodeQL workflow/config security guard from v0028 rather than deleting it. A one-line selector inventory correction follows main commit bb5656b, which moved run.inherited-auth-owner.test.ts to the infra owner. Current main's YAML parser import is retained in the release-checklist tests. No paths in this diff match the current CODEOWNERS inventory.
Evidence
Coverage below is historical in-shard before/after evidence, not a new whole-batch coverage measurement. All measured statement/branch losses stay within the campaign's 1% gate. These changes mainly consolidate declarations; they do not claim a 50% reduction in executed cases.
Per-shard files, LOC, declarations, and coverage
LOC and declaration counts describe each original shard comparison. Declarations count tables once; executed test cases are a different measure.
Original coverage report totals:
Coverage limitations: v0032 uses the supplemental passing repair-only baseline after a separate YAML-import repair, not its initially failed/excluded group. That repair is already present on current main; the replay removes 320 test lines net while the pre-repair report says 319. v0033's helper excludes test-support files, including the selector owner scripts/test-projects.test-support.mts, so aggregate instrumentation does not prove unchanged selector coverage. Its measured drops are in managed-child-process and vitest-cache-slots. A separate source audit found the selector scenarios and assertions preserved; the one removed cache-layout case remains covered by vitest-cache-slots.test.ts, test-projects-routing.test.ts, and test-projects-build-admission.test.ts. v0030 counts become 208 → 144 when POSIX test aliases are included.
Current replay diff: tests +8,236/−13,474 (net −5,238); exclusive test support +64/−102 (net −38); production/tooling +1/−1 (net zero). Total 23 files, +8,301/−13,577.