[PR #4433] [CLOSED] fix(wasm): identify rejected selected file arguments #6239

Closed
opened 2026-10-31 01:12:56 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/morluto/rea/pull/4433
Author: @Geoffwong94
Created: 10/16/2026
Status: ❌ Closed

Base: main ← Head: codex/fix-4201-wasm-selected-file-errors


📝 Commits (1)

  • 90d38c4 fix(wasm): identify rejected selected file arguments

📊 Changes

3 files changed (+103 additions, -4 deletions)

View changed files

📝 src/wasm/WabtArtifactProvider.test.ts (+86 -1)
📝 src/wasm/WabtArtifactProvider.ts (+14 -2)
📝 src/wasm/WabtFailures.ts (+3 -1)

📄 Description

Summary

Fixes #4201.

WASM artifact acquisition and UTF-8 decoding failures now retain the selected caller argument and array index. Primary module failures continue to use path; candidate and glue failures use candidate_paths / glue_paths with the original index.

Validation

  • npm ci
  • npm run test:focused -- src/wasm/WabtArtifactProvider.test.ts tests/boundary/mcp/wasmArtifactMcp.test.ts (32 passed)
  • GitHub #4201 reproduction replay: 8 CLI cases and 10 stdio MCP cases passed; inputs unchanged and temporary runtime cleaned
  • npm run check
  • git diff --check

Real WABT binaries, other operating systems, access-denied and changing-file variants were not run. The PR remains draft for maintainer review and human readiness.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/morluto/rea/pull/4433 **Author:** [@Geoffwong94](https://github.com/Geoffwong94) **Created:** 10/16/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `codex/fix-4201-wasm-selected-file-errors` --- ### 📝 Commits (1) - [`90d38c4`](https://github.com/morluto/rea/commit/90d38c4e9843c67e4fa9b1c6b0367de34e3139b4) fix(wasm): identify rejected selected file arguments ### 📊 Changes **3 files changed** (+103 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `src/wasm/WabtArtifactProvider.test.ts` (+86 -1) 📝 `src/wasm/WabtArtifactProvider.ts` (+14 -2) 📝 `src/wasm/WabtFailures.ts` (+3 -1) </details> ### 📄 Description ## Summary Fixes #4201. WASM artifact acquisition and UTF-8 decoding failures now retain the selected caller argument and array index. Primary module failures continue to use `path`; candidate and glue failures use `candidate_paths` / `glue_paths` with the original index. ## Validation - `npm ci` - `npm run test:focused -- src/wasm/WabtArtifactProvider.test.ts tests/boundary/mcp/wasmArtifactMcp.test.ts` (32 passed) - GitHub #4201 reproduction replay: 8 CLI cases and 10 stdio MCP cases passed; inputs unchanged and temporary runtime cleaned - `npm run check` - `git diff --check` Real WABT binaries, other operating systems, access-denied and changing-file variants were not run. The PR remains draft for maintainer review and human readiness. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 01:12:56 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
morluto/rea#6239
No description provided.