Remove the silent two-library default from trigger-add-submodules.sh - #73
Remove the silent two-library default from trigger-add-submodules.sh#73whisper67265 wants to merge 2 commits into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughThe change requires ChangesTrigger dispatch updates
Estimated code review effort: 3 (Moderate) | ~20 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@scripts/trigger-add-submodules.sh`:
- Around line 84-88: Update the SUBMODULES validation in
scripts/trigger-add-submodules.sh to trim leading and trailing whitespace before
checking whether the selection is empty. Reject whitespace-only values through
the existing error, usage, and exit path, while preserving valid comma-separated
library names.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 8ec7acf1-07ab-4945-8e54-a4c8f5d75399
📒 Files selected for processing (10)
CHANGELOG.mddocs/GETTING-STARTED.mddocs/endpoint-contract.mdscripts/trigger-add-submodules.shscripts/trigger-dispatch-common.shtests/helpers/http_mock.bashtests/test_getting_started.batstests/test_trigger_add_submodules.batstests/test_trigger_dispatch_common.batstests/test_trigger_start_translation.bats
Close #65.
Summary by CodeRabbit
Behavior Changes
--submodules; whitespace-only values are rejected with a clear usage/error message.jqnaming collision and continues omitting empty client payload fields.Documentation
--submodulesargument.Tests