Skip to content

Conversation

devversion
Copy link
Member

See individual commits

@angular-robot angular-robot bot added the area: build & ci Related the build and CI infrastructure of the project label Jan 16, 2025
@devversion devversion force-pushed the more-jasmine-tests branch 4 times, most recently from fac0ee2 to 38a529c Compare January 16, 2025 18:23
We'll be using `workspace:*` protocol links to link first-party packages
together in the pnpm workspace. For this reason, we need to make sure
they are properly replaced in `package.json` files, before packaging.
Integrates `@angular/cli` into the pnpm workspace and wires up the
native `rules_js` rules.

One nice benefits that highlight here:

- `resolve` runtime dependency is only installed in the CLI folder, and
  we can pull it from there. --> Locally managed deps! :yay:
Migrates `@angular-devkit/core` jasmine rules to the native `rules_js`
variant.
Migrates `@angular-devkit/schematics` jasmine rules to the
native `rules_js` variant.

As part of this commit, we are performing a few adjustments that we've
discussed as preparation for this migration:

- cross package imports are always using the module name
- inside package imports are always using relative imports, matching
  existing tests, fixing a few outliers.
Migrates `@angular-devkit/architect-cli` jasmine rules to the
native `rules_js` variant.
@devversion devversion requested a review from clydin January 16, 2025 19:59
@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 16, 2025
@devversion devversion marked this pull request as ready for review January 16, 2025 19:59
@alan-agius4 alan-agius4 added target: minor This PR is targeted for the next minor release and removed target: patch This PR is targeted for the next patch release labels Jan 17, 2025
@alan-agius4
Copy link
Collaborator

@devversion I changed the target to minor as it does not apply cleanly due to the change in the aspect lock file.

`rules_js` doesn't integrate source maps by default, so we are enabling it by default via `defaults2.bzl`.
@devversion devversion removed the request for review from clydin January 17, 2025 13:53
@devversion devversion added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Jan 17, 2025
The strategy tests are extremely time-sensitive with regards to the RxJS
job logic executing, and the tests currently rely on `setImmediate` to
flush/trigger job execution. This seems to be rather unstable via Remote
execution, and sensitive to changes with the execution (e.g. injecting
source map support or not), so we are stabilizing the tests further by
having better time delays for job execution, and by using `setTimeout`
for flushing. This seems very sufficient.
@devversion devversion merged commit 0f5106d into angular:main Jan 17, 2025
29 of 30 checks passed
@devversion devversion deleted the more-jasmine-tests branch January 17, 2025 15:29
@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 17, 2025
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 target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants