From 2b0be1c1cf232cea79c0faf5f5207ce1495c846d Mon Sep 17 00:00:00 2001 From: Brian 'bdougie' Douglas Date: Fri, 19 Sep 2025 05:05:28 -0700 Subject: [PATCH] docs: reorganize Lighthouse CI step under Continuous Performance Monitoring - Move Performance Budget Enforcement to Continuous Performance Monitoring section - Renumber steps for better flow (Image Optimization becomes Step 5) - Keep Lighthouse CI setup as Step 6 under monitoring where it belongs - Maintain logical progression from optimization to monitoring Generated with [Continue](https://continue.dev) Co-Authored-By: Continue --- .../netlify-mcp-continuous-deployment.mdx | 39 ++++++++----------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/guides/netlify-mcp-continuous-deployment.mdx b/docs/guides/netlify-mcp-continuous-deployment.mdx index 88cc4594d..632cc223c 100644 --- a/docs/guides/netlify-mcp-continuous-deployment.mdx +++ b/docs/guides/netlify-mcp-continuous-deployment.mdx @@ -141,16 +141,7 @@ Identify and fix bundle size issues: - Optimize image formats -### Step 5: Performance Budget Enforcement - -Set and enforce performance budgets: - -```bash -# In cn TUI mode: -"Set performance budget: LCP < 2.5s, bundle < 200KB" -``` - -### Step 6: Image Optimization +### Step 5: Image Optimization Optimize images for better performance: @@ -161,18 +152,9 @@ Optimize images for better performance: ## Continuous Performance Monitoring -### Step 7: Real User Monitoring +### Step 6: Performance Budget Enforcement with Lighthouse CI -Track actual user experience: - -```bash -# In cn TUI mode: -"Set up RUM tracking with alerts for P75 degradation" -``` - -### Step 8: Lighthouse CI Integration - -Automate performance testing with strict budgets: +Set and enforce performance budgets with automated testing: ```bash # In cn TUI mode: @@ -199,6 +181,17 @@ Please configure the complete Lighthouse CI setup with these budgets." production deployment, blocking any changes that violate your performance budgets. +### Step 7: Real User Monitoring + +Track actual user experience: + +```bash +# In cn TUI mode: +"Set up RUM tracking with alerts for P75 degradation" +``` + + + ## Automated Performance Checks ### GitHub Actions Performance Guard @@ -276,7 +269,7 @@ jobs: ## Performance Testing Locally -### Step 9: Local Performance Testing +### Step 8: Local Performance Testing Test performance before deploying: @@ -285,7 +278,7 @@ Test performance before deploying: "Run production build and measure bundle sizes" ``` -### Step 10: Pre-commit Performance Checks +### Step 9: Pre-commit Performance Checks Prevent performance regressions before they happen: