Skip to content

Comments

build: ensure zone.js typing test is hermetic#54048

Closed
devversion wants to merge 1 commit intoangular:mainfrom
devversion:fix-zonejs-hemrmeticity
Closed

build: ensure zone.js typing test is hermetic#54048
devversion wants to merge 1 commit intoangular:mainfrom
devversion:fix-zonejs-hemrmeticity

Conversation

@devversion
Copy link
Member

Currently the ZoneJS typing tests executes outside of Bazel, as a legacy artifact of the monorepo merging (as it seems - not ideal at all).

Looks like this test relies on its own node modules, that were NOT locked using a yarn lock file. This commit adds one, and specifically locks it to a @types/node version that does not include the most recent patch release (which seemingly introduced a breaking change) that causes issues with TypeScript's lib checking.

Whenever we perform lock file maintenance in the future, we have the following options:

  • Consider disabling lib checking via skipLibCheck for this test. This may be acceptable.
  • Continue locking the node version,
  • Waiting for chokidar to comply with the new signature
  • Waiting for the breaking change to be rolled back.

Culprit change:
DefinitelyTyped/DefinitelyTyped#68300

Note: Also improving the CI code so that it can be run locally more easily (i.e. by following steps of CI for these legacy tests.. running these properly is a different story)

Currently the ZoneJS typing tests executes outside of Bazel, as a legacy
artifact of the monorepo merging (as it seems - not ideal at all).

Looks like this test relies on its own node modules, that were NOT
locked using a yarn lock file. This commit adds one, and specifically
locks it to a `@types/node` version that does not include the most
recent patch release (which seemingly introduced a breaking change)
that causes issues with TypeScript's lib checking.

Whenever we perform lock file maintenance in the future, we have the
following options:

- Consider disabling lib checking via `skipLibCheck` for this test. This
  may be acceptable.
- Continue locking the node version,
- Waiting for chokidar to comply with the new signature
- Waiting for the breaking change to be rolled back.

Culprit change:
DefinitelyTyped/DefinitelyTyped#68300
@angular-robot angular-robot bot added the area: build & ci Related the build and CI infrastructure of the project label Jan 24, 2024
@ngbot ngbot bot added this to the Backlog milestone Jan 24, 2024
@devversion devversion added action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release labels Jan 24, 2024
@devversion devversion marked this pull request as ready for review January 24, 2024 11:35
@pullapprove pullapprove bot requested a review from JiaLiPassion January 24, 2024 11:35
@pkozlowski-opensource pkozlowski-opensource added action: merge The PR is ready for merge by the caretaker merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Jan 24, 2024
@pkozlowski-opensource
Copy link
Member

caretaker note: this is a fix for the failing build on main, the current set of reviews is sufficient

@pkozlowski-opensource pkozlowski-opensource removed the request for review from JiaLiPassion January 24, 2024 13:55
@pullapprove pullapprove bot requested a review from JiaLiPassion January 24, 2024 13:55
@pkozlowski-opensource
Copy link
Member

This PR was merged into the repository by commit 25f91e3.

pkozlowski-opensource pushed a commit that referenced this pull request Jan 24, 2024
Currently the ZoneJS typing tests executes outside of Bazel, as a legacy
artifact of the monorepo merging (as it seems - not ideal at all).

Looks like this test relies on its own node modules, that were NOT
locked using a yarn lock file. This commit adds one, and specifically
locks it to a `@types/node` version that does not include the most
recent patch release (which seemingly introduced a breaking change)
that causes issues with TypeScript's lib checking.

Whenever we perform lock file maintenance in the future, we have the
following options:

- Consider disabling lib checking via `skipLibCheck` for this test. This
  may be acceptable.
- Continue locking the node version,
- Waiting for chokidar to comply with the new signature
- Waiting for the breaking change to be rolled back.

Culprit change:
DefinitelyTyped/DefinitelyTyped#68300

PR Close #54048
pkozlowski-opensource pushed a commit to pkozlowski-opensource/angular that referenced this pull request Jan 24, 2024
Currently the ZoneJS typing tests executes outside of Bazel, as a legacy
artifact of the monorepo merging (as it seems - not ideal at all).

Looks like this test relies on its own node modules, that were NOT
locked using a yarn lock file. This commit adds one, and specifically
locks it to a `@types/node` version that does not include the most
recent patch release (which seemingly introduced a breaking change)
that causes issues with TypeScript's lib checking.

Whenever we perform lock file maintenance in the future, we have the
following options:

- Consider disabling lib checking via `skipLibCheck` for this test. This
  may be acceptable.
- Continue locking the node version,
- Waiting for chokidar to comply with the new signature
- Waiting for the breaking change to be rolled back.

Culprit change:
DefinitelyTyped/DefinitelyTyped#68300

PR Close angular#54048
rlmestre pushed a commit to rlmestre/angular that referenced this pull request Jan 26, 2024
Currently the ZoneJS typing tests executes outside of Bazel, as a legacy
artifact of the monorepo merging (as it seems - not ideal at all).

Looks like this test relies on its own node modules, that were NOT
locked using a yarn lock file. This commit adds one, and specifically
locks it to a `@types/node` version that does not include the most
recent patch release (which seemingly introduced a breaking change)
that causes issues with TypeScript's lib checking.

Whenever we perform lock file maintenance in the future, we have the
following options:

- Consider disabling lib checking via `skipLibCheck` for this test. This
  may be acceptable.
- Continue locking the node version,
- Waiting for chokidar to comply with the new signature
- Waiting for the breaking change to be rolled back.

Culprit change:
DefinitelyTyped/DefinitelyTyped#68300

PR Close angular#54048
amilamen pushed a commit to amilamen/angular that referenced this pull request Jan 26, 2024
Currently the ZoneJS typing tests executes outside of Bazel, as a legacy
artifact of the monorepo merging (as it seems - not ideal at all).

Looks like this test relies on its own node modules, that were NOT
locked using a yarn lock file. This commit adds one, and specifically
locks it to a `@types/node` version that does not include the most
recent patch release (which seemingly introduced a breaking change)
that causes issues with TypeScript's lib checking.

Whenever we perform lock file maintenance in the future, we have the
following options:

- Consider disabling lib checking via `skipLibCheck` for this test. This
  may be acceptable.
- Continue locking the node version,
- Waiting for chokidar to comply with the new signature
- Waiting for the breaking change to be rolled back.

Culprit change:
DefinitelyTyped/DefinitelyTyped#68300

PR Close angular#54048
nikvarma pushed a commit to nikvarma/angular that referenced this pull request Jan 31, 2024
Currently the ZoneJS typing tests executes outside of Bazel, as a legacy
artifact of the monorepo merging (as it seems - not ideal at all).

Looks like this test relies on its own node modules, that were NOT
locked using a yarn lock file. This commit adds one, and specifically
locks it to a `@types/node` version that does not include the most
recent patch release (which seemingly introduced a breaking change)
that causes issues with TypeScript's lib checking.

Whenever we perform lock file maintenance in the future, we have the
following options:

- Consider disabling lib checking via `skipLibCheck` for this test. This
  may be acceptable.
- Continue locking the node version,
- Waiting for chokidar to comply with the new signature
- Waiting for the breaking change to be rolled back.

Culprit change:
DefinitelyTyped/DefinitelyTyped#68300

PR Close angular#54048
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Feb 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants