Website: pipeline dev mode skips optimize/doctor#91
Conversation
|
Claude finished @PrzemyslawKlys's task —— View job PR Code ReviewThis PR moves dev iteration speed-ups from script-level defaults to pipeline configuration using Todo List:
📋 Code Review Feedback✅ Positive Changes
🔍 Observations
|
|
There was a problem hiding this comment.
Pull request overview
This PR moves “dev mode” iteration speed-ups from Website/build.ps1 into the PowerForge.Web pipeline configuration so that skipping heavyweight tasks is driven by pipeline.json rather than script-side argument injection.
Changes:
- Add
skipModes: ["dev"]tooptimizeanddoctortasks inWebsite/pipeline.json. - Remove the
-Servedefault skip injection logic fromWebsite/build.ps1(previously auto-skipped heavy steps during dev serve runs). - Update the
build.ps1help text by removing the now-obsolete note about script-level skipping behavior.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| Website/pipeline.json | Skips optimize and doctor when running in dev mode via pipeline config. |
| Website/build.ps1 | Removes serve/dev default skip injection so pipeline config is the single source of truth. |
| @@ -5,8 +5,6 @@ | |||
|
|
|||
| .PARAMETER Serve | |||
| Build the full pipeline and start the development server. | |||
There was a problem hiding this comment.
The script help for -Serve no longer mentions that dev mode skips the heavier pipeline steps. Since that behavior still exists (now in pipeline.json via skipModes), consider adding a short note here pointing users to pipeline.json so they understand why optimize/doctor don’t run in dev mode and how to force a full run (e.g., via -NoDev).
| Build the full pipeline and start the development server. | |
| Build the site and start the development server. | |
| By default this runs in dev mode (see `pipeline.json` `skipModes`), which skips heavier | |
| pipeline steps such as optimize/doctor for faster iteration. Use `-NoDev` to force a | |
| full pipeline run when serving. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #91 +/- ##
=======================================
Coverage 59.75% 59.75%
=======================================
Files 448 448
Lines 57814 57814
Branches 16563 16563
=======================================
+ Hits 34544 34549 +5
+ Misses 17565 17564 -1
+ Partials 5705 5701 -4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|



Moves dev iteration speed-ups into pipeline.json via skipModes=dev for optimize and doctor, and removes script-level default skip injection.