Skip to content

Conversation

@kraenhansen
Copy link
Collaborator

Merging this PR will add three options to ferric:

  • --verbose outputs more to the terminal while building
  • --concurrency puts a limit on the number of concurrent sub-command invocations
  • --clean deletes the target (build) directory before building

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds three new command-line options to the ferric build tool to improve developer experience and control over build processes:

  • --verbose enables detailed output from underlying compilers and tools
  • --concurrency limits parallel build tasks (defaults to CPU count)
  • --clean removes the target directory before building

Reviewed Changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
packages/ferric/src/cargo.ts Passes verbose flag to control cargo output mode and add target prefixes
packages/ferric/src/build.ts Implements all three new options with concurrency control and improved logging
packages/cli-utils/src/index.ts Exports p-limit for concurrency control
packages/cli-utils/package.json Adds p-limit dependency
.changeset/evil-pens-shop.md Documents cli-utils changes
.changeset/big-plums-write.md Documents ferric-cli changes

),
),
]),
{
Copy link

Copilot AI Nov 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The isSilent: verbose logic appears counterintuitive - when verbose mode is enabled, the spinner becomes silent. Consider renaming to make the relationship clearer, or add a comment explaining that verbose mode replaces the spinner with direct output.

Suggested change
{
{
// In verbose mode, direct output replaces the spinner, so we silence it.

Copilot uses AI. Check for mistakes.
@kraenhansen kraenhansen force-pushed the kh/ferric-verbose-concurrency-and-clean branch from 5678932 to ae899b1 Compare November 14, 2025 23:10
@kraenhansen kraenhansen force-pushed the kh/ferric-verbose-concurrency-and-clean branch from ae899b1 to 5d05e45 Compare November 14, 2025 23:12
@kraenhansen kraenhansen merged commit 441dcc4 into main Nov 14, 2025
9 checks passed
@kraenhansen kraenhansen deleted the kh/ferric-verbose-concurrency-and-clean branch November 14, 2025 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants