René's URL Explorer Experiment


Title: Macro Tasks left running after failed http requests with Unknown Error, preventing protractor from completing tests · Issue #38795 · angular/angular · GitHub

Open Graph Title: Macro Tasks left running after failed http requests with Unknown Error, preventing protractor from completing tests · Issue #38795 · angular/angular

X Title: Macro Tasks left running after failed http requests with Unknown Error, preventing protractor from completing tests · Issue #38795 · angular/angular

Description: 🐞 bug report Affected Package @angular/common/http Is this a regression? Yes. Worked in @angular/common@9.1.12 Description A macroTask is left running when certain http errors occur and this prevents protractor for completing since there...

Open Graph Description: 🐞 bug report Affected Package @angular/common/http Is this a regression? Yes. Worked in @angular/common@9.1.12 Description A macroTask is left running when certain http errors occur and this preven...

X Description: 🐞 bug report Affected Package @angular/common/http Is this a regression? Yes. Worked in @angular/common@9.1.12 Description A macroTask is left running when certain http errors occur and this preven...

Opengraph URL: https://github.com/angular/angular/issues/38795

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Macro Tasks left running after failed http requests with Unknown Error, preventing protractor from completing tests","articleBody":"# 🐞 bug report\r\n\r\n### Affected Package\r\n@angular/common/http\r\n\r\n### Is this a regression?\r\nYes.\r\nWorked in **@angular/common@9.1.12**\r\n\r\n### Description\r\nA macroTask is left running when certain http errors occur and this prevents protractor for completing since there are tasks left running in the ngZone.\r\n\r\n## 🔬 Minimal Reproduction\r\nhttps://github.com/wfairclough/AngularHttpMacroTaskMinimalReproduction\r\n\r\nRun `npm install`\r\n\r\nRun with `npx ng serve`\r\n\r\nOpen Chrome Browser to `http://localhost:4200`\r\n\r\n**Reproduce Bug**\r\n\r\n1. Click Button **Make Successful Request** and see successul response.\r\n1. Click Button **Check Task Counts** and see the open micro and macro task counts in the ngZone.\r\n1. Click Button **Make Failed Request** and see the error response.\r\n1. Click Button **Check Task Counts** again and notice that the macroTask count is now 1.\r\n1. Repeat failed requests as many times as you like and the marcroTask count will just keep increasing.\r\n\r\n\r\n## 🔥 Exception or Error\r\n![image](https://user-images.githubusercontent.com/1356641/92775200-2e7a3580-f36c-11ea-8088-f74c23bd01a1.png)\r\n\r\nNo macroTasks should be left running after this failed http request.\r\n\r\n## 🌍  Your Environment\r\n\r\n**Angular Version:**\r\n\u003cpre>\u003ccode>\r\n\r\n     _                      _                 ____ _     ___\r\n    / \\   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|\r\n   / △ \\ | '_ \\ / _` | | | | |/ _` | '__|   | |   | |    | |\r\n  / ___ \\| | | | (_| | |_| | | (_| | |      | |___| |___ | |\r\n /_/   \\_\\_| |_|\\__, |\\__,_|_|\\__,_|_|       \\____|_____|___|\r\n                |___/\r\n    \r\n\r\nAngular CLI: 10.1.0\r\nNode: 10.20.1\r\nOS: linux x64\r\n\r\nAngular: 10.1.1\r\n... animations, common, compiler, compiler-cli, core, forms\r\n... platform-browser, platform-browser-dynamic, router\r\nIvy Workspace: Yes\r\n\r\nPackage                           Version\r\n-----------------------------------------------------------\r\n@angular-devkit/architect         0.1001.0\r\n@angular-devkit/build-angular     0.1001.0\r\n@angular-devkit/build-optimizer   0.1001.0\r\n@angular-devkit/build-webpack     0.1001.0\r\n@angular-devkit/core              10.1.0\r\n@angular-devkit/schematics        10.1.0\r\n@angular/cli                      10.1.0\r\n@ngtools/webpack                  10.1.0\r\n@schematics/angular               10.1.0\r\n@schematics/update                0.1001.0\r\nrxjs                              6.6.3\r\ntypescript                        4.0.2\r\nwebpack                           4.44.1\r\n\u003c/code>\u003c/pre>\r\n\r\n**Anything else relevant?**\r\nError occurs in both browsers I tested with Chrome and Firefox. \r\n","author":{"url":"https://github.com/wfairclough","@type":"Person","name":"wfairclough"},"datePublished":"2020-09-10T17:52:23Z","url":"https://github.com/angular/angular/issues/38795"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:2f3e382d-9f34-4ec7-356e-441f57f16c21
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9EEC:96DDF:E8F294:127CE45:6B010723
html-safe-nonceef3ed7e23d5aee193fbc2d106afcf8cc91776e98bdb738337075082247b17566
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RUVDOjk2RERGOkU4RjI5NDoxMjdDRTQ1OjZCMDEwNzIzIiwidmlzaXRvcl9pZCI6IjYxMDk0ODc4MzI0MjA2NDg3MzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac41225a446cb3b03f2cd5ae2f39820a8bf85ea312f772d2423a2a4b55ca2d6095
hovercard-subject-tagissue:698296619
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/38795/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e6fcebfb079d04d5177785ffef10f088152dd1ce72acea1fffcdd29dcf75a934/angular/angular/issues/38795
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e6fcebfb079d04d5177785ffef10f088152dd1ce72acea1fffcdd29dcf75a934/angular/angular/issues/38795
og:image:alt🐞 bug report Affected Package @angular/common/http Is this a regression? Yes. Worked in @angular/common@9.1.12 Description A macroTask is left running when certain http errors occur and this preven...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamewfairclough
hostnamegithub.com
expected-hostnamegithub.com
Nonecb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124
turbo-cache-controlno-preview
go-importgithub.com/angular/angular git https://github.com/angular/angular.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id24195339
octolytics-dimension-repository_nwoangular/angular
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24195339
octolytics-dimension-repository_network_root_nwoangular/angular
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular/issues/38795#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F38795
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F38795
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=angular%2Fangular
Reloadhttps://github.com/angular/angular/issues/38795
Reloadhttps://github.com/angular/angular/issues/38795
Reloadhttps://github.com/angular/angular/issues/38795
angularhttps://github.com/angular
angularhttps://github.com/angular/angular
Codehttps://github.com/angular/angular
Issues835 (835)https://github.com/angular/angular/issues
Pull requests141 (141)https://github.com/angular/angular/pulls
Discussionshttps://github.com/angular/angular/discussions
Actionshttps://github.com/angular/angular/actions
Projectshttps://github.com/angular/angular/projects
Security and quality40 (40)https://github.com/angular/angular/security
Insightshttps://github.com/angular/angular/insights
https://github.com/angular/angular
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/38795
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/38795
kubikowski/inanity#26https://github.com/kubikowski/inanity/pull/26
Macro Tasks left running after failed http requests with Unknown Error, preventing protractor from completing testshttps://github.com/angular/angular/issues/38795#top
kubikowski/inanity#26https://github.com/kubikowski/inanity/pull/26
https://github.com/JiaLiPassion
area: zonesIssues related to zone.jshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20zones%22
freq2: mediumhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22freq2%3A%20medium%22
regressionIndicates than the issue relates to something that worked in a previous versionhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22regression%22
state: confirmedhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20confirmed%22
type: bug/fixhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
Backloghttps://github.com/angular/angular/milestone/82
https://github.com/wfairclough
wfaircloughhttps://github.com/wfairclough
on Sep 10, 2020https://github.com/angular/angular/issues/38795#issue-698296619
https://github.com/wfairclough/AngularHttpMacroTaskMinimalReproductionhttps://github.com/wfairclough/AngularHttpMacroTaskMinimalReproduction
https://user-images.githubusercontent.com/1356641/92775200-2e7a3580-f36c-11ea-8088-f74c23bd01a1.png
JoostKhttps://github.com/JoostK
area: zonesIssues related to zone.jshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20zones%22
on Sep 10, 2020https://github.com/angular/angular/issues/38795#event-3752408515
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular/milestone/83
on Sep 10, 2020https://github.com/angular/angular/issues/38795#event-3752408576
JoostKhttps://github.com/JoostK
area: common/httpIssues related to HTTP and HTTP Clienthttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20common%2Fhttp%22
area: zonesIssues related to zone.jshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20zones%22
on Sep 10, 2020https://github.com/angular/angular/issues/38795#event-3752413154
https://github.com/JoostK
JoostKhttps://github.com/JoostK
on Sep 10, 2020https://github.com/angular/angular/issues/38795#issuecomment-690589973
#37367https://github.com/angular/angular/pull/37367
JoostKhttps://github.com/JoostK
freq2: mediumhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22freq2%3A%20medium%22
regressionIndicates than the issue relates to something that worked in a previous versionhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22regression%22
type: bug/fixhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
on Sep 10, 2020https://github.com/angular/angular/issues/38795#event-3752440924
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular/milestone/83
Backloghttps://github.com/angular/angular/milestone/82
on Sep 10, 2020https://github.com/angular/angular/issues/38795#event-3752441001
JoostKhttps://github.com/JoostK
state: confirmedhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20confirmed%22
on Sep 10, 2020https://github.com/angular/angular/issues/38795#event-3752441326
https://github.com/JoostK
JoostKhttps://github.com/JoostK
on Sep 13, 2020https://github.com/angular/angular/issues/38795#issuecomment-691663480
@JiaLiPassionhttps://github.com/JiaLiPassion
#37367https://github.com/angular/angular/pull/37367
https://github.com/JiaLiPassion
JiaLiPassionhttps://github.com/JiaLiPassion
on Sep 14, 2020https://github.com/angular/angular/issues/38795#issuecomment-691811130
@JoostKhttps://github.com/JoostK
JiaLiPassionhttps://github.com/JiaLiPassion
on Sep 14, 2020https://github.com/angular/angular/issues/38795#event-3761450749
JiaLiPassionhttps://github.com/JiaLiPassion
area: zonesIssues related to zone.jshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20zones%22
area: common/httpIssues related to HTTP and HTTP Clienthttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20common%2Fhttp%22
on Sep 14, 2020https://github.com/angular/angular/issues/38795#event-3761451259
mheveryhttps://github.com/mhevery
completedhttps://github.com/angular/angular/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
d92a0ddhttps://github.com/angular/angular/commit/d92a0dd72f6adf3c8a145255bb1e08346780418e
on Sep 18, 2020https://github.com/angular/angular/issues/38795#event-3783749160
mheveryhttps://github.com/mhevery
on Sep 18, 2020https://github.com/angular/angular/issues/38795#event-3783749318
fix(zone.js): should invoke xhr send task when no response error occu…https://github.com/angular/angular/commit/33055da5c76feaaa262eddb5a443f6fda9ab5b1f
https://docs.github.com/articles/closing-issues-via-commit-messages
33055dahttps://github.com/angular/angular/commit/33055da5c76feaaa262eddb5a443f6fda9ab5b1f
https://github.com/wfairclough
wfaircloughhttps://github.com/wfairclough
on Oct 6, 2020https://github.com/angular/angular/issues/38795#issuecomment-704481362
@JiaLiPassionhttps://github.com/JiaLiPassion
https://github.com/wfairclough/AngularHttpMacroTaskMinimalReproductionhttps://github.com/wfairclough/AngularHttpMacroTaskMinimalReproduction
https://github.com/JoostK
JoostKhttps://github.com/JoostK
on Oct 6, 2020https://github.com/angular/angular/issues/38795#issuecomment-704486371
@wfaircloughhttps://github.com/wfairclough
the changelog can be found herehttps://github.com/angular/angular/blob/05672ab13644b1cb03c3683fdfa4c2d186438938/packages/zone.js/CHANGELOG.md
https://github.com/wfairclough
wfaircloughhttps://github.com/wfairclough
on Oct 6, 2020https://github.com/angular/angular/issues/38795#issuecomment-704490061
@JoostKhttps://github.com/JoostK
https://github.com/JoostK
JoostKhttps://github.com/JoostK
on Oct 6, 2020https://github.com/angular/angular/issues/38795#issuecomment-704492830
@wfaircloughhttps://github.com/wfairclough
#39094https://github.com/angular/angular/issues/39094
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Nov 6, 2020https://github.com/angular/angular/issues/38795#issuecomment-723175154
automatic conversation locking policyhttps://github.com/angular/angular/blob/8f24bc9443b3872fe095d9f7f77b308a361a13b4/docs/GITHUB_PROCESS.md#conversation-locking
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Nov 6, 2020https://github.com/angular/angular/issues/38795#event-3967998254
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular/issues/38795
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular/issues/38795
JiaLiPassionhttps://github.com/JiaLiPassion
area: zonesIssues related to zone.jshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20zones%22
freq2: mediumhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22freq2%3A%20medium%22
regressionIndicates than the issue relates to something that worked in a previous versionhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22regression%22
state: confirmedhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20confirmed%22
type: bug/fixhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
BacklogNo due datehttps://github.com/angular/angular/milestone/82
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.