Skip to content

test(runtime): remove low-value tests (batch d401) - #179728

Merged
steipete merged 25 commits into
mainfrom
tcr/land-d401-1792601959
Oct 21, 2026
Merged

steipete merged 25 commits into
mainfrom
tcr/land-d401-1792601959

Conversation

@steipete

@steipete steipete commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Reduces repeated test setup and duplicate owner-level proof in campaign batch d401.

User Impact

No user-visible behavior or product-runtime code changes. Distinct authority, persistence, lifecycle, transport, and UI behavior remains the retention boundary. Consolidated tests keep their existing owner suites; deleted suite inventory entries follow those moves.

Why This Change Was Made

Replayed 19 of the 30 requested commits, then rebased onto pinned main 5f299889540f0f683fe89f29f21f332da2e8610b to include the canonical serial-projection expectation repair. The replay preserves current main where old fixture refactors conflict. Eleven commits were skipped instead of overwriting newer tests or landing half of a source-to-destination consolidation.

Net diff: +7,248 / -11,132 lines (-3884) across 131 files. Product-runtime LOC: +0 / -0. Test/support LOC: +7,248 / -11,120 (includes the one-line UI ownership fixture classifier repair). CI test-routing and ratchet metadata: +0 / -12 (two inventory entries, two database-worker path entries for deleted suites, and eight obsolete mock-baseline entries). No direct CODEOWNERS-owned paths are changed.

Evidence

  • pnpm install --frozen-lockfile --prefer-offline: passed.
  • node_modules/.bin/oxfmt --write <existing changed files>: passed.
  • node_modules/.bin/oxlint -c .oxlintrc.json <existing changed TS/JS files>: exit 0.
  • git diff --check 5f299889540f0f683fe89f29f21f332da2e8610b: passed.
  • Per operator CI-only instruction, no local Vitest, check-changed, typecheck, coverage, or Testbox run. Local test wall time: not measured. Hosted openclaw/ci-gate is the runtime proof and merge gate; CI seconds will be available in its run.
  • The supplied shard reports explicitly say coverage was not run. There is no measured coverage totals line or verified <=1% coverage-drop claim. Their source counts are not executed results; this PR does not claim the campaign's 35% reduction target was achieved.
  • Initial three-pass autoreview returned 14 findings: eight accepted and repaired, six rejected after source verification. A follow-up review of the repair delta was scoped-clean at P0–P2. The one-line CI ownership classifier repair preserves the existing exact inventory assertion.
Per-shard replay evidence and exact changed files

Static declarations below use the campaign AST counter against pinned main and the repaired replay, scoped only to changed files (including deleted files as zero after). They are not runtime case counts. All LOC includes test support.

y0092

Test/support LOC: +559 / -689 (net -130); static declarations 82 → 82.

Coverage report: not run under CI-only mode; no measured statement/branch totals supplied.

  • test/scripts/ci-changed-lint.test.ts
  • test/scripts/ci-changed-node-test-plan.config-fallback.test.ts
  • test/scripts/ci-changed-node-test-plan.process-owners.test.ts
  • test/scripts/ci-changed-node-test-plan.selection.test.ts
  • test/scripts/ci-changed-node-test-plan.test-support.ts
  • test/scripts/ci-changed-type-graphs.test.ts
  • test/scripts/ci-check-plan.test.ts
  • test/scripts/ci-extension-lint-payload.test.ts
  • test/scripts/ci-extension-lint-plan.test.ts
  • test/scripts/pr-workflow-binding.test.ts
  • test/scripts/pr-worktree-owner.test-support.ts
  • test/scripts/pr-worktree-provision-error.test.ts
  • test/scripts/pr-worktree-state.test.ts
  • test/scripts/pr-wrappers.test.ts

y0095

Test/support LOC: +2338 / -3257 (net -919); static declarations 202 → 186.

Coverage report: not run under CI-only mode; no measured statement/branch totals supplied.

  • extensions/codex/src/app-server/approval-bridge.test.ts
  • extensions/codex/src/app-server/computer-use-cache.test.ts
  • extensions/codex/src/app-server/computer-use-marketplace.test.ts
  • extensions/codex/src/app-server/computer-use-service.test.ts
  • extensions/codex/src/app-server/computer-use-startup.test.ts
  • extensions/codex/src/app-server/computer-use.test-support.ts
  • extensions/codex/src/app-server/computer-use.test.ts
  • extensions/codex/src/app-server/config.test.ts
  • extensions/codex/src/app-server/request-authority.test.ts
  • extensions/codex/src/app-server/request.test.ts
  • extensions/codex/src/app-server/transcript-history-projection.test.ts
  • extensions/codex/src/app-server/transcript-mirror.test.ts
  • extensions/codex/src/app-server/transcript-mirror.visibility.test.ts
  • extensions/codex/src/app-server/turn-params.test.ts
  • extensions/codex/src/app-server/turn-router-lifecycle.test.ts
  • extensions/codex/src/app-server/turn-router.test.ts

y0097

Test/support LOC: +791 / -1361 (net -570); static declarations 133 → 119.

Coverage report: not run under CI-only mode; no measured statement/branch totals supplied.

  • src/auto-reply/reply/agent-runner.misc.runreplyagent.test.ts
  • src/auto-reply/reply/agent-runner.private-final.runreplyagent.test.ts
  • src/auto-reply/reply/agent-runner.stalled-turn.test.ts
  • src/auto-reply/reply/commands-abort-trigger.test.ts
  • src/auto-reply/reply/commands-acp.channels.test-support.ts
  • src/auto-reply/reply/commands-acp.controller.test.ts
  • src/auto-reply/reply/commands-acp.owner.test.ts
  • src/auto-reply/reply/commands-acp.test.ts
  • src/auto-reply/reply/commands-allowlist.test.ts
  • src/auto-reply/reply/commands-approve.test.ts
  • src/auto-reply/reply/commands-btw.test.ts
  • src/auto-reply/reply/commands-compact-context-budget.test.ts
  • src/auto-reply/reply/commands-compact.lifecycle.test.ts

y0098

Test/support LOC: +1199 / -2060 (net -861); static declarations 162 → 153.

Coverage report: not run under CI-only mode; no measured statement/branch totals supplied.

  • src/gateway/server-methods/chat-send-pending-inputs.test.ts
  • src/gateway/server-methods/chat-send-pre-admission.test.ts
  • src/gateway/server-methods/chat-send-profile-binding.test.ts
  • src/gateway/server-methods/chat-send-queued-identity.test.ts
  • src/gateway/server-methods/chat-send-steering-commit.test-support.ts
  • src/gateway/server-methods/chat-send-user-turn-family.test-support.ts
  • src/gateway/server-methods/chat-send-user-turn.audio-policy.test.ts
  • src/gateway/server-methods/chat-send-user-turn.audio.test.ts
  • src/gateway/server-methods/chat-send-user-turn.test.ts
  • src/gateway/server-methods/chat-startup-requester.test.ts
  • src/gateway/server-methods/chat-startup-short-reference.test.ts
  • src/gateway/server-methods/chat-transcript-persistence.generated-media.test.ts
  • src/gateway/server-methods/chat-transcript-persistence.mirrors.test.ts
  • src/gateway/server-methods/chat-webchat-acp-lifecycle.test.ts
  • src/gateway/server-methods/chat-webchat-media.test.ts
  • src/gateway/server-methods/chat.abort-authorization.test.ts
  • src/gateway/server-methods/chat.abort-cascade.test.ts
  • src/gateway/server-methods/chat.abort-cleanup-errors.test.ts
  • src/gateway/server-methods/chat.abort-errors.test.ts
  • src/gateway/server-methods/chat.abort-incarnation.test.ts
  • src/gateway/server-methods/chat.abort-persistence.test.ts
  • src/gateway/server-methods/chat.abort-registry.test-support.ts
  • src/gateway/server-methods/chat.abort-save-warning.test.ts

y0099

Test/support LOC: +335 / -708 (net -373); static declarations 139 → 127.

Coverage report: not run under CI-only mode; no measured statement/branch totals supplied.

  • extensions/browser/src/browser/act-policy.test.ts
  • extensions/browser/src/browser/cdp.helpers.test.ts
  • extensions/browser/src/browser/cdp.test.ts
  • extensions/browser/src/browser/client.test.ts
  • extensions/browser/src/browser/config.test.ts
  • extensions/browser/src/browser/control-auth.auto-token.test.ts
  • extensions/browser/src/browser/extension-install-atomic.test.ts
  • extensions/browser/src/browser/extension-install-fixture.test-support.ts
  • extensions/browser/src/browser/navigation-guard.test.ts
  • extensions/browser/src/browser/paths.test.ts

y0100

Test/support LOC: +638 / -664 (net -26); static declarations 19 → 19.

Coverage report: not run under CI-only mode; no measured statement/branch totals supplied.

  • ui/src/e2e/chat-real-gateway.test-support.ts
  • ui/src/e2e/chat-steer-deferred-custody.real-gateway.e2e.test.ts
  • ui/src/e2e/chat-stop-finished-run.real-gateway.e2e.test.ts
  • ui/src/e2e/chat-stop-owned-exec.real-gateway.e2e.test.ts
  • ui/src/e2e/chat-swarm-lifecycle.e2e.test.ts
  • ui/src/e2e/chat-thinking-metadata.real-gateway.e2e.test.ts
  • ui/src/e2e/chat-wait-clock.real-gateway.e2e.test.ts
  • ui/src/e2e/chat-wait-clock.real-gateway.test-support.ts
  • ui/src/e2e/chat-youtube-embed.e2e.test.ts
  • ui/src/e2e/new-session-page.agent-identity.e2e.test.ts
  • ui/src/e2e/new-session-page.cloud-startup.e2e.test.ts
  • ui/src/e2e/new-session-page.cloud-startup.recovery.e2e.test.ts
  • ui/src/e2e/new-session-startup-family.test-support.ts

y0101

Test/support LOC: +302 / -552 (net -250); static declarations 126 → 124.

Coverage report: not run under CI-only mode; no measured statement/branch totals supplied.

  • src/agents/agent-bundle-mcp-harness.test.ts
  • src/agents/agent-bundle-mcp-instructions-prompt.test.ts
  • src/agents/agent-bundle-mcp-manager.lifecycle.test.ts
  • src/agents/agent-bundle-mcp-manager.requester-connect.test.ts
  • src/agents/agent-bundle-mcp-manager.test-support.ts
  • src/agents/agent-bundle-mcp-runtime.test.ts
  • src/agents/agent-bundle-mcp-tools.materialize.test.ts
  • src/agents/agent-bundle-mcp-tools.request-boundary.test.ts
  • src/agents/agent-command-local.test.ts

y0103

Test/support LOC: +685 / -1192 (net -507); static declarations 41 → 33.

Coverage report: not run under CI-only mode; no measured statement/branch totals supplied.

  • src/gateway/server.config-policy-response.test.ts
  • src/gateway/server.config-security-policy.test.ts
  • src/gateway/server.goal-child-authority.product.test.ts
  • src/gateway/server.health-store-scheduling.test.ts
  • src/gateway/server.health.test.ts
  • src/gateway/server.hooks-admission.test.ts
  • src/gateway/server.mcp-auth-login.commit-effects.test-support.ts
  • src/gateway/server.mcp-auth-login.forced-effects.test-support.ts
  • src/gateway/server.mcp-auth-login.test.ts

y0104

Test/support LOC: +195 / -293 (net -98); static declarations 54 → 54.

Coverage report: not run under CI-only mode; no measured statement/branch totals supplied.

  • src/agents/subagents/registry/subagent-registry-task-replacement.test.ts
  • src/agents/subagents/registry/subagent-registry.announce-loop-guard.test.ts
  • src/agents/subagents/registry/subagent-registry.completed-followup-authority.test-support.ts
  • src/agents/subagents/registry/subagent-registry.completion-authority.test.ts
  • src/agents/subagents/registry/subagent-registry.lifecycle-retry-grace.e2e.test.ts
  • src/agents/subagents/registry/subagent-registry.persistence.resume.test.ts
  • src/agents/subagents/registry/subagent-registry.persistence.test-support.ts
  • src/agents/subagents/registry/subagent-registry.persistence.test.ts

y0105

Test/support LOC: +205 / -344 (net -139); static declarations 116 → 112.

Coverage report: not run under CI-only mode; no measured statement/branch totals supplied.

  • test/scripts/plugin-gateway-gauntlet.test.ts
  • test/scripts/plugin-index-sqlite.test.ts
  • test/scripts/plugin-lifecycle-measure.test.ts
  • test/scripts/plugin-npm-prepared-release.test.ts
  • test/scripts/plugin-npm-publication-readback.test-support.ts
  • test/scripts/plugin-npm-registry-readback.test.ts
  • test/scripts/plugin-prerelease-telegram-shards.test.ts
  • test/scripts/plugin-prerelease.test-support.ts
  • test/scripts/plugin-publication-artifact.test.ts
  • test/scripts/plugin-release-pretag-pack-check.process-tree.test.ts
  • test/scripts/plugin-release-pretag-pack-check.test.ts
  • test/scripts/plugin-update-consent-scenario.test.ts

y0096 and y0102

No replayed changes (whole shard commit skipped); LOC and declaration deltas are zero. Supplied reports also state coverage was not run.

Conflict resolution and skipped commits

Kept the pre-commit version of each file below; dropped that commit's entire file-level hunk, not current main's tests. All nonconflicting changes from these commits were kept.

  • 330caf6319137: extensions/codex/src/app-server/scheduled-app-authority.test.ts.
  • 8d641b71cc283: approval-bridge.test.ts, config.test.ts, elicitation-bridge.test.ts, scheduled-app-authority.test.ts under extensions/codex/src/app-server/.
  • 47acd530b76a1: config.test.ts, elicitation-bridge.test.ts, scheduled-app-authority.test.ts under the same Codex directory.
  • c54228e8dad17: agent-runner.private-final.runreplyagent.test.ts, agent-runner.runreplyagent.e2e.test.ts under src/auto-reply/reply/.
  • edcad20bdd2e5, 5a9824bfc8ee2: src/auto-reply/reply/agent-runner.runreplyagent.e2e.test.ts.
  • 86d1492f4d12f: test/scripts/ci-changed-node-test-plan.source-owners.test.ts, test/scripts/pr-worktree-provision.test.ts.
  • 61fe80748614a: cdp-reachability-policy.blocklist.test.ts, extension-install-external.test.ts, extension-install-layout.test.ts, extension-install.test.ts under extensions/browser/src/browser/.
  • 69f5a37fa0c5d: chat-transcript-disclosure-anchor.e2e.test.ts, chat-tts-supplement.real-gateway.e2e.test.ts, chat-video-gallery.e2e.test.ts, new-session-page.cloud-startup-failure.e2e.test.ts under ui/src/e2e/.
  • cbdb866d0f303: src/agents/agent-bundle-mcp-manager.capacity.test.ts.
  • 0fb202ff3ebd9: subagent-registry.archive.e2e.test.ts and subagent-registry.archive-cancellation.test-support.ts under src/agents/subagents/registry/; keep the existing support file.
  • 134d3e6d4ac05: src/gateway/server.config-patch.test.ts.
  • c600aec784e0f: test/scripts/plugin-prerelease-test-plan.test.ts.

Skipped in full:

  • 3bd50fbd597745c687a944ac1ea8d8e97cba6370: browser sibling moves conflict with current installation/CDP suites.
  • a2aec3af74839f63684d9177f7619ccaf2962aed: depends on the skipped browser consolidation and conflicts with current owner suites.
  • 43d6a5fa7283122a0b16b29f0a09872ab4511dd9: WhatsApp source/destination families changed on main; keep current lifecycle/transport coverage.
  • 19125a5c899db9516cd0f169231395bc6d066365: video consolidation conflicts with rewritten current gallery suite.
  • 813e9150cff2d5c22166f9c164b8d47b064f7b0e: depends on skipped UI consolidation and conflicts with current gallery/reconnect suites.
  • 8a75513b499d358b0402482e9e04ce1232667e61: MCP capacity destination rewritten; preserve current capacity and source suites together.
  • c68e977dfcdf9d3620c183936464bd227c7b85c9: depends on skipped MCP consolidation and conflicts with current runtime/materialization suites.
  • 1df79c1381c22d1079ef5fbd909a1be2b417731e: archive/persistence lifecycle consolidation conflicts with current main.
  • b16b7eb32924ac061e80fc781139edbe3f77f27b: depends on skipped lifecycle consolidation; archive/persistence fixture conflicts.
  • dcbea267a24e1c5c1805f33033f7c81a3c1a30f9: prerelease source-to-destination merge conflicts with current planner suite.
  • d4885ca2cc42604e7d6914f56638229beff5be60: sidebar family rewritten and session-suite helper deleted on main; no resurrection.

Review Repairs and CI Diagnosis

Restored independent coverage for service/cache startup refresh, periodic auto-repair, device-token IDOR/scope escalation, standalone MCP ticket HTTP authorization, hooks allowlists, cross-device pairing approve/reject, same-run generated-media final-answer selection, and generated SDK evidence validation. The pairing source suite and its CI inventory entry are restored together; the consolidation destination is returned to main to avoid duplicate cases.

Rejected findings, with verified retained proof:

  • Tool helper default type: agent-bundle-mcp-stdio.test-support.ts declares inputSchema?: unknown; Omit<FixtureTool, "name"> has no required properties.
  • Planner no-consumer row: all three retained rows in ci-changed-node-test-plan.test.ts supply a string consumer; no undefined row remains.
  • Chrome MCP argument endpoints: unchanged cdp-reachability-policy.blocklist.test.ts covers split/equal HTTP/WebSocket flags, overriding CDP URLs, and default/strict policy.
  • Legacy allowlist cleanup: commands-allowlist.owner.test.ts retains real-store default-account removal and legacy cleanup with revocation interleavings; an extra mocked two-call assertion duplicates that owner proof.
  • Required-check API/pending cases: pr-merge-hosted.test.ts retains exact OR-list merge rejection for required-api-error and required-pending with no intent/dispatch.
  • Per-plugin deadline call-shape: plugin-release-pretag-pack-check.process-tree.test.ts retains real timeout tests plus two-plugin independent build/pack budgets with a supplied timeout.

Initial CI run 39640752675 found the batch-caused UI ownership guard failure in job 119364224225. The guard now recognizes createChatGatewayInstance, restoring all three suites' existing private-server classification without changing the inventory or weakening the assertion. No local runtime tests were run; fresh-head CI will verify the repair.

Fresh-head run 39642478789 confirmed the UI ownership repair and found a fixture mismatch in job 119370525852: the consolidated PR-validation fixture's fake GitHub CLI rejects the current writer-login command. Dropped all changes to test/scripts/pr-review-artifact-validation.test.ts, restoring the exact pinned-main version, including its API-error and pending-check rows. No fixture guard was bypassed or assertion weakened.

Run 39644216596 exposed five changed fingerprints for existing closed mocks. Added narrow mock-isolation ownership explanations to the existing cache/shared-client and ACP transport/runtime mocks; no baseline expansion or behavior change. Hosted review's marketplace precedence finding was accepted and restored in the consolidated startup suite. Its OIDC credential-scrubbing finding was accepted by dropping the entire plugin-npm-extended-stable-workflow.test.ts hunk; its periodic auto-repair finding was already repaired. Independent review of the marketplace/release restoration was scoped-clean at P0–P2.

The same run's planner expectation failure was fixed on main by 5f299889540f0f683fe89f29f21f332da2e8610b. Rebased onto that commit, preserving its serial-projection logic in the two overlapping planner fixture files. The unrelated duplicate PostgreSQL test-ownership failure is also present in hourly main job 119376938382; neither that test nor its conflicting owner configs is changed here.

Run 39649033454 found another worker-budget assertion failure in the consolidated planner suite (job 119393585055). Rather than guessing at changed fixture semantics under CI-only validation, dropped the entire ci-changed-node-test-plan.test.ts hunk and restored pinned main exactly; removed the five helper exports consumed only by that hunk. Independent review of this rollback was scoped-clean at P0–P2. The earlier no-consumer review rejection is now superseded by restoring the original suite.

The mock-isolation explanations passed the new-factory guard, but job 119393582905 required pruning eight obsolete grandfathered fingerprints. Removed precisely the eight entries listed by CI; no new exception was added. The same run also reported an unchanged chat-page-pending-retention.test.ts failure expecting Previous transcript; it has not been classified as inherited. Fresh-head CI must decide the repaired candidate, with no red-check waiver for that failure.

ClawSweeper's exact-review input scan refused the earlier patch with unclassified, unverified findings, so that automated review did not run. No scanner policy or safety hold was changed; the independent reviews above are separate evidence.

Run 39651207632 passed the restored planner suite, mock-baseline ratchets, and the previously failing UI shard. Hosted semantic lint found two now-unused trailing max-lines suppressions in the Codex config and ACP suites; removed them. Hosted type checks found the extracted lint fixture widening its fullGroups literal and the new prerelease helper missing expectDefined's required diagnostic label. The fixture now satisfies the actual owning function parameter type, and the helper supplies the label. Formatting/plain lint passed; independent review of all four edits was scoped-clean at P0–P2. No local typecheck or test was run. The duplicate PostgreSQL ownership error is still the exact hourly-main failure; it is not repaired or hidden by this batch.

@clawsweeper

clawsweeper Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review blocked

Automated 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.

View the workflow run.

@steipete
steipete enabled auto-merge (squash) October 21, 2026 17:06
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-21T19:01:38.991333Z 37f26cb New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui gateway Gateway runtime scripts Repository scripts agents Agent runtime and tooling extensions: codex extensions: browser size: XL labels Oct 21, 2026
@steipete
steipete disabled auto-merge October 21, 2026 17:11
@steipete
steipete enabled auto-merge (squash) October 21, 2026 17:17
@steipete
steipete disabled auto-merge October 21, 2026 17:28
@steipete
steipete enabled auto-merge (squash) October 21, 2026 17:29

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ffb3e20955

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

return { root, codexHome, reconcile };
}

it("selects the first installed desktop marketplace", async () => {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Restore first-installed marketplace coverage

When both ChatGPT and legacy Codex desktop marketplaces are installed, this was the only case proving that ordered candidate discovery selects the first marketplace and caches its plugin version. The remaining tests provide only one explicit marketplace, so reversing or bypassing candidate priority could silently install the older bundled plugin while the suite stays green; keep this ordered-selection case at the plugin-local catalog boundary.

AGENTS.md reference: extensions/AGENTS.md:L23-L23

Useful? React with 👍 / 👎.

timeoutMs: 60_000,
});
});

it.each([

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Restore periodic auto-repair coverage

When autoRepair is enabled and a scheduled health probe fails, this was the only health-monitor boundary test proving that the timer path reloads the MCP runtime and retries once. The readiness tests exercise repair directly but cannot catch the monitor dropping or overriding the option, which would leave periodic recovery inert while all remaining health tests pass.

AGENTS.md reference: AGENTS.md:L78-L78

Useful? React with 👍 / 👎.

Comment on lines 910 to 911
expect(publish.env?.NODE_AUTH_TOKEN).toBeUndefined();
expect(publish.env?.NPM_TOKEN).toBeUndefined();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep the OIDC credential-scrubbing contract covered

For the trusted-publisher route, these remaining assertions only prove that the step does not define token variables itself; removing the checks for unset NODE_AUTH_TOKEN NPM_TOKEN NODE_OPTIONS and the temporary NPM_CONFIG_USERCONFIG means inherited runner/job credentials or a user npmrc could reach npm publish without failing the workflow suite. The bootstrap route's checks do not cover this OIDC-only step, so retain these assertions or move them to the owner-level workflow test.

Useful? React with 👍 / 👎.

@steipete
steipete disabled auto-merge October 21, 2026 17:47
@steipete
steipete force-pushed the tcr/land-d401-1792601959 branch from 73403a6 to dc42c40 Compare October 21, 2026 18:01
@steipete
steipete enabled auto-merge (squash) October 21, 2026 18:01
@steipete
steipete disabled auto-merge October 21, 2026 18:12
@steipete
steipete enabled auto-merge (squash) October 21, 2026 18:16
@steipete
steipete disabled auto-merge October 21, 2026 18:50
@steipete
steipete enabled auto-merge (squash) October 21, 2026 18:57
@steipete

Copy link
Copy Markdown
Contributor Author

The remaining test failure on head 37f26cb196c7e77e077e58ad93f021c32d003e16 is pre-existing on main:

  • PR checks-node-compact-small-2-2: test/vitest-projects-config.test.ts → covers each normal full-suite test file exactly once after configs cached filtered includes reports extensions/memory-core/src/memory/manager-duplicate-chunks.postgres.test.ts owned by both test/vitest/vitest.infra.config.ts and test/vitest/vitest.extension-database-workers.config.ts.
  • The exact same test, assertion, and duplicate-owner pair failed in the completed scheduled hourly main run at d5621d9084887432c7637774d85de692ba8c5445: checks-node-compact-small-40, job 119376938382.

This PR changes neither the failing test, the PostgreSQL test, nor either conflicting owner configuration. Fresh main f739565380e007053bc20a0ccb211e1a412ebd05 has no subsequent change to those files. All other selected jobs passed on this exact head; the CI gate log identifies only the failing Node test family above. The earlier batch-caused type/lint failures are repaired and their exact-head jobs have passed. The final run completed in 1,315 seconds elapsed. This inherited-only failure is being handled under the authorized campaign landing exception; the main repair remains outside this batch.

@steipete
steipete merged commit 65e9aca into main Oct 21, 2026
150 of 154 checks passed
@steipete
steipete deleted the tcr/land-d401-1792601959 branch October 21, 2026 19:25
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 22, 2026
* test(codex): deslop y0095 tests

* test(codex): consolidate y0095 test families

* test(codex): share y0095 authority and transcript fixtures

* test(auto-reply): deslop y0097 tests

* test(auto-reply): consolidate y0097 family tests

* test(auto-reply): merge y0097 sibling suites

* test(scripts): share y0092 fixture and assertion setup

* test(browser): deslop y0099 tests

* test(gateway): deslop y0098 tests

* test(gateway): consolidate y0098 family fixtures

* test(gateway): consolidate transcript and abort proof

* test(ui): deslop y0100 tests

* test(agents): deslop y0101 tests

* test(subagents): deslop y0104 tests

* test(gateway): deslop y0103 tests

* test(gateway): consolidate y0103 owner coverage

* test(gateway): consolidate y0103 sibling suites

* test(scripts): deslop y0105 tests

* test(scripts): consolidate y0105 family proof

* test: retain boundary coverage and recognize shared UI fixture

* test: retain current PR validation fixture

* test: explain fixture-owned mock isolation

* test: retain marketplace and release authority coverage

* test: retain canonical planner suite and prune retired mock entries

* test: repair extracted fixture types and stale lint directives
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling app: web-ui App: web-ui extensions: browser extensions: codex gateway Gateway runtime scripts Repository scripts size: XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant