Skip to content

fix: Address AI reviewer comments for Permission Delegation#6675

Merged
bthomee merged 5 commits intoXRPLF:developfrom
yinyiqian1:fix-ai-review-5825
Apr 8, 2026
Merged

fix: Address AI reviewer comments for Permission Delegation#6675
bthomee merged 5 commits intoXRPLF:developfrom
yinyiqian1:fix-ai-review-5825

Conversation

@yinyiqian1
Copy link
Copy Markdown
Collaborator

@yinyiqian1 yinyiqian1 commented Mar 26, 2026

High Level Overview of Change

This change addresses the comments left by the AI reviewer on #5825.

@yinyiqian1 yinyiqian1 marked this pull request as ready for review March 27, 2026 00:32
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.6%. Comparing base (7793b5f) to head (eaa6cd7).
⚠️ Report is 1 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##           develop   #6675     +/-   ##
=========================================
- Coverage     81.6%   81.6%   -0.0%     
=========================================
  Files         1010    1010             
  Lines        75979   75982      +3     
  Branches      7637    7633      -4     
=========================================
  Hits         61981   61981             
- Misses       13998   14001      +3     
Files with missing lines Coverage Δ
include/xrpl/protocol/TER.h 100.0% <ø> (ø)
src/libxrpl/protocol/Permissions.cpp 100.0% <100.0%> (ø)
.../libxrpl/tx/transactors/delegate/DelegateUtils.cpp 100.0% <100.0%> (ø)
src/libxrpl/tx/transactors/payment/Payment.cpp 94.5% <ø> (ø)

... and 3 files with indirect coverage changes

Impacted file tree graph

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

@bthomee bthomee requested review from kennyzlei and mvadari March 27, 2026 11:58
@yinyiqian1 yinyiqian1 requested a review from shawnxie999 March 31, 2026 17:59
@yinyiqian1 yinyiqian1 added the Needs additional review PR requires at least one more code review approval before it can be merged label Apr 1, 2026
Comment thread include/xrpl/protocol/TER.h Outdated
// reclaimed after those networks reset.
// DEPRECATED: tecNO_DELEGATE_PERMISSION is reserved for backward
// compatibility with historical data on non-prod networks only.
// TODO(deprecation): Remove this entry and reclaim value 198 once all
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Hasn't this TODO blocker happened already?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

We had a deployment with the old version on devnet.

Copy link
Copy Markdown
Collaborator Author

@yinyiqian1 yinyiqian1 Apr 8, 2026

Choose a reason for hiding this comment

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

Just checked the server_info, our devnet is running on 3.1.2, and seq is 1010896 (looks already reset), so it is ok to remove this. I'll delete it.

@yinyiqian1 yinyiqian1 added Ready to merge *PR author* thinks it's ready to merge. Has passed code review. Perf sign-off may still be required. and removed Needs additional review PR requires at least one more code review approval before it can be merged labels Apr 8, 2026
@yinyiqian1 yinyiqian1 force-pushed the fix-ai-review-5825 branch from 971fbf4 to eaa6cd7 Compare April 8, 2026 19:29
@bthomee bthomee changed the title fix: Address ai reviewer comments for delegation fix: Address AI review comments for Permission Delegation Apr 8, 2026
@bthomee bthomee changed the title fix: Address AI review comments for Permission Delegation fix: Address AI reviewer comments for Permission Delegation Apr 8, 2026
@bthomee bthomee enabled auto-merge April 8, 2026 20:22
@bthomee bthomee added this pull request to the merge queue Apr 8, 2026
Merged via the queue into XRPLF:develop with commit d52dd29 Apr 8, 2026
58 of 60 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ready to merge *PR author* thinks it's ready to merge. Has passed code review. Perf sign-off may still be required.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants