Skip to content

test(nano): add tests (batch 2) [part 16]#1293

Merged
jansegre merged 1 commit intomasterfrom
tests/nano/batch2
Jun 26, 2025
Merged

test(nano): add tests (batch 2) [part 16]#1293
jansegre merged 1 commit intomasterfrom
tests/nano/batch2

Conversation

@glevco
Copy link
Contributor

@glevco glevco commented Jun 4, 2025

Motivation

Proceed with merging Nano on master.

Acceptance Criteria

  • Second batch of merging all tests.

Checklist

  • If you are requesting a merge into master, confirm this code is production-ready and can be included in future releases as soon as it gets merged

@glevco glevco self-assigned this Jun 4, 2025
@glevco glevco requested review from jansegre and msbrogli as code owners June 4, 2025 00:46
@glevco glevco moved this from Todo to In Progress (WIP) in Hathor Network Jun 4, 2025
@glevco glevco changed the title test(nano): add tests (batch 2) test(nano): add tests (batch 2) [part 16] Jun 4, 2025
@glevco glevco moved this from In Progress (WIP) to In Progress (Done) in Hathor Network Jun 4, 2025
@codecov
Copy link

codecov bot commented Jun 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.23%. Comparing base (a0e9f16) to head (9b71b40).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1293      +/-   ##
==========================================
+ Coverage   84.03%   85.23%   +1.20%     
==========================================
  Files         426      426              
  Lines       31908    31908              
  Branches     4950     4950              
==========================================
+ Hits        26813    27197     +384     
+ Misses       4066     3684     -382     
+ Partials     1029     1027       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@glevco glevco force-pushed the tests/nano/batch1 branch 3 times, most recently from 43d6f40 to bdcc79b Compare June 11, 2025 20:43
@glevco glevco force-pushed the tests/nano/batch2 branch 2 times, most recently from 4283aba to 75e0300 Compare June 11, 2025 20:43
@glevco glevco force-pushed the tests/nano/batch1 branch from bdcc79b to 0ed4ecf Compare June 23, 2025 19:57
@glevco glevco force-pushed the tests/nano/batch2 branch from 75e0300 to 4df2728 Compare June 23, 2025 19:59
@glevco glevco force-pushed the tests/nano/batch1 branch from 0ed4ecf to c7dad1d Compare June 23, 2025 23:59
@glevco glevco force-pushed the tests/nano/batch2 branch from 4df2728 to 088e1f6 Compare June 23, 2025 23:59
@glevco glevco force-pushed the tests/nano/batch1 branch 2 times, most recently from bd2d580 to 8fedc74 Compare June 24, 2025 16:13
@glevco glevco force-pushed the tests/nano/batch2 branch from 088e1f6 to 5c5665f Compare June 24, 2025 16:16
@glevco glevco force-pushed the tests/nano/batch1 branch from 8fedc74 to 1b3a848 Compare June 24, 2025 22:48
@glevco glevco force-pushed the tests/nano/batch2 branch from 5c5665f to b2bf246 Compare June 24, 2025 22:48
@glevco glevco force-pushed the tests/nano/batch1 branch from 7dc5f1a to 4fb6bb6 Compare June 25, 2025 00:30
@glevco glevco moved this from In Progress (Done) to In Review (WIP) in Hathor Network Jun 25, 2025
@glevco glevco force-pushed the tests/nano/batch2 branch 3 times, most recently from c76d116 to 5e54f1d Compare June 25, 2025 14:34
@glevco
Copy link
Contributor Author

glevco commented Jun 25, 2025

LGTM ✅

jansegre
jansegre previously approved these changes Jun 25, 2025
from tests.nanocontracts.blueprints.unittest import BlueprintTestCase
from tests.nanocontracts.utils import assert_nc_failure_reason

# TODO: Test support for container args/kwargs such as list[int] after Jan's PR
Copy link
Member

Choose a reason for hiding this comment

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

Container args are fully supported, this TODO can be implemented.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There's an existing task in the spreadsheet for this.

Comment on lines +209 to +211
for tx in nc_others:
# TODO Assert the execution order.
assert tx.get_metadata().voided_by is None
Copy link
Member

Choose a reason for hiding this comment

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

This seems like an important TODO for a sorter test.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Postponed thread.

@glevco glevco changed the base branch from tests/nano/batch1 to master June 25, 2025 23:06
@glevco glevco dismissed jansegre’s stale review June 25, 2025 23:06

The base branch was changed.

@glevco glevco moved this from In Review (WIP) to In Review (Done) in Hathor Network Jun 25, 2025
@glevco glevco force-pushed the tests/nano/batch2 branch from 5e54f1d to 9b71b40 Compare June 26, 2025 13:31
@github-actions
Copy link

🐰 Bencher Report

Branchtests/nano/batch2
Testbedubuntu-22.04
Click to view all benchmark results
BenchmarkLatencyBenchmark Result
minutes (m)
(Result Δ%)
Lower Boundary
minutes (m)
(Limit %)
Upper Boundary
minutes (m)
(Limit %)
sync-v2 (up to 20000 blocks)📈 view plot
🚷 view threshold
1.71 m
(+4.40%)Baseline: 1.63 m
1.47 m
(86.21%)
1.80 m
(94.91%)
🐰 View full continuous benchmarking report in Bencher

@jansegre jansegre merged commit 99f0b26 into master Jun 26, 2025
17 of 20 checks passed
@jansegre jansegre deleted the tests/nano/batch2 branch June 26, 2025 14:49
@github-project-automation github-project-automation bot moved this from In Review (Done) to Waiting to be deployed in Hathor Network Jun 26, 2025
@jansegre jansegre mentioned this pull request Jul 22, 2025
2 tasks
@jansegre jansegre moved this from Waiting to be deployed to Done in Hathor Network Jul 22, 2025
@jansegre jansegre mentioned this pull request Aug 7, 2025
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants