Meta tags:
description= Which @angular/* package(s) are relevant/related to the feature request? compiler-cli Description Large Angular codebases often want to enable stricter compiler checks, especially strictTemplates and extended diagnostics, but cannot fix ...;
Headings (most frequently used words):
commented, on, may, 2026, angular, navigation, build, description, metadata, footer, tomer953, expose, stable, machine, readable, diagnostics, 33121, menu, repository, use, existing, template, strictness, flags, parse, ng, text, output, add, first, class, diagnostic, baselines, activity, issue, actions, which, package, are, relevant, related, to, the, feature, request, proposed, solution, alternatives, considered, jeanmeche, omergronich, assignees, labels, type, projects, milestone, relationships, development,
Text of the page (most frequently used words):
angular (33), the (31), #diagnostics (30), and (23), build (20), that (17), for (17), 2026 (15), this (14), github (14), may (14), issue (13), code (13), new (12), existing (12), can (11), not (11), stable (10), baseline (10), triaged (9), gemini (9), cli (9), output (9), diagnostic (9), would (9), check (9), actions (8), machine (8), category (8), migration (8), any (8), readable (7), source (7), but (7), checking (7), errors (7), template (7), app (6), type (6), label (6), noting (6), has (6), been (6), are (6), from (6), stricttemplates (6), your (6), strict (6), example (6), you (5), security (5), copilot (5), sign (5), our (5), more (5), tomer953 (5), all (5), configuration (5), json (5), information (4), needstriage (4), milestone (4), already (4), need (4), file (4), message (4), teams (4), ratchet (4), externally (4), checks (4), block (4), debt (4), copy (4), binding (4), only (4), commented (4), with (4), strictness (4), added (4), compiler (4), expose (4), support (4), navigation (3), open (3), projects (3), area (3), one (3), first (3), related (3), stricter (3), enabled (3), while (3), still (3), codebase (3), want (3), because (3), case (3), solution (3), omergronich (3), flag (3), fix (3), about (3), jeanmeche (3), robot (3), text (3), team (3), flags (3), external (3), request (3), link (3), 33121 (3), quality (3), another (3), tab (3), window (3), refresh (3), session (3), reload (3), developers (3), changelog (3), customer (3), enterprise (3), grade (3), features (3), time (2), community (2), status (2), footer (2), pull (2), requests (2), development (2), labels (2), metadata (2), have (2), class (2), baselines (2), span (2), tooling (2), keep (2), similar (2), eslint (2), bulk (2), suppressions (2), where (2), violations (2), also (2), directly (2), humans (2), adding (2), thousands (2), those (2), becomes (2), don (2), adds (2), every (2), failure (2), toward (2), enabling (2), stricttemplate (2), reacted (2), react (2), process (2), emit (2), full (2), good (2), being (2), error (2), use (2), part (2), like (2), large (2), opened (2), useful (2), feature (2), add (2), parse (2), fragile (2), allows (2), based (2), enable (2), workflows (2), include (2), across (2), when (2), shape (2), api (2), important (2), warning (2), mode (2), why (2), especially (2), often (2), parsing (2), which (2), wants (2), description (2), insights (2), 196 (2), repository (2), signed (2), universe (2), training (2), integrations (2), stories (2), center (2), documentation (2), learn (2), business (2), fixes (2), products (2), secret (2), perform, action, share, personal, manage, cookies, contact, docs, privacy, terms, inc, branches, none, yet, relationships, due, date, assigned, assignees, comment, account, join, conversation, free, primitive, necessarily, even, containing, let, goal, gradually, burn, down, recorded, rule, applies, put, into, application, templates, remain, explicit, escape, hatch, become, default, pattern, agents, suppression, places, make, pass, weaken, sites, expression, broader, than, recording, exists, failing, think, automatic, solves, same, problem, author, omer, gronich, maybe, idea, able, incremental, way, some, made, without, input, throw, turn, duo, null, undefined, will, migrate, basically, give, entire, talk, repo, member, transferred, tool, proposal, opens, door, monorepo, count, total, validate, currently, its, nothing, middle, actual, number, almost, doubled, since, then, base, yes, mentioned, few, years, later, ngbot, activity, yossi, yedid, tom, zohar, idan, yadgar, allow, ecosystem, update, could, provide, today, optimized, long, term, consumption, lets, allowing, known, however, disabling, both, rollout, alternatives, considered, spirit, tsc, over, fixed, removed, fail, treated, create, schema, should, enough, tools, compare, runs, such, severity, available, relatedinformation, endcolumn, endline, startcolumn, startline, libs, src, component, html, bind, ng8002, exact, format, builds, proposed, exposing, implement, reliably, previous, discussion, explained, fit, produces, typescript, generated, 55868, spans, specific, formatting, makes, does, solve, treat, preventing, introduced, supports, ratcheting, through, helps, whole, too, noisy, codebases, extended, cannot, package, relevant, body, items, issues, dismiss, alert, switched, accounts, out, appearance, settings, search, pricing, event, talks, workshops, what, next, partners, company, forum, events, webinars, blog, resource, connect, resources, premium, advanced, ons, trust, evaluate, see, industries, government, manufacturing, financial, services, healthcare, industry, nonprofits, startups, enterprises, stage, businesses, latest, improvements, place, developer, articles, sponsors, trending, repos, explore, customize, certifications, scanning, leak, prevention, protection, vulnerability, detection, remediation, secure, cloud, environments, codespaces, analysis, enforcement, automation, ship, coding, agent, tasks, automated, work, hosting, review, collaboration, platform, menu, skip, content,
Text of the page (random words):
expose stable machine readable angular build diagnostics issue 33121 angular angular cli github skip to content navigation menu sign in products platform github repository hosting code review and collaboration copilot ai coding agent for tasks projects and automated work build ship actions ci cd and automation code quality quality analysis fixes and enforcement codespaces cloud development environments secure code security vulnerability detection and remediation secret protection secret scanning and leak prevention all features developers learn documentation training certifications build build with copilot customize copilot integrations explore trending repos github sponsors developer articles changelog changelog your source for the latest features improvements and fixes across github products all in one place businesses by stage enterprises team startups nonprofits by industry healthcare financial services manufacturing government see all industries evaluate github why github customer stories business insights trust center add ons github advanced security enterprise grade code security copilot for business enterprise grade ai features premium support enterprise grade 24 7 support resources learn connect documentation resource center blog events webinars community forum customer stories integrations support customer support training github status company about partners changelog github universe github universe the event for developers by developers talks workshops and what s next for github pricing search sign in sign up appearance settings you signed in with another tab or window reload to refresh your session you signed out in another tab or window reload to refresh your session you switched accounts on another tab or window reload to refresh your session dismiss alert message angular angular cli repository navigation code issues 196 196 pull requests 20 20 actions security and quality 8 8 insights more items expose stable machine readable angular build diagnostics 33121 new issue copy link new issue copy link open open expose stable machine readable angular build diagnostics 33121 copy link labels area angular cli gemini triaged label noting that an issue has been triaged by gemini label noting that an issue has been triaged by gemini milestone needstriage description omergronich opened on may 4 2026 issue body actions which angular package s are relevant related to the feature request compiler cli description large angular codebases often want to enable stricter compiler checks especially stricttemplates and extended diagnostics but cannot fix all existing diagnostics in one migration angular already supports category based strictness ratcheting through template type checking flags that helps when a whole category of checks is too noisy it 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 teams 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 this is not a request for stricttemplates warning mode a previous discussion in angular angular 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 this request is only about exposing stable diagnostic output so external tooling can implement baseline ratchet workflows reliably proposed solution expose stable machine readable diagnostics from angular cli builds for example ng build my app configuration strict check diagnostics format json or ng build my app configuration strict check diagnostics output angular diagnostics json the exact cli api shape is not important the important part is that ng build can emit stable machine readable diagnostics example shape diagnostics code ng8002 category error source angular template message can t bind to file libs example src example component html startline 12 startcolumn 7 endline 12 endcolumn 28 relatedinformation the 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 this would enable external workflows like ng build my app configuration strict check diagnostics output angular diagnostics json angular baseline check angular diagnostics json that allows teams to create a migration ratchet existing diagnostics are treated as migration debt new diagnostics fail ci fixed diagnostics can be removed from the baseline the codebase becomes stricter over time this is similar in spirit to tsc baseline or eslint bulk suppressions but for angular compiler and template diagnostics alternatives considered use existing template strictness flags angular s existing strictness flags are useful for category based rollout however disabling a category allows both existing and new violations in that category a diagnostic baseline lets a team keep the check enabled while allowing only known existing diagnostics parse ng build text output teams can parse ng build output today but this is fragile because cli text output is optimized for humans not long term machine consumption add first class angular diagnostic baselines angular could provide a full diagnostic baseline feature directly for example ng build my app configuration strict check update diagnostic baseline ng build my app configuration strict check diagnostic baseline angular diagnostics baseline json that would be useful but stable machine readable diagnostics would already allow the ecosystem to build this externally react with 4 reacted by tomer953 yossi yedid tom zohar and idan yadgar activity angular robot added gemini triaged label noting that an issue has been triaged by gemini label noting that an issue has been triaged by gemini on may 4 2026 ngbot added this to the needstriage milestone on may 4 2026 angular robot added this to the needstriage milestone on may 4 2026 tomer953 commented on may 4 2026 tomer953 on may 4 2026 more actions yes i opened the mentioned issue and few years later we are still don t have stricttemplates in our code base the actual number of errors in our codebase almost doubled since then currently its all or nothing no middle if we want to block new errors we first need to fix the existing a tool like in the proposal can opens a door to block new errors in large monorepo for example count the total errors in the ci and validate no new errors jeanmeche transferred this issue from angular angular on may 4 2026 angular robot added area angular cli on may 4 2026 jeanmeche commented on may 4 2026 jeanmeche on may 4 2026 member more actions would in your case a migration that adds any on every failure be a solution toward enabling stricttemplate tomer953 commented on may 4 2026 tomer953 on may 4 2026 more actions not for our repo some checks are still made without stricttemplates flag ie checking input binding those binding can throw error if you turn on the flag duo to null undefined strict type checking if we will migrate the binding to use any we basically give up on the entire type checking and not only on the strictness part of that check and we talk about thousands of errors we need a way to block new errors being able to fix existing in incremental process maybe adding a flag to the build process to emit the full diagnostics can be a good idea react with 1 reacted by omer gronich omergronich commented on may 4 2026 omergronich on may 4 2026 author more actions would in your case a migration that adds any on every failure be a solution toward enabling stricttemplate i don t think an automatic any migration solves the same problem for us any is a source code suppression we need a ci build ratchet adding any in thousands of places would make stricttemplates pass but it would also weaken checking at those binding sites because the expression becomes any that is broader than recording this diagnostic already exists and failing only on new diagnostics it would also put the migration debt directly into application templates in our codebase we want any to remain an explicit escape hatch not become the default pattern that humans and ai agents copy from existing code our goal is to keep stricter checks enabled block new diagnostics and gradually burn down existing debt this is similar to eslint bulk suppressions where existing violations are recorded externally while the rule still applies to new code so the primitive we need is stable machine readable diagnostics not necessarily first class angular baselines even an output file containing diagnostic code category source file span message and related information would let teams build baseline ratchet tooling externally sign up for free to join this conversation on github already have an account sign in to comment metadata metadata assignees no one assigned labels area angular cli gemini triaged label noting that an issue has been triaged by gemini label noting that an issue has been triaged by gemini type no type projects no projects milestone needstriage no due date relationships none yet development no branches or pull requests issue actions open in github copilot app footer 2026 github inc footer navigation terms privacy security status community docs contact manage cookies do not share my personal information you can t perform that action at this time
|