René's URL Explorer Experiment


Title: Expose stable machine-readable Angular build diagnostics · Issue #33121 · angular/angular-cli · GitHub

Open Graph Title: Expose stable machine-readable Angular build diagnostics · Issue #33121 · angular/angular-cli

X Title: Expose stable machine-readable Angular build diagnostics · Issue #33121 · angular/angular-cli

Description: CLI tool for Angular. Contribute to angular/angular-cli development by creating an account on GitHub.

Open Graph Description: CLI tool for Angular. Contribute to angular/angular-cli development by creating an account on GitHub.

X Description: CLI tool for Angular. Contribute to angular/angular-cli development by creating an account on GitHub.

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Expose stable machine-readable Angular build diagnostics","articleBody":"### Which @angular/* package(s) are relevant/related to the feature request?\n\ncompiler-cli\n\n### Description\n\nLarge Angular codebases often want to enable stricter compiler checks, especially `strictTemplates` and extended diagnostics, but cannot fix all existing diagnostics in one migration.\n\nAngular already supports category-based strictness ratcheting through template type-checking flags. That helps when a whole category of checks is too noisy.\n\nIt does not solve the case where a team wants a check enabled, but wants to treat existing diagnostics as migration debt while preventing new diagnostics from being introduced.\n\nTeams can build this externally by parsing `ng build` output, but text output is not a stable API. Angular diagnostics can include template source spans and compiler-specific formatting, which makes external parsing fragile.\n\nThis is not a request for `strictTemplates` warning mode. A previous discussion in [https://github.com/angular/angular/issues/55868](https://github.com/angular/angular/issues/55868) explained why warning mode is not a good fit for `strictTemplates`, especially because template type-checking often produces TypeScript diagnostics from generated template-checking code.\n\nThis request is only about exposing stable diagnostic output so external tooling can implement baseline/ratchet workflows reliably.\n\n\n### Proposed solution\n\nExpose stable machine-readable diagnostics from Angular CLI builds.\n\nFor example:\n\n```bash\nng build my-app --configuration strict-check --diagnostics-format json\n```\n\nor:\n\n```bash\nng build my-app --configuration strict-check --diagnostics-output angular-diagnostics.json\n```\n\nThe exact CLI/API shape is not important. The important part is that `ng build` can emit stable, machine-readable diagnostics.\n\nExample shape:\n\n```jsonc\n{\n  \"diagnostics\": [\n    {\n      \"code\": \"NG8002\",\n      \"category\": \"error\",\n      \"source\": \"angular-template\",\n      \"message\": \"Can't bind to ...\",\n      \"file\": \"libs/example/src/example.component.html\",\n      \"startLine\": 12,\n      \"startColumn\": 7,\n      \"endLine\": 12,\n      \"endColumn\": 28,\n      \"relatedInformation\": []\n    }\n  ]\n}\n```\n\nThe schema should include enough stable information for tools to compare diagnostics across runs, such as diagnostic code, category/severity, source, file, source span, message, and related information when available.\n\nThis would enable external workflows like:\n\n```bash\nng build my-app --configuration strict-check --diagnostics-output angular-diagnostics.json\nangular-baseline check angular-diagnostics.json\n```\n\nThat allows teams to create a migration ratchet:\n\n* Existing diagnostics are treated as migration debt.\n* New diagnostics fail CI.\n* Fixed diagnostics can be removed from the baseline.\n* The codebase becomes stricter over time.\n\nThis is similar in spirit to `tsc-baseline` or ESLint bulk suppressions, but for Angular compiler and template diagnostics.\n\n\n### Alternatives considered\n\n## Use existing template strictness flags\n\nAngular's existing strictness flags are useful for category-based rollout.\n\nHowever, disabling a category allows both existing and new violations in that category.\n\nA diagnostic baseline lets a team keep the check enabled while allowing only known existing diagnostics.\n\n## Parse `ng build` text output\n\nTeams can parse `ng build` output today, but this is fragile because CLI text output is optimized for humans, not long-term machine consumption.\n\n## Add first-class Angular diagnostic baselines\n\nAngular could provide a full diagnostic baseline feature directly, for example:\n\n```bash\nng build my-app --configuration strict-check --update-diagnostic-baseline\nng build my-app --configuration strict-check --diagnostic-baseline angular-diagnostics.baseline.json\n```\n\nThat would be useful, but stable machine-readable diagnostics would already allow the ecosystem to build this externally.\n","author":{"url":"https://github.com/OmerGronich","@type":"Person","name":"OmerGronich"},"datePublished":"2026-05-04T13:22:31Z","url":"https://github.com/angular/angular-cli/issues/33121"}

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/:user_id/:repository/issues/:id(.:format)
route-controllerissues
route-actionshow
fetch-noncev2:36594d6b-9d2f-cf2e-60b8-aff9b6df6390
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC3DC:D1D28:103556E:158D62D:6B01E031
html-safe-nonce4dfbd7beaf7f6b57781f972578c2618749c05c46e39f9587a75744a294ce4fef
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDM0RDOkQxRDI4OjEwMzU1NkU6MTU4RDYyRDo2QjAxRTAzMSIsInZpc2l0b3JfaWQiOiI1MTY4NzYyMzk5NzA4Mjc0NzM3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac899c742583d61f7987a33ca426053f1abc4492c69b3d94d509d8f05de1904420
hovercard-subject-tagrepository:36891867
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///issues/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/angular/angular-cli/issues/33121
twitter:imagehttps://repository-images.githubusercontent.com/36891867/7600907d-5c07-47a5-a7b5-80b9c8922d6c
twitter:cardsummary_large_image
og:imagehttps://repository-images.githubusercontent.com/36891867/7600907d-5c07-47a5-a7b5-80b9c8922d6c
og:image:altCLI tool for Angular. Contribute to angular/angular-cli development by creating an account on GitHub.
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular-cli/issues/33121#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F33121
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-cli%2Fissues%2F33121
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fissues%2Fshow&source=header-repo&source_repo=angular%2Fangular-cli
Reloadhttps://github.com/angular/angular-cli/issues/33121
Reloadhttps://github.com/angular/angular-cli/issues/33121
Reloadhttps://github.com/angular/angular-cli/issues/33121
https://github.com/angular/angular-cli
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/33121
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/33121
Expose stable machine-readable Angular build diagnosticshttps://github.com/angular/angular-cli/issues/33121#top
area: @angular/clihttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22area%3A%20%40angular%2Fcli%22
gemini-triagedLabel noting that an issue has been triaged by geminihttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22gemini-triaged%22
needsTriagehttps://github.com/angular/angular-cli/milestone/11
https://github.com/OmerGronich
OmerGronichhttps://github.com/OmerGronich
on May 4, 2026https://github.com/angular/angular-cli/issues/33121#issue-4376996005
angular/angular#55868https://github.com/angular/angular/issues/55868
angular-robothttps://github.com/apps/angular-robot
gemini-triagedLabel noting that an issue has been triaged by geminihttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22gemini-triaged%22
on May 4, 2026https://github.com/angular/angular-cli/issues/33121#event-25134915855
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular-cli/milestone/11
on May 4, 2026https://github.com/angular/angular-cli/issues/33121#event-25134915888
angular-robothttps://github.com/apps/angular-robot
needsTriagehttps://github.com/angular/angular-cli/milestone/11
on May 4, 2026https://github.com/angular/angular-cli/issues/33121#event-25134915915
https://github.com/tomer953
tomer953https://github.com/tomer953
on May 4, 2026https://github.com/angular/angular-cli/issues/33121#issuecomment-4371478642
JeanMechehttps://github.com/JeanMeche
angular/angularhttps://github.com/angular/angular
on May 4, 2026https://github.com/angular/angular-cli/issues/33121#event-25134916113
angular-robothttps://github.com/apps/angular-robot
area: @angular/clihttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22area%3A%20%40angular%2Fcli%22
on May 4, 2026https://github.com/angular/angular-cli/issues/33121#event-25134923782
https://github.com/JeanMeche
JeanMechehttps://github.com/JeanMeche
on May 4, 2026https://github.com/angular/angular-cli/issues/33121#issuecomment-4371589396
https://github.com/tomer953
tomer953https://github.com/tomer953
on May 4, 2026https://github.com/angular/angular-cli/issues/33121#issuecomment-4371673084
https://github.com/OmerGronich
OmerGronichhttps://github.com/OmerGronich
on May 4, 2026https://github.com/angular/angular-cli/issues/33121#issuecomment-4372739884
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular-cli/issues/33121
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/33121
area: @angular/clihttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22area%3A%20%40angular%2Fcli%22
gemini-triagedLabel noting that an issue has been triaged by geminihttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22gemini-triaged%22
needsTriageNo due datehttps://github.com/angular/angular-cli/milestone/11
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.