-
Notifications
You must be signed in to change notification settings - Fork 10
chore: Triage and clean up TODO comments #473
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
be8ba90
feat: Add `check-todos` task and GitHub workflow
currantw 20ef797
refactor: Rename check tasks to use colon convention and split docs
currantw 7fa5147
fix: Add --yes to npx calls to prevent interactive prompts
currantw 5eb761b
First batch of TODO comment fixes and removals.
currantw 35ac7de
Second batch of TODO comment fixes and removals.
currantw 2e68930
Third batch of TODO comment fixes and removals.
currantw ac1376b
feat(check-todos): add ignore file support for TODO checker
currantw 67fc692
Fourth batch of TODO comment fixes and removals.
currantw 287825e
Add a minimum description length
currantw 17a5de9
refactor: Move coverage config files to dev/conf
currantw 6842f36
refactor: Simplify scan methods to delegate to GLIDE internals
currantw 3714bc2
fix: Fix StreamTrimAsync infinite recursion and add guard clauses
currantw b834491
Fix TODO and add regions for stream commands
currantw 1405c3b
refactor: Relax TODO pattern to match without comment prefix
currantw 750c4e1
chore: Remove unused raw-args StreamTrimAsync overload
currantw 5e75e2d
Remove unused ToValkeyKeyArray
currantw 061a7f8
Make `SetScanAsync` and `SortedSetScanAsync` private protected.
currantw 35148dc
Merge branch 'main' of https://github.com/valkey-io/valkey-glide-csha…
currantw 7ff432a
Split TODO regexes
currantw ec9355d
Add space before TODO, simplify check_todos to enforce format
currantw 43e18ec
Add GuardClauses.ThrowIfNotPositive and update scan methods to throw …
currantw 2361673
Make _TODO_VALIDATION_PATTERN case sensitive
currantw b2e6bf1
Add TODOs for unused configurations.
currantw 7ce7aa3
Clarify no inline comments
currantw 4374ee5
fix: Restore StreamTrimAsync(long?) signature to avoid breaking change
currantw ec76f23
Update docs
currantw 5545a96
Add TODO to "Check issue state"
currantw bd847b1
Merge branch 'main' of https://github.com/valkey-io/valkey-glide-csha…
currantw 437606a
Update `ConnectionManagementCommandTests` to use `ServerFixture`
currantw c26d8f8
Use DisableParallelization = true
currantw 8e69d47
Fixed shared batch test failure
currantw bcaebc6
Slight branch coverage decrease because of simplification (fewer bran…
currantw 43a7aab
docs: Document intentional pageOffset divergence from StackExchange.R…
currantw File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -38,4 +38,4 @@ jobs: | |
| run: task build target=lib | ||
|
|
||
| - name: Check examples | ||
| run: task check-examples | ||
| run: task check:examples | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| name: check-todos | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| - release-* | ||
| pull_request: | ||
| workflow_dispatch: | ||
|
|
||
| permissions: | ||
| contents: read | ||
| issues: read | ||
|
|
||
| jobs: | ||
| check-todos: | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 10 | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | ||
|
|
||
| - name: Setup Python | ||
| uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 | ||
| with: | ||
| python-version: "3.12" | ||
|
|
||
| - name: Install Task | ||
| uses: go-task/setup-task@01a4adf9db2d14c1de7a560f09170b6e0df736aa # v2.1.0 | ||
|
|
||
| - name: Check TODOs | ||
| run: task check:todos | ||
| env: | ||
| GH_TOKEN: ${{ github.token }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| # Files excluded from the TODO checker. | ||
| # Patterns use fnmatch-style glob matching. | ||
| # Only full-line comments supported. | ||
| # See dev/scripts/check_todos.py for details. | ||
|
|
||
| dev/conf/check-todos-ignore | ||
| dev/scripts/check_todos.py | ||
| DEVELOPER.md |
|
currantw marked this conversation as resolved.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.