Skip to content

fix(ci): resolve code mode matrix lint failure - #115674

Merged
RomneyDa merged 1 commit into
mainfrom
codex/fix-code-mode-model-matrix-oxlint
Jul 29, 2026
Merged

RomneyDa merged 1 commit into
mainfrom
codex/fix-code-mode-model-matrix-oxlint

Conversation

@RomneyDa

Copy link
Copy Markdown
Member

What Problem This Solves

Resolves a CI lint failure in the code-mode model matrix script. The promise rejection callback parameter is inferred as any, violating the repository lint rule.

Why This Change Was Made

Types the callback parameter as unknown, retaining the existing ENOENT handling while satisfying the lint contract.

User Impact

No runtime user impact. CI can lint this script without the pre-existing failure.

Evidence

  • git diff --check passed.
  • The local oxlint binary is unavailable in this linked worktree, so the focused lint command could not run locally.
  • The failure was reproduced independently on main in Actions run 30427671741 before the unrelated Telegram workflow change.

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: XS maintainer Maintainer-authored PR labels Jul 29, 2026
@RomneyDa
RomneyDa merged commit 7a8df49 into main Jul 29, 2026
99 of 104 checks passed
@RomneyDa
RomneyDa deleted the codex/fix-code-mode-model-matrix-oxlint branch July 29, 2026 06:25
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 29, 2026
@yu-xin-c

Copy link
Copy Markdown
Contributor

Follow-up from downstream CI on current main (0babd1a73f): two issues from the code-mode matrix change still fail unrelated PR checks.

  1. pnpm format:check reports scripts/code-mode-model-matrix.ts; the typed .catch((error: unknown) => { callback needs the repository formatter layout. I reproduced this directly against a detached current-main worktree.
  2. test/extension-test-boundary.test.ts reports test/scripts/code-mode-model-matrix.test.ts importing ../../extensions/qa-lab/api.ts, violating the bundled-plugin test boundary.

Example downstream run: https://github.com/openclaw/openclaw/actions/runs/30428444555 (check-docs and build-artifacts). The affected files are not part of that PR diff.

vincentkoc added a commit that referenced this pull request Jul 29, 2026
…ifecycle-hooks

* origin/main:
  fix(mattermost): key private channels as group on outbound routing (#96645)
  fix(ci): grant Telegram QA runtime scratch access (#115659)
  fix(telegram): stop retrying blocked recipients (#115640)
  fix(tts): persist generated speech in media store (#115647)
  fix(gateway): preserve complete streamed chat completions (#115652)
  fix(mac): prevent app auth from blocking node-host startup (#115533)
  fix(heartbeat): keep message-tool final replies private (#115629)
  fix(gateway): drain root work continuations before direct-stop process exit (#105848)
  fix(ollama): keep active streams within their idle timeout (#115648)
  fix(delivery): keep session keys out of inferred message targets (#115657)
  fix(ci): type code mode matrix catch callback (#115674)
  refactor(agents): centralize bundled CLI backend auth policy (#115633)
  refactor: remove 3,527 lines of runtime and test duplication (#115626)
  [AI] fix(doctor): stop repeated bundledDiscovery migration noise on beta (#115208)

# Conflicts:
#	scripts/code-mode-model-matrix.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR scripts Repository scripts size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants