Skip to content

Conversation

@brice-stacks
Copy link
Contributor

Description

Preparing for epoch 3.4 to activate Clarity5. The implementation work is still in progress, and so is the SIP, but I wanted to get this part out of the way.

Applicable issues

Additional info (benefits, drawbacks, caveats)

Checklist

  • Test coverage for new or modified code paths
  • Changelog is updated
  • Required documentation changes (e.g., docs/rpc/openapi.yaml and rpc-endpoints.md for v2 endpoints, event-dispatcher.md for new events)
  • New clarity functions have corresponding PR in clarity-benchmarking repo

@brice-stacks
Copy link
Contributor Author

TODOs once everything is implemented:

  • Set latest() in clarity/src/vm/version.rs
  • Set latest() in stacks-common/src/types/mod.rs
  • Set PEER_NETWORK_EPOCH in stacks-common/src/libcommon.rs
  • Set DEFAULT_CLI_EPOCH in contrib/clarity-cli/src/lib.rs

@codecov
Copy link

codecov bot commented Jan 9, 2026

Codecov Report

❌ Patch coverage is 4.81651% with 415 lines in your changes missing coverage. Please review.
✅ Project coverage is 28.16%. Comparing base (4f535d8) to head (6a8c1d5).

Files with missing lines Patch % Lines
stackslib/src/core/mod.rs 0.75% 262 Missing ⚠️
clarity/src/vm/tests/crypto.rs 0.00% 26 Missing ⚠️
stackslib/src/chainstate/tests/mod.rs 0.00% 20 Missing ⚠️
stackslib/src/clarity_vm/clarity.rs 0.00% 17 Missing ⚠️
clarity/src/vm/ast/mod.rs 0.00% 13 Missing ⚠️
stacks-common/src/types/mod.rs 38.09% 13 Missing ⚠️
clarity/src/vm/tests/mod.rs 0.00% 11 Missing ⚠️
stackslib/src/chainstate/tests/consensus.rs 0.00% 8 Missing ⚠️
...lib/src/chainstate/tests/runtime_analysis_tests.rs 0.00% 6 Missing ⚠️
clarity/src/vm/version.rs 0.00% 5 Missing ⚠️
... and 16 more

❌ Your project check has failed because the head coverage (28.16%) is below the target coverage (80.00%). You can increase the head coverage or adjust the target coverage.

❗ There is a different number of reports uploaded between BASE (4f535d8) and HEAD (6a8c1d5). Click for more details.

HEAD has 9 uploads less than BASE
Flag BASE (4f535d8) HEAD (6a8c1d5)
82 73
Additional details and impacted files
@@             Coverage Diff              @@
##           develop    #6802       +/-   ##
============================================
- Coverage    77.77%   28.16%   -49.62%     
============================================
  Files          585      585               
  Lines       361916   362262      +346     
============================================
- Hits        281498   102043   -179455     
- Misses       80418   260219   +179801     
Files with missing lines Coverage Δ
clarity-types/src/types/signatures.rs 62.95% <100.00%> (-29.39%) ⬇️
clarity/src/vm/analysis/mod.rs 66.31% <ø> (-26.32%) ⬇️
clarity/src/vm/analysis/type_checker/mod.rs 93.75% <100.00%> (ø)
...rity/src/vm/analysis/type_checker/v2_1/contexts.rs 68.77% <100.00%> (-31.23%) ⬇️
...c/vm/analysis/type_checker/v2_1/tests/contracts.rs 0.00% <ø> (-95.76%) ⬇️
clarity/src/vm/tests/post_conditions.rs 0.00% <ø> (-97.06%) ⬇️
clarity/src/vm/tests/proptest_utils.rs 0.00% <ø> (-74.27%) ⬇️
stacks-common/src/libcommon.rs 0.00% <ø> (-75.00%) ⬇️
.../chainstate/burn/operations/leader_block_commit.rs 15.71% <ø> (-79.80%) ⬇️
stackslib/src/chainstate/coordinator/mod.rs 73.93% <ø> (-1.63%) ⬇️
... and 29 more

... and 487 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4f535d8...6a8c1d5. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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