Skip to content

Conversation

@bvandercar-vt
Copy link

Getting an error from github workflow:

TypeError: Cannot destructure property 'committer' of 'undefined' as it is undefined.
    at file:///metrics/source/plugins/languages/analyzer/recent.mjs:70:21
    at Array.filter (<anonymous>)
    at RecentAnalyzer.patches (file:///metrics/source/plugins/languages/analyzer/recent.mjs:70:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async RecentAnalyzer.analyze (file:///metrics/source/plugins/languages/analyzer/recent.mjs:25:21)
    at async file:///metrics/source/plugins/languages/analyzer/recent.mjs:19:7
    at async results (file:///metrics/source/plugins/languages/analyzer/analyzer.mjs:63:7)

This solves that.

@oddstr13
Copy link

GitHub has changed the API from under us https://github.blog/changelog/2025-08-08-upcoming-changes-to-github-events-api-payloads/

payload never contains commits any more, so we need to do additional API queries.

All this patch is doing, is quieting the exceptions, it would be better to disable the recent languages plugin.

I've been working on a proper fix in my fork all day, but it's been a bit slow going.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants