Commit 2bd5472
committed
feature-296-bugbot-autofix: Refactor CLI and GitHub Action execution logic to prevent auto-running during tests by checking for JEST_WORKER_ID. Export program instance in CLI modules for better accessibility. Enhance test coverage by adding scenarios for error handling and command execution, ensuring robust logging and proper management of exit codes. Update type definitions for clarity in CLI and GitHub Action modules.
1 parent 1e1d6d6 commit 2bd5472
14 files changed
Lines changed: 239 additions & 13 deletions
File tree
- build
- cli
- src
- __tests__
- actions/__tests__
- github_action
- src
- __tests__
- actions/__tests__
- src
- __tests__
- actions/__tests__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47245 | 47245 | | |
47246 | 47246 | | |
47247 | 47247 | | |
| 47248 | + | |
47248 | 47249 | | |
47249 | 47250 | | |
47250 | 47251 | | |
| |||
47258 | 47259 | | |
47259 | 47260 | | |
47260 | 47261 | | |
| 47262 | + | |
47261 | 47263 | | |
47262 | 47264 | | |
47263 | 47265 | | |
| |||
47665 | 47667 | | |
47666 | 47668 | | |
47667 | 47669 | | |
47668 | | - | |
| 47670 | + | |
| 47671 | + | |
| 47672 | + | |
47669 | 47673 | | |
47670 | 47674 | | |
47671 | 47675 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42766 | 42766 | | |
42767 | 42767 | | |
42768 | 42768 | | |
42769 | | - | |
42770 | | - | |
42771 | | - | |
42772 | | - | |
42773 | | - | |
42774 | | - | |
42775 | | - | |
| 42769 | + | |
| 42770 | + | |
| 42771 | + | |
| 42772 | + | |
| 42773 | + | |
| 42774 | + | |
| 42775 | + | |
| 42776 | + | |
| 42777 | + | |
| 42778 | + | |
42776 | 42779 | | |
42777 | 42780 | | |
42778 | 42781 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
0 commit comments