openclaw - 💡(How to fix) Fix [Bug]: v2026.4.7 release tag does not compile — TypeScript errors in model-selection.ts, commands-config.ts, acpx/runtime.ts [1 comments, 1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#63088Fetched 2026-04-09 07:58:44
View on GitHub
Comments
1
Participants
1
Timeline
2
Reactions
0
Author
Participants
Timeline (top)
closed ×1commented ×1

The v2026.4.7 release tag fails pnpm build out of the box due to pre-existing TypeScript errors in the following files:

  • src/agents/model-selection.ts
  • src/auto-reply/reply/commands-config.ts
  • extensions/acpx/src/runtime.ts

Root Cause

The v2026.4.7 release tag fails pnpm build out of the box due to pre-existing TypeScript errors in the following files:

  • src/agents/model-selection.ts
  • src/auto-reply/reply/commands-config.ts
  • extensions/acpx/src/runtime.ts

Code Example

git clone https://github.com/openclaw/openclaw.git
cd openclaw
git checkout v2026.4.7
pnpm install
pnpm build
RAW_BUFFERClick to expand / collapse

Summary

The v2026.4.7 release tag fails pnpm build out of the box due to pre-existing TypeScript errors in the following files:

  • src/agents/model-selection.ts
  • src/auto-reply/reply/commands-config.ts
  • extensions/acpx/src/runtime.ts

Steps to Reproduce

git clone https://github.com/openclaw/openclaw.git
cd openclaw
git checkout v2026.4.7
pnpm install
pnpm build

Build fails with TypeScript errors in the files listed above.

Expected Behavior

A release tag should represent a stable, buildable snapshot of the codebase. Users and downstream tooling that rely on release tags for stable builds (e.g. Docker builds, forks, CI pipelines pinned to a release) will encounter immediate failures.

Actual Behavior

pnpm build exits with TypeScript compilation errors before any user changes are made. The errors appear to be from in-progress refactors that were not fully completed before the tag was cut.

Impact

  • Anyone building from source against v2026.4.7 gets a broken build immediately
  • Downstream forks that rebase on release tags (rather than main) are affected
  • CI pipelines pinned to release tags will fail on clean installs

Note

This pattern was also observed in v2026.3.13 (see #46467). It would be worth adding a CI gate that validates pnpm build succeeds before a release tag is pushed.

extent analysis

TL;DR

The most likely fix is to update the v2026.4.7 release tag to resolve the pre-existing TypeScript errors in the specified files.

Guidance

  • Identify and fix the TypeScript errors in the files src/agents/model-selection.ts, src/auto-reply/reply/commands-config.ts, and extensions/acpx/src/runtime.ts to ensure a clean build.
  • Consider adding a CI gate to validate that pnpm build succeeds before a release tag is pushed to prevent similar issues in the future.
  • Review the changes made between v2026.3.13 and v2026.4.7 to understand the root cause of the errors and prevent regression.
  • Temporarily, users can try checking out a different release tag or the main branch to build the project successfully.

Example

No code snippet is provided as the issue does not specify the exact errors or the required fixes.

Notes

The provided information does not include the specific TypeScript errors, so the exact fixes cannot be determined. The guidance is based on the assumption that resolving the TypeScript errors will fix the build issue.

Recommendation

Apply a workaround by checking out a different release tag or the main branch until the v2026.4.7 release tag is updated to resolve the TypeScript errors.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING