Skip to content

fix: improve robustness of CI scripts#206

Open
MatrixNeoKozak wants to merge 1 commit into
GoogleChromeLabs:mainfrom
MatrixNeoKozak:fix/improvement-1781183122389
Open

fix: improve robustness of CI scripts#206
MatrixNeoKozak wants to merge 1 commit into
GoogleChromeLabs:mainfrom
MatrixNeoKozak:fix/improvement-1781183122389

Conversation

@MatrixNeoKozak

Copy link
Copy Markdown
  1. Added comprehensive error handling to API requests in find-version.mjs. Previously, a failed API request could lead to unhandled promise rejections or subsequent errors when attempting to parse the response as JSON.
  2. Implemented explicit error handling for file system operations in generate-html.mjs. This ensures that if critical data files are missing or inaccessible, the script terminates gracefully with an error message rather than crashing with an unhelpful ENOENT stack trace.

Technical Impact: These changes increase the stability of the build pipeline, ensuring that failures in external dependencies or file-system state are diagnosed immediately and clearly, rather than resulting in cryptic runtime errors.

@google-cla

google-cla Bot commented Jun 11, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

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