Repository navigation
chore(lint): clear 172 lint:all baseline violations in five batches - #118098
Conversation
|
Codex review: needs maintainer review before merge. Reviewed August 2, 2026, 4:35 PM ET / 20:35 UTC. ClawSweeper reviewWhat this changesThis PR removes mechanically safe lint-baseline violations across bundled plugins, application assets, CI action scripts, and test harnesses, while adding regressions for two behavior-sensitive corrections discovered during review. Merge readinessKeep this PR open for maintainer review. The prior MXC spawn-bridge finding and fake-plutil escaping finding are both repaired at the current head, and no new blocking defect was established; the branch is behind current Priority: P3 Review scores
Verification
How this fits together
flowchart LR
A[Repository source and test harnesses] --> B[Lint baseline findings]
B --> C[Mechanical cleanup branch]
C --> D[MXC sandbox launcher]
C --> E[Release and CI test fixtures]
D --> F[Sandbox process I/O bridge]
E --> G[Validation and release checks]
Before merge
Agent review detailsSecurityNone. PR surfaceSource +13, Tests +192, Config +6, Other +24. Total +235 across 73 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retain the mechanical lint cleanup and its two focused regressions, then rebase onto current Do we have a high-confidence way to reproduce the issue? Not applicable: the PR is primarily lint-baseline cleanup. The two behavior-sensitive repairs have focused source-level regression coverage, but this read-only review did not execute contributor code locally. Is this the best way to solve the issue? Yes. Awaiting the spawned sandbox result at the plugin launcher is the narrow owner-boundary repair, and preserving escaped metacharacters in the emitted fake parser fixes the fixture at its template-to-file boundary rather than compensating in callers. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against d4b96d98cfe8. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (2 earlier review cycles) |
|
Applied the fake-plutil finding, and it went one level deeper than the review noted: the escaping was broken on const escapedKey = key.replace(/[.*+?^${}()|[]\]/g, "\$&");— the class closes at the first Head |
|
Merged via squash.
|
* origin/main: feat(gateway): track event-loop degradation persistence and add concurrency benchmark (#118193) fix(config): preserve secret ownership when configuration rows move (#118149) fix(cron): deliver failure alerts after persistence (#118200) chore(lint): clear 172 lint:all baseline violations in five batches (#118098) perf(gateway): remove streaming hot-path rescans (#118192) test(gateway): use in-memory task registry (#118191) test(macos): fix three races in the bounded process suites (#118196) refactor(migrate-hermes): consolidate test fixtures (#118182) test(android): share Wear transport fixtures (#118177) test(ui): deduplicate control UI e2e setup (#118180) fix(plugins): unblock prerelease validation (#118103) test(cli): reduce redundant process launches (#118141) test(gateway): compact terminal observer fixtures (#118179) fix(agents): make requested threads sidebar-visible (#118073) test(plugins): canonicalize native resolver fixtures (#118174) test: deduplicate agent runner fixtures (#118176) refactor(policy): consolidate doctor test fixtures (#118173) fix(plugins): remove disabled channel plugin configuration on uninstall (#118127) refactor(matrix): consolidate monitor test fixtures (#118175)
…penclaw#118098) * chore(lint): clean Android-Linux app assets batch * chore(lint): clean setup-launcher-plugin batch * chore(lint): clean changelog-updater batch * chore(lint): clean QA-runtime-helper batch * chore(lint): clean script-tests batch * fix(mxc): await sandbox spawn before bridge selection * fix(test): make fake plutil metacharacter escaping survive the template hop
* origin/main: feat(gateway): track event-loop degradation persistence and add concurrency benchmark (openclaw#118193) fix(config): preserve secret ownership when configuration rows move (openclaw#118149) fix(cron): deliver failure alerts after persistence (openclaw#118200) chore(lint): clear 172 lint:all baseline violations in five batches (openclaw#118098) perf(gateway): remove streaming hot-path rescans (openclaw#118192) test(gateway): use in-memory task registry (openclaw#118191) test(macos): fix three races in the bounded process suites (openclaw#118196) refactor(migrate-hermes): consolidate test fixtures (openclaw#118182) test(android): share Wear transport fixtures (openclaw#118177) test(ui): deduplicate control UI e2e setup (openclaw#118180) fix(plugins): unblock prerelease validation (openclaw#118103) test(cli): reduce redundant process launches (openclaw#118141) test(gateway): compact terminal observer fixtures (openclaw#118179) fix(agents): make requested threads sidebar-visible (openclaw#118073) test(plugins): canonicalize native resolver fixtures (openclaw#118174) test: deduplicate agent runner fixtures (openclaw#118176) refactor(policy): consolidate doctor test fixtures (openclaw#118173) fix(plugins): remove disabled channel plugin configuration on uninstall (openclaw#118127) refactor(matrix): consolidate monitor test fixtures (openclaw#118175)
What Problem This Solves
pnpm lint:allcarried 212 baseline violations across 77 files — noise that buries new findings and normalizes red lint output. This PR fixes the 172 mechanically-safe violations (category a) in five reviewable batches, leaving exactly 40 findings that need a maintainer lint-scope decision (category c: Android WebView postMessage bridge, IME keyCode 229 fallback, autoreview text-corpus fixtures,_meta/__typenameunderscore-dangle, boundary-guard fixtures) untouched.Why This Change Was Made
Follow-up hygiene from the plugin lifecycle refactor series. Each batch is one commit with its owning tests run: Android/Linux assets (14), setup-action/launcher/plugin (12), changelog-verifier + updater (33), QA/runtime/helpers (38), root/script tests (75). Behavior-sensitive spots were preserved deliberately: the MXC listener-attachment microtask boundary is retained, and updater restoration-failure precedence over build failures is retained.
User Impact
None at runtime — lint-mechanical changes only. Maintainers get a
lint:allsignal that is exactly the 40 intentionally-reserved findings.Evidence
pnpm lint:all: 212 → 40; remaining findings are all reserved category-(c) itemspnpm tsgoand all threepnpm tsgo:testsub-lanes pass post-rebase (onto1704ea59182)test/gateway-queued-session-rotation.e2e.test.tsfails a trace-count assertion at line 278 while this branch's only edit isvoid client.stop()at line 298 (after the failure);test/huggingface-local-app-openclaw.e2e.test.tsfails withLLM request failedat line 97 while this branch only adds braces to server-close Promise executors at lines 168/174. Both reproduce in isolation; imported local dependencies untouched.🤖 Generated with Claude Code