René's URL Explorer Experiment


Title: fix(@angular/build): fix setup files duplicate modules by yjaaidi · Pull Request #31791 · angular/angular-cli · GitHub

Open Graph Title: fix(@angular/build): fix setup files duplicate modules by yjaaidi · Pull Request #31791 · angular/angular-cli

X Title: fix(@angular/build): fix setup files duplicate modules by yjaaidi · Pull Request #31791 · angular/angular-cli

Description: This includes setup files in the initial build and avoids lazy discovery and thus module duplicates. Module duplicates can break many things such as dependency injection. ⚠️ this only handles setupFiles directly provided to the builder. Handling setupFiles from the Vitest config requires substantial additional effort. PR Checklist Please check to confirm your PR fulfills the following requirements: The commit message follows our guidelines: https://github.com/angular/angular-cli/blob/main/CONTRIBUTING.md#-commit-message-guidelines Tests for the changes have been added (for bug fixes / features) Docs have been added / updated (for bug fixes / features) PR Type What kind of change does this PR introduce? Bugfix Feature Code style update (formatting, local variables) Refactoring (no functional changes, no api changes) Build related changes CI related changes Documentation content changes Other... Please describe: What is the current behavior? Issue Number: #31732 What is the new behavior? Does this PR introduce a breaking change? Yes No Other information

Open Graph Description: This includes setup files in the initial build and avoids lazy discovery and thus module duplicates. Module duplicates can break many things such as dependency injection. ⚠️ this only handles setup...

X Description: This includes setup files in the initial build and avoids lazy discovery and thus module duplicates. Module duplicates can break many things such as dependency injection. ⚠️ this only handles setup...

Opengraph URL: https://github.com/angular/angular-cli/pull/31791

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/checks(.:format)
route-controllerpull_requests
route-actionchecks
fetch-noncev2:ca0c4a99-1628-52a2-ca79-d7a8ab70aab7
current-catalog-service-hash87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a
request-idE284:12D78F:2F18519:4096193:6964EB58
html-safe-nonce1fdd10d40b56fbeb7a31c8259c89fe2c4ec89896a74aa9d69d2eb211661293d8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjg0OjEyRDc4RjoyRjE4NTE5OjQwOTYxOTM6Njk2NEVCNTgiLCJ2aXNpdG9yX2lkIjoiNjQ2OTIzNTA2NDkzNDgzODY0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaca28f2cb75143d510f60967abf2e774a2a04c4d41f8fdc83e7b89525c061fe836
hovercard-subject-tagpull_request:3007420844
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/checks
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/angular/angular-cli/pull/31791/checks
twitter:imagehttps://avatars.githubusercontent.com/u/2674658?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/2674658?s=400&v=4
og:image:altThis includes setup files in the initial build and avoids lazy discovery and thus module duplicates. Module duplicates can break many things such as dependency injection. ⚠️ this only handles setup...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None3c30097417ecb9dfdab6b2e8bc7dc38d73e183d6ad48f94cb69e4a5daa2dbb87
turbo-cache-controlno-preview
go-importgithub.com/angular/angular-cli git https://github.com/angular/angular-cli.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id36891867
octolytics-dimension-repository_nwoangular/angular-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id36891867
octolytics-dimension-repository_network_root_nwoangular/angular-cli
turbo-body-classeslogged-out env-production page-responsive full-width full-width-p-0
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release69fc54a84c74307369dba42af5401200531d116e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/angular/angular-cli/pull/31791/checks#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fpull%2F31791%2Fchecks
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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-cli%2Fpull%2F31791%2Fchecks
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%2Fpull_requests%2Fshow%2Fchecks&source=header-repo&source_repo=angular%2Fangular-cli
Reloadhttps://github.com/angular/angular-cli/pull/31791/checks
Reloadhttps://github.com/angular/angular-cli/pull/31791/checks
Reloadhttps://github.com/angular/angular-cli/pull/31791/checks
angular https://github.com/angular
angular-clihttps://github.com/angular/angular-cli
Notifications https://github.com/login?return_to=%2Fangular%2Fangular-cli
Fork 11.9k https://github.com/login?return_to=%2Fangular%2Fangular-cli
Star 27k https://github.com/login?return_to=%2Fangular%2Fangular-cli
Code https://github.com/angular/angular-cli
Issues 264 https://github.com/angular/angular-cli/issues
Pull requests 22 https://github.com/angular/angular-cli/pulls
Actions https://github.com/angular/angular-cli/actions
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/angular/angular-cli/security
Please reload this pagehttps://github.com/angular/angular-cli/pull/31791/checks
Insights https://github.com/angular/angular-cli/pulse
Code https://github.com/angular/angular-cli
Issues https://github.com/angular/angular-cli/issues
Pull requests https://github.com/angular/angular-cli/pulls
Actions https://github.com/angular/angular-cli/actions
Security https://github.com/angular/angular-cli/security
Insights https://github.com/angular/angular-cli/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fangular%2Fangular-cli%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fangular%2Fangular-cli%2Fissues%2Fnew%2Fchoose
yjaaidihttps://github.com/yjaaidi
angular:mainhttps://github.com/angular/angular-cli/tree/main
yjaaidi:fix/fix-test-bed-usage-in-setup-fileshttps://github.com/yjaaidi/angular-cli/tree/fix/fix-test-bed-usage-in-setup-files
Conversation 3 https://github.com/angular/angular-cli/pull/31791
Commits 2 https://github.com/angular/angular-cli/pull/31791/commits
Checks 33 https://github.com/angular/angular-cli/pull/31791/checks
Files changed 4 https://github.com/angular/angular-cli/pull/31791/files
Please reload this pagehttps://github.com/angular/angular-cli/pull/31791/checks
fix(@angular/build): fix setup files duplicate modules https://github.com/angular/angular-cli/pull/31791/checks#top
Please reload this pagehttps://github.com/angular/angular-cli/pull/31791/checks
cla/google https://github.com/angular/angular-cli/pull/31791/checks?check_run_id=55315557414
Inclusive Language https://github.com/angular/angular-cli/pull/31791/checks?check_run_id=55315557888
DevInfra on: pull_request_target https://github.com/angular/angular-cli/actions/runs/19337247539
assistant_to_the_branch_manager https://github.com/angular/angular-cli/actions/runs/19337247539/job/55315559915?pr=31791
DevInfra on: pull_request_target https://github.com/angular/angular-cli/actions/runs/19337247573
labels https://github.com/angular/angular-cli/actions/runs/19337247573/job/55315559756?pr=31791
post_approval_changes https://github.com/angular/angular-cli/actions/runs/19337247573/job/55315559752?pr=31791
Pull Request on: pull_request https://github.com/angular/angular-cli/actions/runs/19337248049
analyze https://github.com/angular/angular-cli/actions/runs/19337248049/job/55430109707?pr=31791
lint https://github.com/angular/angular-cli/actions/runs/19337248049/job/55430109712?pr=31791
build https://github.com/angular/angular-cli/actions/runs/19337248049/job/55430109718?pr=31791
build-e2e-windows-subset https://github.com/angular/angular-cli/actions/runs/19337248049/job/55430109720?pr=31791
test https://github.com/angular/angular-cli/actions/runs/19337248049/job/55430472629?pr=31791
e2e (ubuntu-latest, 22, npm, 0) https://github.com/angular/angular-cli/actions/runs/19337248049/job/55430472679?pr=31791
e2e (ubuntu-latest, 22, npm, 1) https://github.com/angular/angular-cli/actions/runs/19337248049/job/55430472670?pr=31791
e2e (ubuntu-latest, 22, npm, 2) https://github.com/angular/angular-cli/actions/runs/19337248049/job/55430472702?pr=31791
e2e (ubuntu-latest, 22, npm, 3) https://github.com/angular/angular-cli/actions/runs/19337248049/job/55430472692?pr=31791
e2e (ubuntu-latest, 22, npm, 4) https://github.com/angular/angular-cli/actions/runs/19337248049/job/55430472700?pr=31791
e2e (ubuntu-latest, 22, npm, 5) https://github.com/angular/angular-cli/actions/runs/19337248049/job/55430472683?pr=31791
e2e (ubuntu-latest, 22, esbuild, 0) https://github.com/angular/angular-cli/actions/runs/19337248049/job/55430472758?pr=31791
e2e (ubuntu-latest, 22, esbuild, 1) https://github.com/angular/angular-cli/actions/runs/19337248049/job/55430472697?pr=31791
e2e (ubuntu-latest, 22, esbuild, 2) https://github.com/angular/angular-cli/actions/runs/19337248049/job/55430472684?pr=31791
e2e (ubuntu-latest, 22, esbuild, 3) https://github.com/angular/angular-cli/actions/runs/19337248049/job/55430472686?pr=31791
e2e (ubuntu-latest, 22, esbuild, 4) https://github.com/angular/angular-cli/actions/runs/19337248049/job/55430472705?pr=31791
e2e (ubuntu-latest, 22, esbuild, 5) https://github.com/angular/angular-cli/actions/runs/19337248049/job/55430472695?pr=31791
e2e-package-managers (ubuntu-latest, 22, yarn, 0) https://github.com/angular/angular-cli/actions/runs/19337248049/job/55430472713?pr=31791
e2e-package-managers (ubuntu-latest, 22, yarn, 1) https://github.com/angular/angular-cli/actions/runs/19337248049/job/55430472720?pr=31791
e2e-package-managers (ubuntu-latest, 22, yarn, 2) https://github.com/angular/angular-cli/actions/runs/19337248049/job/55430472741?pr=31791
e2e-package-managers (ubuntu-latest, 22, pnpm, 0) https://github.com/angular/angular-cli/actions/runs/19337248049/job/55430472735?pr=31791
e2e-package-managers (ubuntu-latest, 22, pnpm, 1) https://github.com/angular/angular-cli/actions/runs/19337248049/job/55430472771?pr=31791
e2e-package-managers (ubuntu-latest, 22, pnpm, 2) https://github.com/angular/angular-cli/actions/runs/19337248049/job/55430472724?pr=31791
e2e-snapshots https://github.com/angular/angular-cli/actions/runs/19337248049/job/55430472863?pr=31791
e2e-windows-subset https://github.com/angular/angular-cli/actions/runs/19337248049/job/55430484888?pr=31791
DevInfra on: pull_request_target https://github.com/angular/angular-cli/actions/runs/19337254958
assistant_to_the_branch_manager https://github.com/angular/angular-cli/actions/runs/19337254958/job/55315586703?pr=31791
DevInfra on: pull_request_target https://github.com/angular/angular-cli/actions/runs/19372038759
assistant_to_the_branch_manager https://github.com/angular/angular-cli/actions/runs/19372038759/job/55430135126?pr=31791
DevInfra on: pull_request_target https://github.com/angular/angular-cli/actions/runs/19372041551
assistant_to_the_branch_manager https://github.com/angular/angular-cli/actions/runs/19372041551/job/55430145325?pr=31791
https://cla.developers.google.com/https://cla.developers.google.com/
herehttps://goto.google.com/prinfo/github.com%2Fangular%2Fangular-cli%2Fpull%2F31791
5e427cchttps://github.com/angular/angular-cli/commit/5e427cc73374f7d89da9a35bfbcdf62b7a98d2c9
@yjaaidihttps://github.com/yjaaidi
View more details on Google CLA https://cla.developers.google.com/about
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.