Skip to content

chore: remove duplicate model-readiness assertion - #129683

Merged
steipete merged 1 commit into
mainfrom
test-audit/model-readiness-duplicate
Aug 26, 2026
Merged

steipete merged 1 commit into
mainfrom
test-audit/model-readiness-duplicate

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

The model-provider readiness test repeated the same unchanged-DOM text assertion twice, adding maintenance noise without detecting another regression.

Why This Change Was Made

Remove the exact adjacent duplicate while retaining the first readiness-copy assertion and all distinct checks for the required state, hidden defaults, credential status, and recovery routing.

User Impact

No user-visible behavior changes. This only makes the existing test more focused.

Production LOC: +0/-0 | Tests: +0/-1

Evidence

  • Baseline: node scripts/run-vitest.mjs ui/src/pages/model-providers/view.test.ts — 36/36 passed.
  • Current exact head: node scripts/run-vitest.mjs ui/src/pages/model-providers/view.test.ts — 36/36 passed.
  • node scripts/check-changed.mjs -- ui/src/pages/model-providers/view.test.ts — passed.
  • Fresh autoreview: clean; no accepted/actionable findings.
  • git diff --check origin/main...HEAD — passed.

@clawsweeper

clawsweeper Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@openclaw-barnacle openclaw-barnacle Bot added the app: web-ui App: web-ui label Aug 25, 2026
@steipete
steipete marked this pull request as ready for review August 25, 2026 23:49
@openclaw-barnacle openclaw-barnacle Bot added size: XS maintainer Maintainer-authored PR labels Aug 25, 2026

Copy link
Copy Markdown
Contributor Author

Land-ready proof

Exact head: 9593e373b2eb75d22b4257d9a2813fda57cd48a8

  • Scope: removes one exact adjacent duplicate readiness-copy assertion; production behavior and code are unchanged.
  • Remaining proof: the first identical readiness-copy assertion plus the distinct required-state, hidden-defaults, credential-status, and click-routing assertions.
  • Focused test: node scripts/run-vitest.mjs ui/src/pages/model-providers/view.test.ts — 36/36 passed on the exact head (baseline was also 36/36).
  • Changed-file gate: node scripts/check-changed.mjs -- ui/src/pages/model-providers/view.test.ts — passed.
  • Fresh autoreview: clean; no accepted/actionable findings.
  • Exact-head CI: run 32912441278 — green, including openclaw/ci-gate.
  • LOC: production +0/-0; tests +0/-1.

@steipete
steipete merged commit 18ad0dd into main Aug 26, 2026
129 checks passed
@steipete
steipete deleted the test-audit/model-readiness-duplicate branch August 26, 2026 00:18

Copy link
Copy Markdown
Contributor Author

Merged via squash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui maintainer Maintainer-authored PR size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants