Repository navigation
Regenerate commands.def for the path hash command tips - #4709
sarthakaggarwal97 merged 1 commit into
Conversation
PHLONGEST, PHPREFIXES and PHSCAN declare NONDETERMINISTIC_OUTPUT_ORDER in their json but the commands.def committed in a84b2f5 has their tips as NULL, so COMMAND INFO and COMMAND DOCS report no tips for them. Output of `make commands.def`; the CI check for this is failing on unstable. Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
|
No actionable comments were generated in the recent review. π βΉοΈ Recent review infoβοΈ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Advanced Run ID: π Files selected for processing (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. π WalkthroughWalkthroughThe command metadata now marks ChangesCommand tip metadata
Priority: β¬οΈ Low Estimated code review effort: 1 (Trivial) | ~5 minutes Suggested reviewers: Merge Risk: βͺ Minimal Β· up to This change only exposes the intended output-order guidance for three commands and presents no remaining merge-blocking risk. π₯ Pre-merge checks | β 5β Passed checks (5 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Reportβ
All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## unstable #4709 +/- ##
============================================
- Coverage 80.63% 80.62% -0.01%
============================================
Files 192 192
Lines 100803 100803
============================================
- Hits 81284 81276 -8
- Misses 19519 19527 +8
π New features to boost your workflow:
|
sarthakaggarwal97
left a comment
There was a problem hiding this comment.
Nice! Looks safe and good to me!
Pointed out by @madolson in #4747 #### Motivation The existing validation still works, but it runs near the end of the large `test-ubuntu-latest` job. In both recent cases, the stale `commands.def` was detected only after the originating change had merged. - Path hash was merged in #4506 with a stale `commands.def`. The next successful CI execution reached the validation step and [failed on `commands.def`](https://github.com/valkey-io/valkey/actions/runs/35109002068/job/104838099246), resulting in #4709. - DELEX was merged in #4607 with a stale `commands.def`. A later, unrelated PR reached the validation step and [failed on `commands.def`](https://github.com/valkey-io/valkey/actions/runs/35612624270/job/106375287422), resulting in #4747. Therefore, the validation was still functioning, but it did not produce an isolated result on the originating PR before merge. This change creates a dedicated `validate-commands-def` job that runs independently and fails directly on the PR introducing stale generated output. Signed-off-by: Sarthak Aggarwal <sarthagg@amazon.com>
Pointed out by @madolson in #4747 #### Motivation The existing validation still works, but it runs near the end of the large `test-ubuntu-latest` job. In both recent cases, the stale `commands.def` was detected only after the originating change had merged. - Path hash was merged in #4506 with a stale `commands.def`. The next successful CI execution reached the validation step and [failed on `commands.def`](https://github.com/valkey-io/valkey/actions/runs/35109002068/job/104838099246), resulting in #4709. - DELEX was merged in #4607 with a stale `commands.def`. A later, unrelated PR reached the validation step and [failed on `commands.def`](https://github.com/valkey-io/valkey/actions/runs/35612624270/job/106375287422), resulting in #4747. Therefore, the validation was still functioning, but it did not produce an isolated result on the originating PR before merge. This change creates a dedicated `validate-commands-def` job that runs independently and fails directly on the PR introducing stale generated output. Signed-off-by: Sarthak Aggarwal <sarthagg@amazon.com> Backport-Source-PR: 4753
Pointed out by @madolson in #4747 #### Motivation The existing validation still works, but it runs near the end of the large `test-ubuntu-latest` job. In both recent cases, the stale `commands.def` was detected only after the originating change had merged. - Path hash was merged in #4506 with a stale `commands.def`. The next successful CI execution reached the validation step and [failed on `commands.def`](https://github.com/valkey-io/valkey/actions/runs/35109002068/job/104838099246), resulting in #4709. - DELEX was merged in #4607 with a stale `commands.def`. A later, unrelated PR reached the validation step and [failed on `commands.def`](https://github.com/valkey-io/valkey/actions/runs/35612624270/job/106375287422), resulting in #4747. Therefore, the validation was still functioning, but it did not produce an isolated result on the originating PR before merge. This change creates a dedicated `validate-commands-def` job that runs independently and fails directly on the PR introducing stale generated output. Signed-off-by: Sarthak Aggarwal <sarthagg@amazon.com> Backport-Source-PR: 4753
PHLONGEST, PHPREFIXES and PHSCAN declare NONDETERMINISTIC_OUTPUT_ORDER in their json, but the commands.def committed in a84b2f5 (#4506) has their tips as NULL, so those three commands report no tips in COMMAND INFO and COMMAND DOCS. This is the output of
make commands.defwith nothing else changed. Thevalidate commands.def up to datestep is currently failing on unstable because of it.AI generated details
src/commands/phlongest.json:11,phprefixes.json:11andphscan.json:11all carry:while
src/commands.def:5449and the other two sites have:and pass a tip count of
0in the command table entry. The other pathhash commands declare no tips and are unaffected.The a84b2f5 CI run was cancelled by the next push, so this landed unnoticed. It surfaced on the following run: https://github.com/valkey-io/valkey/actions/runs/35109002068/job/104838099246
Testing
The CI check on stock unstable, which is what this diff is:
This was generated by AI but verified, with love, by a human.