Skip to content

test(ci): drop owner tests deleted by #204031 from routing lists - #204065

Merged
obviyus merged 1 commit into
mainfrom
fix/ci-plan-deleted-owner-tests
Nov 23, 2026
Merged

obviyus merged 1 commit into
mainfrom
fix/ci-plan-deleted-owner-tests

Conversation

@obviyus

@obviyus obviyus commented Nov 23, 2026

Copy link
Copy Markdown
Collaborator

Three tooling tests pass again: the CI test-routing lists no longer name two test files that #204031 deleted.

Part of #204008.

Problem

#204031 (merged 10:41 UTC) deleted src/auto-reply/reply/commands-allowlist.owner.test.ts and commands-plugins.owner.test.ts. The database-worker route list and the PR-exempt runtime inventory still named them, so three tooling tests fail on scheduled main (run 45165162201):

  • ci-node-test-plan.test.ts "covers every infra test exactly once across split shards" (small-16): the shards list the two missing files.
  • database-worker-registry.test.ts "routes only existing test files" (small-21).
  • ci-changed-node-test-plan.source-owners.test.ts "retains affected owner tests for src/channels/message-access/operator-authority.test-support.ts" (small-19): it expected the deleted file.

Solution

Remove the two paths from test/vitest/vitest.database-worker-core-paths.mjs and scripts/lib/ci-proof-test-inventory.mts, and from the two test expectations that pinned them. No other entry changes.

Evidence

  • main e6b910b locally: the infra-shard coverage case fails with the same two extra files as CI.
  • This branch: ci-node-test-plan.test.ts, ci-changed-node-test-plan.source-owners.test.ts, database-worker-registry.test.ts all pass (264 + 12 tests).

- The database-worker route and PR-exempt inventory still named two deleted files.

Co-authored-by: obviyus <[email protected]>
@clawsweeper

clawsweeper Bot commented Nov 23, 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 scripts Repository scripts size: XS labels Nov 23, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 23, 2026
@clawsweeper

clawsweeper Bot commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR removes references to two intentionally deleted owner tests from CI routing inventories and test expectations.

Example: Scheduled CI validates the database-worker test registry.

  • Before: The registry names commands-allowlist.owner.test.ts and commands-plugins.owner.test.ts even though both files were deleted.
  • After: The registry stops scheduling those missing files while retaining its existence and duplicate-route checks.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A minimal, source-verified tooling repair with focused validation and no actionable findings.
Proof confidence 🐚 platinum hermit (4/6) This tooling-only inventory repair requires no shipped-product demonstration; focused test results are reported in the PR and supported by passing exact-head CI checks.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Contributors and maintainers see scheduled tooling checks fail because CI inventories still name deleted tests.
Reason: The maintainer-authored repair restores an existing contract and follows the intentional test retirement without changing runtime behavior.

Merge readiness

✅ Ready for maintainer review

Keep this PR open: it fixes stale test-routing references still present on current main, and all five deletions serve that repair. No actionable defects were found.

Priority: P2
Reviewed head: 6693413b39aa24272fbed0c07dbdce5664563836

Before merge

None.

Findings

None.

Agent review details

How this fits together

The test-routing inventories feed CI shard planning and Vitest selection; their consumers turn repository test paths into executable test groups.

flowchart TD
  A[Repository test files] --> B[Database worker registry]
  A --> C[Runtime proof inventory]
  B --> D[CI shard planner]
  C --> D
  D --> E[Vitest test groups]
  B --> F[Routing contract tests]
  D --> F
Loading

Technical review

Best possible solution:

Land the existing minimal removal of obsolete paths while preserving the routing contract checks.

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

Current-main source deterministically supplies nonexistent paths to the unchanged existence and shard-coverage assertions; this read-only review ran no tests.

Is this the best way to solve the issue?

Removing the obsolete inventory entries and expectations restores the existing routing invariant without adding filters, alternate owners, or test scaffolding.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against f595f0237a35.

Provenance checked

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

  • Exact introduced change: The pinned introduction diff contains only five deletions removing obsolete paths from the two inventories and two expectations; the verified synthetic merge has the same four-file scope. (6693413b39aa)
  • Current main still needs the repair: Current main retains all five references, while git ls-tree shows neither referenced test file exists. (test/vitest/vitest.database-worker-core-paths.mjs:639, f595f0237a35)
  • Intentional upstream deletion: refactor(auto-reply): drop the mid-command owner re-check #204031 explicitly retired both files because they tested mid-command authority rechecks; its merge commit confirms both deletions. (5721527938d6)
  • Failure mechanism and retained guards: createInfraSplitShards appends the database-worker registry directly to storage-state shards; the unchanged coverage test compares those paths against discovered files, and the registry test independently rejects missing paths. (scripts/lib/ci-node-test-plan.mts:2215, 6693413b39aa)
  • Validation evidence: The PR reports the infra coverage failure before the fix and passing focused planner and registry suites afterward. Exact-head GitHub checks show no failed checks; darwin remains in progress. (6693413b39aa)
  • Review policy and source history: The root, scripts, and test AGENTS.md files were read and applied, along with simplification steps 1–3; no maintainer-notes directory exists in this checkout. History identifies Peter Steinberger's routing design and Vincent Koc's recent inventory maintenance. (scripts/lib/ci-proof-test-inventory.mts:4075, f595f0237a35)

Likely related people:

  • Peter Steinberger: Raw commit 6a50179 adds scripts/lib/ci-proof-test-inventory.mts:4656 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 6a501796576d; files: scripts/lib/ci-proof-test-inventory.mts)
  • Vincent Koc: Raw commit b62eec8 adds scripts/lib/ci-proof-test-inventory.mts:1377 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: b62eec8f6587; files: scripts/lib/ci-proof-test-inventory.mts)

PR surface

Tests -4, Other -1. Total -5 across 4 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 3 0 4 -4
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 0 1 -1
Total 4 0 5 -5

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

  • add P2: Stale routing entries break scheduled validation without establishing a user-facing runtime outage.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P2: Stale routing entries break scheduled validation without establishing a user-facing runtime outage.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 23, 2026, 8:11 AM ET / 13:11 UTC.

@obviyus
obviyus merged commit d5c2a45 into main Nov 23, 2026
132 checks passed
@obviyus
obviyus deleted the fix/ci-plan-deleted-owner-tests branch November 23, 2026 13:13
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 24, 2026
…sts (openclaw#204065)

Three tooling tests pass again: the CI test-routing lists no longer name two test files that openclaw#204031 deleted.

Part of openclaw#204008.

## Problem

openclaw#204031 (merged 10:41 UTC) deleted `src/auto-reply/reply/commands-allowlist.owner.test.ts` and `commands-plugins.owner.test.ts`. The database-worker route list and the PR-exempt runtime inventory still named them, so three tooling tests fail on scheduled `main` (run 45165162201):

- `ci-node-test-plan.test.ts` "covers every infra test exactly once across split shards" (small-16): the shards list the two missing files.
- `database-worker-registry.test.ts` "routes only existing test files" (small-21).
- `ci-changed-node-test-plan.source-owners.test.ts` "retains affected owner tests for src/channels/message-access/operator-authority.test-support.ts" (small-19): it expected the deleted file.

## Solution

Remove the two paths from `test/vitest/vitest.database-worker-core-paths.mjs` and `scripts/lib/ci-proof-test-inventory.mts`, and from the two test expectations that pinned them. No other entry changes.

## Evidence

- `main` e9a29ff locally: the infra-shard coverage case fails with the same two extra files as CI.
- This branch: `ci-node-test-plan.test.ts`, `ci-changed-node-test-plan.source-owners.test.ts`, `database-worker-registry.test.ts` all pass (264 + 12 tests).

Co-authored-by: Ayaan Zaidi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant