Skip to content

feat(core): Update Testability to use PendingTasks for stability indi…#68187

Draft
atscott wants to merge 1 commit intoangular:mainfrom
atscott:testabilityOptIn
Draft

feat(core): Update Testability to use PendingTasks for stability indi…#68187
atscott wants to merge 1 commit intoangular:mainfrom
atscott:testabilityOptIn

Conversation

@atscott
Copy link
Copy Markdown
Contributor

@atscott atscott commented Apr 13, 2026

…cator

Since 12181b9, zone stability
contributes to the PendingTasks. There is now a single source of truth for application stability tracked in PendingTasks. This change makes protractor's whenStable compatible with zoneless. The Router and HttpClient also contribute to stability using the PendingTasks injectable. There will likely be more updates in the future to have more features contribute to stableness in a zoneless compatible way.

This update uses PendingTasks for stability by default when ZoneJS is not present or can be enabled with an option when ZoneJS is present (but otherwise ignored with ZoneJS).

fixes #68180

@atscott atscott added target: minor This PR is targeted for the next minor release requires: TGP This PR requires a passing TGP before merging is allowed labels Apr 13, 2026
@angular-robot angular-robot bot added detected: feature PR contains a feature commit area: core Issues related to the framework runtime labels Apr 13, 2026
@ngbot ngbot bot added this to the Backlog milestone Apr 13, 2026
…cator

Since angular/angular@12181b9, zone stability
contributes to the PendingTasks. There is now a single source of truth for application stability
tracked in PendingTasks. This change makes protractor's whenStable compatible with zoneless.
The `Router` and `HttpClient` also contribute to stability using the
`PendingTasks` injectable. There will likely be more updates in the
future to have more features contribute to stableness in a zoneless
compatible way.

This update uses PendingTasks for stability by default when ZoneJS is not present or
can be enabled with an option when ZoneJS is present (but otherwise ignored with ZoneJS).

fixes angular#68180
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: core Issues related to the framework runtime detected: feature PR contains a feature commit requires: TGP This PR requires a passing TGP before merging is allowed target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Testability does not wait for PendingTasks

1 participant