Skip to content

接入可重建的 Dart WASM 语法候选 - #26

Merged
loong10k merged 1 commit into
mainfrom
feat/rust-hook-prompt-guidance
Sep 29, 2026
Merged

loong10k merged 1 commit into
mainfrom
feat/rust-hook-prompt-guidance

Conversation

@loong10k

Copy link
Copy Markdown
Contributor

CodeGraph's pinned Dart WASM could not load in the Rust worker because its external scanner import was unresolved. This change rebuilds the parser and real scanner from the pinned upstream commit, applies a byte-pinned WASI import adaptation, and registers Dart as an unqualified grammar candidate. grammar status now distinguishes the original CodeGraph source hash from the rebuilt input and worker asset hashes; it reports 23/32 candidates and 0 released syntax capabilities.

The rebuild script reproduces both WASM byte sequences. The pinned upstream corpus has 150 cases whose error classifications match; Rust loader and isolated-worker tests pass without claiming a clean lint result. Parent worker startup now verifies only the selected grammar, removing full-catalog hashing from each single-file observation. CI runs the Dart corpus and loader tests.

Validation: cargo test --locked --workspace --all-features -- --test-threads=1 passed (1146 passed, 106 ignored); targeted grammar/worker tests, Clippy, formatting, OpenSpec strict validation and manifest schema validation passed. A parallel full-suite run still hit two existing Maven probe tests' fixed two-second timeout under load; the isolated Maven probe suite passed. Dart native differential testing, public lint dart, host feedback and release qualification remain outstanding.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-29T12:08:10.550803Z 50eace7 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@loong10k
loong10k merged commit 8c48203 into main Sep 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant