Repository navigation
fix: restore desktop standalone packaging on current build output - #198567
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review in progressClawSweeper is reviewing this revision. This supersedes any previous blocked status. |
steipete
marked this pull request as ready for review
November 14, 2026 01:57
Contributor
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
steipete
enabled auto-merge (squash)
November 14, 2026 02:08
Contributor
Author
|
Merged via squash auto-merge.
|
This was referenced Nov 14, 2026
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 14, 2026
…enclaw#198567) * fix: resolve standalone chunks from the package inventory * fix: locate standalone workspace programs by their current owner
maplel
pushed a commit
to maplel/openclaw
that referenced
this pull request
Nov 24, 2026
) * fix(build): isolate standalone native export resolution Capture package exports in a fresh instance of the build runtime so earlier bundling cannot exhaust the resolver state used to build the native lookup table. Verify ambiguous missing entries independently and fail before publishing an incomplete artifact. * test: reconcile standalone regression allocation with CI base * test: share standalone native fixture setup (cherry picked from commit 00a9c52) Release adaptation: Exact fresh-process resolver/finalizer and unnamed-owner filtering; kept existing standalone test fixtures rather than importing broad refactor. Later parser-target fix bdfd1c0 and fixture cleanups independent/out of scope. No compiler/dependency/version changes. Follow-up dispositions: d44f263 fix(test): retain standalone fixtures after cleanup failure (openclaw#202227); 1aced63 fix(test): retain standalone resolver fixtures after cleanup failure (openclaw#201662); bdfd1c0 fix: retain minified lazy parser targets in standalone builds (openclaw#198639); 5f99927 fix: restore desktop standalone packaging on current build output (openclaw#198567) Validation: Baseline resolver regressions 2/2 failed with actual missing alias and swallowed error; candidate resolver+existing native tests 30/30 passed under pinned test runtime; node --check and diff --check passed. Full large standalone distribution build not run. Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit b305470dfd611795999ecbee9d5d14c172e58484) (cherry picked from commit 63a60fa78bba92bec04a43a1686b78d896a6d887)
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
Fixes desktop standalone packaging failing on the current build output before it reaches executable compilation.
User Impact
Standalone packaging can select the current runtime chunks and capture its fixed workspace programs consistently.
Why This Change Was Made
Chunk selection sent every relative-looking literal, including ordinary strings such as
.and.sqlite, through native filesystem resolution and exhausted Bun's resolver storage. Reuse the existing package-inventory CommonJS resolver, preserving extensionless files, directory indexes, and package main entries while preventing unrelated build-host files from changing retention.The next packaging stage still searched an old
workspace-manifest-*filename for the workspace-path-exclusions program. Remove that exception so it uses the current owner filename, like the other fixed programs.Evidence
The repaired selector produces the same 19,647-file selection as the original algorithm under Node and completes under Bun where the original panics. Its regression test fails before the fix because an unlisted manifest changes retention. The three code-generation fixtures reproduce the missing-owner failure before the filename correction and pass after it; the real staged output captures all six fixed programs with no residuals.
All 76 affected packaging tests pass. Targeted core, tooling and gateway typechecks, lint and formatting pass. Independent review found no actionable issues. The full normal build also passes on the final candidate. The stock compiler now reaches native AOT compilation, where it independently panics in
Loweron the LinkeDOM/CSSOM chunk; this PR does not claim to repair that compiler failure. Carried-compiler qualification continues separately. Exact-head CI remains required before landing.