Skip to content

chore: disable system tests in packages to unblock PRs pending fix#7974

Merged
pearigee merged 2 commits intomainfrom
pearigee-disable-package-system-tests
Apr 7, 2026
Merged

chore: disable system tests in packages to unblock PRs pending fix#7974
pearigee merged 2 commits intomainfrom
pearigee-disable-package-system-tests

Conversation

@pearigee
Copy link
Copy Markdown
Contributor

@pearigee pearigee commented Apr 7, 2026

System tests are failing with the following error:

Error: Command failed with exit code 1: npx tsc
Step #6 - "run-tests": �[96mindex.ts�[0m:�[93m21�[0m:�[93m23�[0m - �[91merror�[0m�[90m TS2591: �[0mCannot find name 'require'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.

(for example: https://github.com/googleapis/google-cloud-node/pull/7961/checks?check_run_id=70274525122)

Note, this was already fixed in the generator in #7943. However, the generator release takes some time (i.e. days). This is meant to unblock PRs immediately.

See the system test failures here:
#7976


On a side note, these system tests seem to add very little value. The generated system tests just create the client and then close it. Furthermore, for generated libraries, we expect them to work by default. We don't manually update these libraries, so the need for regression testing is minimal.

@pearigee pearigee requested a review from a team as a code owner April 7, 2026 22:07
Copy link
Copy Markdown
Contributor

@quirogas quirogas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we add a comment explaining why we are skipping these tests. Or maybe we could add a TODO to revert this change later.

This can be tracked via the commit history, either way, so up it's up to you.

@pearigee
Copy link
Copy Markdown
Contributor Author

pearigee commented Apr 7, 2026

Absolutely, thanks. I was just working with @shivanee-p to write an issue we can reference. I will update this PR with a link/comment shortly.

@pearigee
Copy link
Copy Markdown
Contributor Author

pearigee commented Apr 7, 2026

Note in #7921, we are considering deleting these tests all together. This may be a good first step in that direction.

@pearigee pearigee merged commit 637808f into main Apr 7, 2026
36 checks passed
@pearigee pearigee deleted the pearigee-disable-package-system-tests branch April 7, 2026 22:50
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.

2 participants