Closed trajan0x closed 3 months ago
[!WARNING]
Rate limit exceeded
@trajan0x has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 46 minutes and 37 seconds before requesting another review.
How to resolve this issue?
After the wait time has elapsed, a review can be triggered using the `@coderabbitai review` command as a PR comment. Alternatively, push new commits to this PR. We recommend that you space out your commits to avoid hitting the rate limit.How do rate limits work?
CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our [FAQ](https://coderabbit.ai/docs/faq) for further information.Commits
Files that changed from the base of the PR and between d6a16322682bd5fef947f4dd6bae319034a329aa and 46cb7899e92a0690cd03148c2e589ad9e59226c3.
The changes introduce a new stripLinks
function in the commands.go
file within the contrib/opbot/botmd
directory to remove links from strings using a regex. This function is utilized in the traceCommand
and rfqLookupCommand
functions. Additionally, tests to verify this functionality were added, and a configuration file was included in the .gitignore
for the screener-api
directory.
File(s) | Change Summary |
---|---|
contrib/opbot/botmd/commands.go |
Added stripLinks function to process input parameters by removing links using regex. |
contrib/opbot/botmd/commands_test.go |
Added TestStripLinks to test the stripLinks function for correct behavior. |
contrib/opbot/botmd/export_test.go |
Introduced StripLinks function for test visibility. |
contrib/screener-api/.gitignore |
Added config.yml to .gitignore . |
sequenceDiagram
participant User
participant BotMD
participant Commands
User->>BotMD: traceCommand or rfqLookupCommand(input)
BotMD->>Commands: stripLinks(input)
Commands-->>BotMD: Processed Input (links removed)
BotMD-->>User: Return tags or transaction IDs
In
commands.go
, a function blooms,
To strip the links, dispel the glooms.
With regex sharp, it clears the way,
For tags and IDs, come what may.
In.gitignore
, a file we stash,
Safe and sound, from code's great clash.
🎉🐇✨
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 71.42857%
with 2 lines
in your changes missing coverage. Please review.
Project coverage is 25.86492%. Comparing base (
015ee04
) to head (d6a1632
). Report is 1 commits behind head on master.:exclamation: Current head d6a1632 differs from pull request most recent head 46cb789
Please upload reports for the commit 46cb789 to get more accurate results.
Files | Patch % | Lines |
---|---|---|
contrib/opbot/botmd/commands.go | 71.42857% | 2 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
addresses #2783
Summary by CodeRabbit
New Features
Tests
Chores
.gitignore
to include theconfig.yml
file in thecontrib/screener-api
directory.