dfinity / dfinity/sdk

Building frontend activates `moc`

Open
#3,579 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

needs-triage
Dominant language
Rust
Stars
204
Forks
98
PR merge metrics
No merged PRs in 30d

Description

Something is wrong.

I see in the terminal:

$ dfx deploy frontend
...
Building frontend...

and in the same time have 100% (one core) allocated to moc process.

How is compiling with .moc related to the frontend? At least, why does this building takes enormous time?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the behavior with dfx deploy frontend, then trace the frontend build path that starts the moc process. Identify why that process is involved and whether it accounts for the long build; done means the cause is explained and the frontend deployment no longer performs unintended or excessively long work.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.