Make spec coverage report error fail the script#2038
Conversation
WalkthroughThe error handling in the main function of the coverage report script was refactored. Instead of using a try-catch block inside an async IIFE, error handling is now performed externally using a Changes
Poem
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
npm warn EBADENGINE Unsupported engine { 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🧰 Additional context used🪛 GitHub Actions: Spec coverage reportscripts/specCoverageReport.ts[error] 358-358: Spec coverage report failed due to unknown spec item key 'RSC11b' found in tests' docstrings. This caused the command 'npm run speccoveragereport' to exit with code 1. ⏰ Context from checks skipped due to timeout of 90000ms (6)
🔇 Additional comments (2)
✨ Finishing Touches
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
Ah, will also fix the error that this has revealed |
|
ably/specification#324 needs merging first |
Summary by CodeRabbit