Closed golangisfun123 closed 2 days ago
The changes in this pull request focus on enhancing the traceCommand
and rfqRefund
methods in the botmd
package. Modifications include improved error handling, more specific user feedback, and updated method signatures. The traceCommand
method now provides clearer messages regarding transaction searches, while the rfqRefund
method enhances its error messaging and adjusts retry logic for refund submissions. These updates aim to refine the user experience and control flow during command execution.
File Path | Change Summary |
---|---|
contrib/opbot/botmd/commands.go | Updated traceCommand method description and error handling; modified rfqRefund for better error messages and adjusted retry logic. Method signatures for both updated. |
rfqRefund
method in the same file as the main PR, enhancing the transaction status retrieval process, which aligns with the error handling improvements made in the main PR.M-deps
In the code where rabbits play,
Error messages brightened the day.
Refunds now clear, transactions in sight,
With each command, things feel just right!
Hopping through logic, we refine our way,
Celebrating changes, hip-hip-hooray! 🐇✨
[!WARNING] There were issues while running some tools. Please review the errors and either fix the tool’s configuration or disable the tool if it’s a critical failure.
🔧 golangci-lint
level=warning msg="[config_reader] The configuration option `run.skip-files` is deprecated, please use `issues.exclude-files`." level=warning msg="[config_reader] The configuration option `run.skip-dirs` is deprecated, please use `issues.exclude-dirs`." level=warning msg="[config_reader] The configuration option `run.skip-dirs-use-default` is deprecated, please use `issues.exclude-dirs-use-default`." level=warning msg="[lintersdb] The linter \"maligned\" is deprecated (step 2) and deactivated. It should be removed from the list of disabled linters. https://golangci-lint.run/product/roadmap/#linter-deprecation-cycle" level=warning msg="[lintersdb] The linter \"exhaustivestruct\" is deprecated (step 2) and deactivated. It should be removed from the list of disabled linters. https://golangci-lint.run/product/roadmap/#linter-deprecation-cycle" level=warning msg="[lintersdb] The linter \"ifshort\" is deprecated (step 2) and deactivated. It should be removed from the list of disabled linters. https://golangci-lint.run/product/roadmap/#linter-deprecation-cycle" level=warning msg="[lintersdb] The linter \"interfacer\" is deprecated (step 2) and deactivated. It should be removed from the list of disabled linters. https://golangci-lint.run/product/roadmap/#linter-deprecation-cycle" level=warning msg="[lintersdb] The linter \"nosnakecase\" is deprecated (step 2) and deactivated. It should be removed from the list of disabled linters. https://golangci-lint.run/product/roadmap/#linter-deprecation-cycle" level=warning msg="[lintersdb] The name \"goerr113\" is deprecated. The linter has been renamed to: err113." level=warning msg="The linter 'execinquery' is deprecated (since v1.58.0) due to: The repository of the linter has been archived by the owner. " level=warning msg="The linter 'exportloopref' is deprecated (since v1.60.2) due to: Since Go1.22 (loopvar) this linter is no longer relevant. Replaced by copyloopvar."
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Attention: Patch coverage is 0%
with 7 lines
in your changes missing coverage. Please review.
Project coverage is 34.90814%. Comparing base (
fd8ad75
) to head (37b68be
). Report is 24 commits behind head on master.
Files with missing lines | Patch % | Lines |
---|---|---|
contrib/opbot/botmd/commands.go | 0.00000% | 7 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
🚨 Try these New Features:
Latest commit: |
ddbc721
|
Status: | ✅ Deploy successful! |
Preview URL: | https://9ab46e2e.sanguine-fe.pages.dev |
Branch Preview URL: | https://fix-opbot-tracing.sanguine-fe.pages.dev |
Description A clear and concise description of the features you're adding in this pull request.
Additional context Add any other context about the problem you're solving.
Metadata
Summary by CodeRabbit
New Features
Bug Fixes