Skip to content

Add tests for protocol charges - #2368

Open
hannahbaumann wants to merge 5 commits into
mainfrom
test_protocol_charges
Open

hannahbaumann wants to merge 5 commits into
mainfrom
test_protocol_charges

Conversation

@hannahbaumann

@hannahbaumann hannahbaumann commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Description

LLM / AI generated code disclosure

LLMs or other AI-powered tools (beyond simple IDE use cases) were used in this contribution:

  • No
  • Yes: Claude opus 5.5 was used to review the new protocol charges test

Checklist

  • Read the AI Policy and filled in the AI-generated code disclosure.
  • Adhered to the contribution guidelines
  • All new code is appropriately documented (user-facing code must have complete docstrings).
  • Ran pre-commit: you can run pre-commit locally or comment on this PR with pre-commit.ci autofix.
  • Added a news entry, or the changes are not user-facing.

Manual Tests: these are slow so don't need to be run every commit, only before merging and when relevant changes are made (generally at reviewer-discretion).

Developers certificate of origin

@hannahbaumann

Copy link
Copy Markdown
Contributor Author

pre-commit.ci autofix

@codecov

codecov Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.46%. Comparing base (9a259eb) to head (292f579).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2368      +/-   ##
==========================================
- Coverage   95.15%   90.46%   -4.69%     
==========================================
  Files         227      227              
  Lines       22477    22496      +19     
==========================================
- Hits        21387    20351    -1036     
- Misses       1090     2145    +1055     
Flag Coverage Δ
fast-tests 90.46% <100.00%> (?)
slow-tests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 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.

@hannahbaumann hannahbaumann added this to the 1.13.1 milestone Nov 23, 2026
@hannahbaumann
hannahbaumann marked this pull request as ready for review November 23, 2026 15:51
@hannahbaumann

hannahbaumann commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor Author

@IAlibay there was a dry run test already that checked for the user charges, but no test that looked at the protocol charges, so i added this new test. Though as is, we would need to update the test once the partial charge error is raised for am1bcc. Thoughts?

@hannahbaumann hannahbaumann self-assigned this Nov 24, 2026
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