Skip to content

Conversation

@geka-evk
Copy link
Contributor

@geka-evk geka-evk commented Nov 6, 2025

No description provided.

@geka-evk geka-evk requested a review from Copilot November 6, 2025 14:22
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces configurable timeout handling for test execution with improved reporting and exit codes. It extracts timeout constants to a centralized configuration file and adds support for timeout-specific notifications.

  • Introduces EXIT_CODES and configurable TESTS_EXECUTION_TIMEOUT in a new constants module
  • Adds handleTimeout function to generate timeout reports and send Slack notifications
  • Updates dependency versions for axios, commander, and npm-check-updates

Reviewed Changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/constants.js New file defining exit codes and configurable timeout constant from environment
src/router.js Updated to use centralized constants and call new handleTimeout function
src/modes/outbound.js Added handleTimeout function to generate timeout reports and send notifications
src/extras/slack-broadcast.js Added sendTimeoutSlackNotification function and timeout emoji support
src/utils/report.js Added blank lines for code formatting
test/unit/router.test.js Updated test to use new constants instead of hardcoded values
package.json Updated dependency versions
package-lock.json Updated lock file with new dependency versions

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@geka-evk geka-evk merged commit aa70505 into main Nov 6, 2025
15 checks passed
@geka-evk geka-evk deleted the fix/csi-1926-2 branch November 6, 2025 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants