Repository navigation
Run commands.def validation in an independent CI job - #4753
sarthakaggarwal97 merged 1 commit into
Conversation
Signed-off-by: Sarthak Aggarwal <sarthagg@amazon.com>
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. 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 CI workflow adds a dedicated job that regenerates ChangesCommand definition validation
Priority: β¬οΈ Low Estimated code review effort: 2 (Simple) | ~10 minutes π₯ 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 #4753 +/- ##
============================================
+ Coverage 80.60% 80.68% +0.07%
============================================
Files 192 192
Lines 100870 100870
============================================
+ Hits 81308 81383 +75
+ Misses 19562 19487 -75 π New features to boost your workflow:
|
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
Pointed out by @madolson in #4747
Motivation
The existing validation still works, but it runs near the end of the large
test-ubuntu-latestjob. In both recent cases, the stalecommands.defwas detected only after the originating change had merged.commands.def. The next successful CI execution reached the validation step and failed oncommands.def, resulting in Regenerate commands.def for the path hash command tipsΒ #4709.commands.def. A later, unrelated PR reached the validation step and failed oncommands.def, resulting in Regenerate commands.def for DELEXΒ #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-defjob that runs independently and fails directly on the PR introducing stale generated output.