[{"data":1,"prerenderedAt":483},["ShallowReactive",2],{"figure-telemetry":3,"menu-audits":6,"menu-decisions":7,"menu-projects":23,"menu-workflows":99,"decision-0024-nuxt-prepare-test-edge":116},{"value":4,"alert":5},"18%",false,[],[8,11,14,17,20],{"label":9,"to":10},"0041 The visitor view becomes its own app, and the portal reads only as a developer platform","\u002Fdecisions\u002F0041-personal-site-splits-from-developer-portal",{"label":12,"to":13},"0040 Visitors land on the front page and toggle to the developer view","\u002Fdecisions\u002F0040-developer-portal-visitor-structure",{"label":15,"to":16},"0039 The developer portal is redesigned for visitors, from a twelve-site benchmark","\u002Fdecisions\u002F0039-developer-portal-benchmark",{"label":18,"to":19},"0038 Marina Roustan's discovery","\u002Fdecisions\u002F0038-marina-roustan-discovery",{"label":21,"to":22},"0013 New linters: the robustness gap is tsconfig and enforcement, not plugins","\u002Fdecisions\u002F0013-linter-coverage",[24,29,60,83],{"labelKey":25,"icon":26,"to":27,"badge":28},"app.menu.allProjects","i-lucide-layers","\u002Fprojects","11",{"labelKey":30,"icon":31,"to":32,"badge":33,"children":34},"app.menu.kinds.apps","i-lucide-app-window","\u002Fprojects?kind=apps","5",[35,40,45,50,55],{"label":36,"icon":31,"to":37,"badge":38,"coverage":39},"developer-portal","\u002Fprojects\u002Fdeveloper-portal","94%",94.37,{"label":41,"icon":31,"to":42,"badge":43,"coverage":44},"huella-legal","\u002Fprojects\u002Fhuella-legal","97%",97.48,{"label":46,"icon":31,"to":47,"badge":48,"coverage":49},"marina-roustan","\u002Fprojects\u002Fmarina-roustan","100%",100,{"label":51,"icon":31,"to":52,"badge":53,"coverage":54},"portfolio","\u002Fprojects\u002Fportfolio","91%",91.31,{"label":56,"icon":31,"to":57,"badge":58,"coverage":59},"wp-editor","\u002Fprojects\u002Fwp-editor","50%",49.89,{"labelKey":61,"icon":62,"to":63,"badge":64,"children":65},"app.menu.kinds.packages","i-lucide-package","\u002Fprojects?kind=packages","4",[66,71,75,80],{"label":67,"icon":62,"to":68,"badge":69,"coverage":70},"configs","\u002Fprojects\u002Fconfigs","76%",75.7,{"label":72,"icon":62,"to":73,"badge":48,"coverage":74},"content","\u002Fprojects\u002Fcontent",99.58,{"label":76,"icon":62,"to":77,"badge":78,"coverage":79},"i18n","\u002Fprojects\u002Fi18n","99%",99.08,{"label":81,"icon":62,"to":82,"badge":48,"coverage":49},"observability","\u002Fprojects\u002Fobservability",{"labelKey":84,"icon":85,"to":86,"badge":87,"children":88},"app.menu.kinds.infrastructure","i-lucide-server","\u002Fprojects?kind=infrastructure","2",[89,94],{"label":90,"icon":85,"to":91,"badge":92,"coverage":93},"scripts","\u002Fprojects\u002Fscripts","79%",78.6,{"label":95,"icon":85,"to":96,"badge":97,"coverage":98},"translations","\u002Fprojects\u002Ftranslations","93%",93.33,[100,103,106,109,112],{"label":101,"to":102},"Huella Legal","\u002Fworkflows\u002Fhuella-legal",{"label":104,"to":105},"Marina Roustan","\u002Fworkflows\u002Fmarina-roustan",{"label":107,"to":108},"Developer portal front door","\u002Fworkflows\u002Fdeveloper-portal-front-door",{"label":110,"to":111},"Huella Legal editorial","\u002Fworkflows\u002Fhuella-legal-editorial",{"labelKey":113,"icon":114,"to":115},"app.menu.newProject","i-lucide-plus","\u002Fworkflows\u002Fnew",{"id":117,"title":118,"body":119,"description":464,"extension":472,"kind":473,"meta":474,"navigation":478,"path":479,"seo":480,"stem":481,"url":473,"verdict":473,"__hash__":482},"docs\u002Fdocs\u002Fdecisions\u002F0024-nuxt-prepare-test-edge.md","🧭 test waits on nuxt-prepare again, beside the Vitest self-heal",{"type":120,"value":121,"toc":463},"minimark",[122,136,141,199,203,209,279,295,316,320,374,378,391,403,409,413],[123,124,126,127,131,132,135],"h1",{"id":125},"test-waits-on-nuxt-prepare-again-beside-the-vitest-self-heal","🧭 ",[128,129,130],"code",{},"test"," waits on ",[128,133,134],{},"nuxt-prepare"," again, beside the Vitest self-heal",[137,138,140],"h2",{"id":139},"context","Context",[142,143,144,151,152,155,156,159,160,166,167,170,171,177,178,181,182,185,186,188,189,191,192,195,196,198],"p",{},[145,146,148],"a",{"href":147},"\u002Fwiki\u002Fdocs\u002Fdecisions\u002F0015-nuxt-prepare-wiring",[128,149,150],{},"0015"," moved ",[128,153,154],{},".nuxt"," repair into a Vitest ",[128,157,158],{},"globalSetup","\n(",[145,161,163],{"href":162},"repo:packages\u002Fconfigs\u002Fsrc\u002Fvitest\u002Fsetup\u002FprepareNuxt.mjs",[128,164,165],{},"prepareNuxt.mjs",") and took every\n",[128,168,169],{},"dependsOn: [\"nuxt-prepare\"]"," off the Vitest targets in ",[145,172,174],{"href":173},"repo:nx.json",[128,175,176],{},"nx.json",", leaving it on\n",[128,179,180],{},"lint"," and ",[128,183,184],{},"typecheck"," only. Its Confirmation named a third entry in ",[128,187,176],{}," as the sign of that\ndecision being reversed. While working on #144, a test run failed on a missing ",[128,190,154],{}," with the\nself-heal in place, and ",[128,193,194],{},"f51a6b3"," put the edge back on ",[128,197,130],{},". The failing run wasn't kept.",[137,200,202],{"id":201},"result","Result",[142,204,205],{},[206,207,208],"strong",{},"Both mechanisms are in place, and neither replaces the other.",[210,211,212,225],"table",{},[213,214,215],"thead",{},[216,217,218,222],"tr",{},[219,220,221],"th",{},"Mechanism",[219,223,224],{},"Covers",[226,227,228,255],"tbody",{},[216,229,230,239],{},[231,232,233,236,237],"td",{},[128,234,235],{},"targetDefaults.test.dependsOn: [\"nuxt-prepare\"]"," in ",[128,238,176],{},[231,240,241,242,244,245,248,249,251,252,254],{},"Every ",[128,243,130],{}," task Nx schedules, including the ones ",[128,246,247],{},"pnpm test"," and pre-push run. ",[128,250,154],{}," exists before Vitest starts, so ",[128,253,165],{}," finds it and does nothing",[216,256,257,262],{},[231,258,259,261],{},[128,260,165],{}," in every Vitest preset",[231,263,264,265,267,268,271,272,275,276],{},"What never enters the task graph through ",[128,266,130],{},": ",[128,269,270],{},"test:coverage",", the per-spec targets ",[128,273,274],{},"@nx\u002Fvitest"," generates, and a bare ",[128,277,278],{},"pnpm vitest",[142,280,281,283,284,286,287,181,289,291,292,294],{},[128,282,134],{}," now appears on ",[128,285,180],{},", ",[128,288,184],{},[128,290,130],{},". ",[128,293,270],{}," still has no edge.",[142,296,297,298,301,302,304,305,181,307,309,310,312,313,315],{},"A side effect worth having: 0015 flagged two ",[128,299,300],{},"nuxi prepare"," processes writing one ",[128,303,154],{}," when a run\nincluded both ",[128,306,180],{},[128,308,130],{},". With both tasks waiting on the same ",[128,311,134],{}," task, that race is\ngone for ",[128,314,130],{},".",[137,317,319],{"id":318},"options-considered","Options considered",[210,321,322,332],{},[213,323,324],{},[216,325,326,329],{},[219,327,328],{},"Option",[219,330,331],{},"Why not",[226,333,334,345,359],{},[216,335,336,342],{},[231,337,338,339,341],{},"Find out why the ",[128,340,158],{}," missed, and fix it there",[231,343,344],{},"The failing run wasn't kept, so there was nothing to diagnose, and the edge is one line 0015 had already measured working",[216,346,347,350],{},[231,348,349],{},"Drop the self-heal now that the edge is back",[231,351,352,353,355,356,358],{},"0015's findings 1, 2, 4 and 6 still hold: targets outside ",[128,354,130],{},", and a bare ",[128,357,278],{},", never wait on any graph edge",[216,360,361,367],{},[231,362,363,364,366],{},"Add the edge to ",[128,365,270],{}," too",[231,368,369,370,373],{},"It hasn't failed, and ",[128,371,372],{},"pnpm quick-start"," runs it cold on a fresh clone, where the self-heal already covers it",[137,375,377],{"id":376},"consequences","Consequences",[142,379,380,381,384,385,387,388,390],{},"The root ",[128,382,383],{},"AGENTS.md"," paragraph on ",[128,386,154],{}," names three edges now, not two. 0015 is marked superseded\nby this report: its finding and measurements stand, and only its \"",[128,389,130],{}," carries no edge\" outcome is\nreversed.",[142,392,393,394,396,397,399,400,402],{},"A new Nuxt app still needs a ",[128,395,134],{}," script by hand. Nx silently drops an edge to a target a\nproject doesn't have, so without the script ",[128,398,130],{}," falls back to the self-heal, and ",[128,401,180],{}," fails on\nevery file.",[142,404,405,406,315],{},"Revisit if the failure comes back with the edge in place. That would mean something outside both\nmechanisms is reading the app ",[128,407,408],{},"tsconfig.json",[137,410,412],{"id":411},"confirmation","Confirmation",[210,414,415,425],{},[213,416,417],{},[216,418,419,422],{},[219,420,421],{},"Claim",[219,423,424],{},"Check",[226,426,427,447],{},[216,428,429,432],{},[231,430,431],{},"Three edges, not four",[231,433,434,437,438,286,440,181,442,444,445],{},[128,435,436],{},"grep -n -B3 '\"nuxt-prepare\"' nx.json"," lists ",[128,439,180],{},[128,441,184],{},[128,443,130],{},", and not ",[128,446,270],{},[216,448,449,452],{},[231,450,451],{},"The self-heal still covers what the graph can't",[231,453,454,455,458,459,462],{},"Delete ",[128,456,457],{},"apps\u002F*\u002F.nuxt",", then run ",[128,460,461],{},"pnpm exec vitest run"," inside either app. It passes",{"title":464,"searchDepth":465,"depth":465,"links":466},"",2,[467,468,469,470,471],{"id":139,"depth":465,"text":140},{"id":201,"depth":465,"text":202},{"id":318,"depth":465,"text":319},{"id":376,"depth":465,"text":377},{"id":411,"depth":465,"text":412},"md",null,{"issue":475,"status":476,"decision":477},144,"implemented","accepted",true,"\u002Fdocs\u002Fdecisions\u002F0024-nuxt-prepare-test-edge",{"title":118,"description":464},"docs\u002Fdecisions\u002F0024-nuxt-prepare-test-edge","Ia30BdAj6yveGU7ELeKKkqJeJB_UFTvjl82E54WBpwU",1795478397239]