Skip to content

fix(core): disable canvas provider group to avoid OHOS startup panic - #143

Merged
SWangHash merged 1 commit into
mainfrom
wc/bugfix
Jul 26, 2026
Merged

SWangHash merged 1 commit into
mainfrom
wc/bugfix

Conversation

@SWangHash

Copy link
Copy Markdown
Owner

The OHOS target cannot compile the canvas-runtime feature (oxc dependency). The core.canvas provider group is statically referenced by the product capability assembly and shared coding mode tools, so when canvas-runtime is disabled materialize_tool returns None for the canvas tools and create_product_tool_registry_from_plan panics at materialization.rs:89 on startup.

Comment out the Canvas capability pack and the shared coding mode append_provider_group_tools call for core.canvas so the provider group is never requested. This is a temporary measure until canvas-runtime can be conditionally enabled per target.

Summary

Fixes #

Type and Areas

Type:

Areas:

Motivation / Impact

Verification

Reviewer Notes

Checklist

  • This PR is focused and does not include secrets, temporary prompts, generated scratch files, or unrelated artifacts.
  • Relevant verification is recorded above, or skipped checks are explained.
  • User-facing strings, docs, and locales are updated where applicable.

The OHOS target cannot compile the canvas-runtime feature (oxc dependency).
The core.canvas provider group is statically referenced by the product
capability assembly and shared coding mode tools, so when canvas-runtime is
disabled materialize_tool returns None for the canvas tools and
create_product_tool_registry_from_plan panics at materialization.rs:89 on
startup.

Comment out the Canvas capability pack and the shared coding mode
append_provider_group_tools call for core.canvas so the provider group is
never requested. This is a temporary measure until canvas-runtime can be
conditionally enabled per target.
@SWangHash
SWangHash merged commit 6ba4890 into main Jul 26, 2026
0 of 2 checks 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