Skip to content

Conversation

@moliholy
Copy link
Collaborator

Commands previously returned types that were meant to be exclusively used for telemetry. However, telemetry now displays the resulting JSON-serialized command, and those outputs are totally ignored. This PR simply intends to clean all that up.

@moliholy moliholy requested a review from AlexD10S November 10, 2025 14:40
@moliholy moliholy self-assigned this Nov 10, 2025
@codecov
Copy link

codecov bot commented Nov 10, 2025

Codecov Report

❌ Patch coverage is 31.34328% with 46 lines in your changes missing coverage. Please review.
✅ Project coverage is 76.88%. Comparing base (fb192eb) to head (56fb76f).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
crates/pop-cli/src/commands/mod.rs 0.00% 23 Missing ⚠️
crates/pop-cli/src/commands/install/mod.rs 0.00% 5 Missing ⚠️
crates/pop-cli/src/commands/up/mod.rs 37.50% 3 Missing and 2 partials ⚠️
crates/pop-cli/src/commands/test/mod.rs 63.63% 3 Missing and 1 partial ⚠️
crates/pop-cli/src/commands/build/mod.rs 75.00% 3 Missing ⚠️
crates/pop-cli/src/commands/test/contract.rs 0.00% 3 Missing ⚠️
crates/pop-cli/src/commands/new/chain.rs 0.00% 2 Missing ⚠️
crates/pop-cli/src/commands/new/contract.rs 66.66% 1 Missing ⚠️
@@            Coverage Diff             @@
##             main     #726      +/-   ##
==========================================
- Coverage   77.04%   76.88%   -0.17%     
==========================================
  Files         111      110       -1     
  Lines       25433    25215     -218     
  Branches    25433    25215     -218     
==========================================
- Hits        19595    19386     -209     
+ Misses       3773     3764       -9     
  Partials     2065     2065              
Files with missing lines Coverage Δ
crates/pop-cli/src/main.rs 75.75% <ø> (-12.82%) ⬇️
crates/pop-cli/src/commands/new/contract.rs 77.90% <66.66%> (ø)
crates/pop-cli/src/commands/new/chain.rs 50.47% <0.00%> (ø)
crates/pop-cli/src/commands/build/mod.rs 84.57% <75.00%> (-0.30%) ⬇️
crates/pop-cli/src/commands/test/contract.rs 0.00% <0.00%> (ø)
crates/pop-cli/src/commands/test/mod.rs 61.53% <63.63%> (+0.34%) ⬆️
crates/pop-cli/src/commands/install/mod.rs 42.01% <0.00%> (+0.28%) ⬆️
crates/pop-cli/src/commands/up/mod.rs 71.87% <37.50%> (ø)
crates/pop-cli/src/commands/mod.rs 69.03% <0.00%> (+1.03%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Collaborator

@AlexD10S AlexD10S left a comment

Choose a reason for hiding this comment

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

LGTM!

@moliholy moliholy merged commit 053942b into main Nov 11, 2025
24 checks passed
@moliholy moliholy deleted the refactor/command-returns branch November 11, 2025 14:14
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.

3 participants