Repository navigation
refactor: clear repository lint warnings - #159133
Merged
Merged
Conversation
Split Cron creator transport and requester continuation coverage with shared fixtures, retaining all 15 tests and database-worker routing. Move Web Push command classification to its executor owner. Preserve behavior without suppressions or limit changes.
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
steipete
marked this pull request as ready for review
September 26, 2026 19:45
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Sep 27, 2026
Split Cron creator transport and requester continuation coverage with shared fixtures, retaining all 15 tests and database-worker routing. Move Web Push command classification to its executor owner. Preserve behavior without suppressions or limit changes.
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
Clears every warning found by the full repository lint census on main at
cafb3a4d1ca20380b770a02e5fb31296452d3a92, following the maintainer request to fix warnings too. Related: #159099 and #159102.src/gateway/server-methods/requester-cron-authority.integration.test.tseslint(max-lines)src/state/openclaw-state-worker-runtime.tseslint(max-lines)User Impact
No user-visible behavior change. The lint lanes are warning-free without suppressions, baseline changes, raised limits, or changelog edits. Schemas, database admission, transaction boundaries, and update behavior are unchanged.
Why This Change Was Made
Moves the complete creator-transport describe block into a sibling test file and shares its existing fixtures and transport helpers with the requester-continuation suite. Both files retain database-worker routing. Moves the existing Web Push command predicate to the Web Push executor owner, preserving all 13 command names, their ordering, and when the dispatcher opens the database.
Evidence
CI=true GITHUB_ACTIONS=true OPENCLAW_LOCAL_CHECK=0 pnpm lint --threads=8. Before: exactly the two warnings above and zero errors. After: all core/UI/packages, extensions, and scripts semantic/type-aware lint shards report 0 warnings and 0 errors; i18n verification and Stylelint pass.pnpm tsgo:allpasses without diagnostics. Candidate CI type lanes (pnpm tsgo:prod,pnpm check:test-types,pnpm tsgo:scripts) also pass without warnings or errors.--maxWorkers=1.pnpm check:import-cycles && pnpm check:madge-import-cycles: 0 cycles in both checks.node scripts/check-changed.mjspasses, including strict local lint, ratchets, types, unused-export scans, and boundary guards.requester-cron-authority.integration.test.tscron-creator-transports.integration.test.tsTimings include worker preparation and imports and were recorded during the repository audit; they are cost measurements, not a performance comparison. The retained integration cases exercise real admitted runs, Cron persistence, and CLI/embedded transport authority; no new cases, timers, or worker pins were added.
Hosted follow-through: CI run 36267170492 used the reviewed head
fd2bf6c93c1891025bcded5e49e80256323f532b. All nine hosted lint jobs passed, and every emitted lint summary reports 0 warnings and 0 errors. Hosted lint job walls were 64–349 seconds. GitHub merged immediately when squash auto-merge was requested, before this run completed.The overall historical run failed on newer main fixtures from #158776 and startup recovery: missing required Cron schedulers caused two typecheck stripes and seven Cron history cases to fail. These were outside this patch and absent from its audited base. The owning maintainer repairs landed as
0830a3fa459ab358e59ce7a5084f3bb5fcad971aandc0e6951d6f02d3eabd4bc13cf8e9fa9e77d290ac. On the latter main snapshot, independent follow-through verified the full lint pipeline at 0 warnings / 0 errors, both exact failed CI type-graph selections (ten graphs) without diagnostics, and all 13 cases across the three repaired fixtures. The old failed merge snapshot was not rerun. CI cancelled remaining test jobs after those fixture failures, so no successful hosted per-file timing is claimed for the moved tests.Merge verified:
a67cf7789b37c564b3db61ecce25bf297d195778is an ancestor of currentorigin/main, and all six changed files match the reviewed patch.