Skip to content

Conversation

marionebl
Copy link

Move from comparing the branch base against target to pulls.listFiles.

This solves for a bug where updating a given command with changes from
the target branch triggered the settings change detection.

Stacks on top of #858

marionebl and others added 3 commits July 3, 2025 10:27
I've observed the following recurring exception in handling `check_run` events. The stack trace indicates we're trying to read from `action` when it isn't defined. |

This accepts potentially partial check messages instead of crashing the event processing. 

```
    TypeError: Cannot read properties of undefined (reading 'additions')
       ~~~~~ redacted ~~~~~
        at Array.reduce (<anonymous>)
        at _Settings.handleResults ( ~~~~~ redacted ~~~~~)
```
Move from comparing the branch base against target to `pulls.listFiles`.

This solves for a bug where updating a given command with changes from
the target branch triggered the settings change detection.
@marionebl
Copy link
Author

@decyjphr could you have a look at this bug fix?

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.

1 participant