-
Task
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
False
-
-
False
-
-
Refs: https://github.com/backstage/community-plugins/issues/4861
Sometimes the version bump actions fail with this odd error, as seen in https://github.com/backstage/community-plugins/actions/runs/16049249111/job/45287748322:
TypeError: json.filter is not a function
at getLatestPreRelease (file:///home/runner/work/community-plugins/community-plugins/scripts/ci/set-release-name.js:46:32)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async main (file:///home/runner/work/community-plugins/community-plugins/scripts/ci/set-release-name.js:69:28)
We should debug this. If unavoidable, we should try and implement a more graceful failure and provide an informative reason for the failure.
At the same time, consider other improvements - such as ensuring we check for an existing Version Bump PR before opening a new one, to avoid repository noise.
This task would additionally help gain knowledge of the BCP workflows.