René's URL Explorer Experiment


Title: Angular Zones break promises in `openai` package (return null) · Issue #53380 · angular/angular · GitHub

Open Graph Title: Angular Zones break promises in `openai` package (return null) · Issue #53380 · angular/angular

X Title: Angular Zones break promises in `openai` package (return null) · Issue #53380 · angular/angular

Description: Which @angular/* package(s) are the source of the bug? zone.js Is this a regression? No Description Users making requests with the openai package while using Zones receive null on all requests. Eg; const response = await this.openai!.cha...

Open Graph Description: Which @angular/* package(s) are the source of the bug? zone.js Is this a regression? No Description Users making requests with the openai package while using Zones receive null on all requests. Eg;...

X Description: Which @angular/* package(s) are the source of the bug? zone.js Is this a regression? No Description Users making requests with the openai package while using Zones receive null on all requests. Eg;...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Angular Zones break promises in `openai` package (return null)","articleBody":"### Which @angular/* package(s) are the source of the bug?\n\nzone.js\n\n### Is this a regression?\n\nNo\n\n### Description\n\n[Users making requests](https://github.com/openai/openai-node/issues/232#issuecomment-1820088056) with the `openai` package while using Zones receive `null` on all requests.\r\n\r\nEg; \r\n\r\n```ts\r\nconst response = await this.openai!.chat.completions.create({\r\n  model: 'gpt-3.5-turbo',\r\n  messages: [\r\n    {role: \"system\", content: \"Explain me the purpose of life\"},\r\n  ],\r\n});\r\n// response === null, but shouldn't be\r\n```\r\n\r\n[Users report](https://github.com/openai/openai-node/issues/232#issuecomment-1806001114) that upgrading zone.js to ^0.14.2 allows things to work with `.then()`, but not with `await`. \r\n\r\nThis is likely related to the `openai` package [subclassing Promise](https://github.com/openai/openai-node/blob/a048174c0e53269a01993a573a10f96c4c9ec79e/src/core.ts#L79) to add helper methods, [like `.asResponse()`](https://github.com/openai/openai-node/blob/a048174c0e53269a01993a573a10f96c4c9ec79e/src/core.ts#L79).\n\n### Please provide a link to a minimal reproduction of the bug\n\nhttps://github.com/openai/openai-node/issues/232#issuecomment-1820088056\n\n### Please provide the exception or error you saw\n\n```true\ncompletion is `null`\n```\n\n\n### Please provide the environment you discovered this bug in (run `ng version`)\n\n```true\nI am a maintainer of `openai`, not an Angular user. Users have reported this with Angular v17 (and earlier) and zone.js@0.14.2 (and earlier).\n```\n\n\n### Anything else?\n\n_No response_","author":{"url":"https://github.com/rattrayalex","@type":"Person","name":"rattrayalex"},"datePublished":"2023-12-03T03:21:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":10},"url":"https://github.com/53380/angular/issues/53380"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:24670bac-47de-ad78-b967-93675d7ce0be
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDF34:186FB1:1E9D52:29A512:6A5B5B0D
html-safe-nonce3c7cfbfda52971479cbc8d75308734942c0f980e2c5a14487256566840af30e2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjM0OjE4NkZCMToxRTlENTI6MjlBNTEyOjZBNUI1QjBEIiwidmlzaXRvcl9pZCI6IjgwNjQzNTg2MDgyNTQyMjkyNjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac1e370e6278f0d08764ba7e060ee8f3f58a2b7a8eb1b7fef661e51bf00a2aafa2
hovercard-subject-tagissue:2028120850
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/53380/issue_layout
twitter:imagehttps://opengraph.githubassets.com/332afe176b952bc95a43d66bb10ff7b5ea4769a7f2a69b4c59687e586b32ac97/angular/angular/issues/53380
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/332afe176b952bc95a43d66bb10ff7b5ea4769a7f2a69b4c59687e586b32ac97/angular/angular/issues/53380
og:image:altWhich @angular/* package(s) are the source of the bug? zone.js Is this a regression? No Description Users making requests with the openai package while using Zones receive null on all requests. Eg;...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerattrayalex
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
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
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/angular/angular/issues/53380#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F53380
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F53380
Sign up https://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/53380
Reloadhttps://github.com/angular/angular/issues/53380
Reloadhttps://github.com/angular/angular/issues/53380
Please reload this pagehttps://github.com/angular/angular/issues/53380
angular https://github.com/angular
angularhttps://github.com/angular/angular
Notifications https://github.com/login?return_to=%2Fangular%2Fangular
Fork 27.4k https://github.com/login?return_to=%2Fangular%2Fangular
Star 101k https://github.com/login?return_to=%2Fangular%2Fangular
Code https://github.com/angular/angular
Issues 981 https://github.com/angular/angular/issues
Pull requests 169 https://github.com/angular/angular/pulls
Discussions https://github.com/angular/angular/discussions
Actions https://github.com/angular/angular/actions
Projects https://github.com/angular/angular/projects
Security and quality 24 https://github.com/angular/angular/security
Insights https://github.com/angular/angular/pulse
Code https://github.com/angular/angular
Issues https://github.com/angular/angular/issues
Pull requests https://github.com/angular/angular/pulls
Discussions https://github.com/angular/angular/discussions
Actions https://github.com/angular/angular/actions
Projects https://github.com/angular/angular/projects
Security and quality https://github.com/angular/angular/security
Insights https://github.com/angular/angular/pulse
Angular Zones break promises in openai package (return null)https://github.com/angular/angular/issues/53380#top
https://github.com/JiaLiPassion
area: zonesIssues related to zone.jshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20zones%22
state: has PRhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20has%20PR%22
needsTriagehttps://github.com/angular/angular/milestone/83
https://github.com/rattrayalex
rattrayalexhttps://github.com/rattrayalex
on Dec 3, 2023https://github.com/angular/angular/issues/53380#issue-2028120850
Users making requestshttps://github.com/openai/openai-node/issues/232#issuecomment-1820088056
Users reporthttps://github.com/openai/openai-node/issues/232#issuecomment-1806001114
subclassing Promisehttps://github.com/openai/openai-node/blob/a048174c0e53269a01993a573a10f96c4c9ec79e/src/core.ts#L79
like .asResponse()https://github.com/openai/openai-node/blob/a048174c0e53269a01993a573a10f96c4c9ec79e/src/core.ts#L79
openai/openai-node#232 (comment)https://github.com/openai/openai-node/issues/232#issuecomment-1820088056
JiaLiPassionhttps://github.com/JiaLiPassion
area: zonesIssues related to zone.jshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20zones%22
state: has PRhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20has%20PR%22
needsTriageNo due datehttps://github.com/angular/angular/milestone/83
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.