Title: test(@angular/cli): add CI validation for MCP example code by clydin · Pull Request #31174 · angular/angular-cli · GitHub
Open Graph Title: test(@angular/cli): add CI validation for MCP example code by clydin · Pull Request #31174 · angular/angular-cli
X Title: test(@angular/cli): add CI validation for MCP example code by clydin · Pull Request #31174 · angular/angular-cli
Description: This commit introduces a new CI check to validate the correctness of code snippets and markdown structure within the find_examples markdown files. To support this, the previous the example_db_generator.js script has been refactored and consolidated into a single, unified, mode-driven script: process_examples.mjs. This improves maintainability and ensures consistent parsing and validation logic. The new script provides two new validation modes for CI: validate-structure: Parses all examples to validate their front matter and ensure they adhere to the required markdown heading structure. validate-code: Uses a pre-built Angular application harness to perform a full ng build on all example code, ensuring compilation and template correctness. NOTE: Only the structure checks are enabled within CI at this time.
Open Graph Description: This commit introduces a new CI check to validate the correctness of code snippets and markdown structure within the find_examples markdown files. To support this, the previous the example_db_gener...
X Description: This commit introduces a new CI check to validate the correctness of code snippets and markdown structure within the find_examples markdown files. To support this, the previous the example_db_gener...
Opengraph URL: https://github.com/angular/angular-cli/pull/31174
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:dd9cd4a6-ca2f-a783-b4ff-f00b3cd94d6b |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | B5C4:3247AF:4A80456:6434EA4:6964E66D |
| html-safe-nonce | 3c74901625342dbd1d8c0dbd4f666bc9b35dd6ba4e4467d246fa3acfd77d618a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNUM0OjMyNDdBRjo0QTgwNDU2OjY0MzRFQTQ6Njk2NEU2NkQiLCJ2aXNpdG9yX2lkIjoiODgwOTMyNjM5MjQ3NDkyNzE3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 66bf017cad15d253a36a2a41eaea41a1ea3333088871768c9e7837eb9676f1a5 |
| hovercard-subject-tag | pull_request:2817003656 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/angular/angular-cli/pull/31174/checks |
| twitter:image | https://avatars.githubusercontent.com/u/19598772?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/19598772?s=400&v=4 |
| og:image:alt | This commit introduces a new CI check to validate the correctness of code snippets and markdown structure within the find_examples markdown files. To support this, the previous the example_db_gener... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3c30097417ecb9dfdab6b2e8bc7dc38d73e183d6ad48f94cb69e4a5daa2dbb87 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-cli |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 69fc54a84c74307369dba42af5401200531d116e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width