chore: clear dead test and allowlist leftovers of dropped runtimes
Some checks failed
Tests / PR mergeability (push) Successful in 18s
Tests / Base branch health (push) Successful in 9s
Tests / Detect test scope (push) Successful in 16s
Tests / lint-tests (push) Failing after 1m43s
Tests / plugin-validate (push) Successful in 58s
Tests / test (ubuntu-latest, 24, shard 1/3) (push) Failing after 19s
Tests / test (ubuntu-latest, 24, shard 2/3) (push) Failing after 20s
Tests / test (ubuntu-latest, 24, shard 3/3) (push) Failing after 20s
Tests / test (ubuntu-latest, 24) (push) Failing after 18s
Tests / test (inert CI) (push) Has been skipped
Tests / QA loop walk (smell ratchet) (push) Failing after 19s
Tests / Coverage gate (merged shards) (push) Has been skipped
Tests / Publish emitted-baseline artifact (push) Has been skipped
Duplicate auto-close sweep / sweep (push) Successful in 19s
CI timeout budget report / report (push) Failing after 14s
Close Draft PRs (sweep) / Sweep open draft PRs (push) Successful in 9s
Dismiss Unauthorized PR Approvals / dismiss-unauthorized-approval (push) Successful in 9s
Tests / conformance test (macos-latest, 24) (push) Has been cancelled
Tests / conformance test (windows-latest, 24, shard 1/3) (push) Has been cancelled
Tests / conformance test (windows-latest, 24, shard 2/3) (push) Has been cancelled
Tests / conformance test (windows-latest, 24, shard 3/3) (push) Has been cancelled
Tests / Required tests (push) Has been cancelled
Some checks failed
Tests / PR mergeability (push) Successful in 18s
Tests / Base branch health (push) Successful in 9s
Tests / Detect test scope (push) Successful in 16s
Tests / lint-tests (push) Failing after 1m43s
Tests / plugin-validate (push) Successful in 58s
Tests / test (ubuntu-latest, 24, shard 1/3) (push) Failing after 19s
Tests / test (ubuntu-latest, 24, shard 2/3) (push) Failing after 20s
Tests / test (ubuntu-latest, 24, shard 3/3) (push) Failing after 20s
Tests / test (ubuntu-latest, 24) (push) Failing after 18s
Tests / test (inert CI) (push) Has been skipped
Tests / QA loop walk (smell ratchet) (push) Failing after 19s
Tests / Coverage gate (merged shards) (push) Has been skipped
Tests / Publish emitted-baseline artifact (push) Has been skipped
Duplicate auto-close sweep / sweep (push) Successful in 19s
CI timeout budget report / report (push) Failing after 14s
Close Draft PRs (sweep) / Sweep open draft PRs (push) Successful in 9s
Dismiss Unauthorized PR Approvals / dismiss-unauthorized-approval (push) Successful in 9s
Tests / conformance test (macos-latest, 24) (push) Has been cancelled
Tests / conformance test (windows-latest, 24, shard 1/3) (push) Has been cancelled
Tests / conformance test (windows-latest, 24, shard 2/3) (push) Has been cancelled
Tests / conformance test (windows-latest, 24, shard 3/3) (push) Has been cancelled
Tests / Required tests (push) Has been cancelled
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
*
|
||||
* `installSharedHooksBundle` used to write `{"type":"commonjs"}` over
|
||||
* `<configRoot>/package.json` unconditionally — no existence check, no merge,
|
||||
* no backup. On OpenCode and Kilo that file is documented, user-writable
|
||||
* no backup. On OpenCode that file is documented, user-writable
|
||||
* territory (it is where local-plugin npm dependencies are declared), so every
|
||||
* install and every `/msd-update` destroyed the user's `name`, `type`,
|
||||
* `dependencies`, and `scripts`.
|
||||
@@ -522,14 +522,12 @@ describe('#2544 regression: install must not clobber the config-root package.jso
|
||||
// `staging zero hook scripts` tests above are the ones that pin a real
|
||||
// staged-nothing gate, on the #2717 writers.
|
||||
//
|
||||
// ZCode, not Windsurf. Windsurf was the original choice because
|
||||
// hostBehaviors.skipSharedHooksInstall kept it out of the shared bundle —
|
||||
// but #2717 then began staging cursor/windsurf/codex .js hooks via dedicated
|
||||
// paths and writing the marker beside them, so for those three MSD now DOES
|
||||
// fill hooks/ and the marker is correct. ZCode is the durable choice: per
|
||||
// #1821 it has hooksSurface:'none' AND no plugin surface to spawn hooks, so
|
||||
// MSD stages no .js there by either route. (Measured on this tree: zcode
|
||||
// stages 0 .js hooks and gets no marker; windsurf stages 2 and gets one.)
|
||||
// ZCode: cursor/codex stage .js hooks via dedicated paths (#2717) and write
|
||||
// the marker beside them, so for those MSD now DOES fill hooks/ and the
|
||||
// marker is correct. ZCode is the durable choice: per #1821 it has
|
||||
// hooksSurface:'none' AND no plugin surface to spawn hooks, so MSD stages
|
||||
// no .js there by either route. (Measured on this tree: zcode stages 0 .js
|
||||
// hooks and gets no marker.)
|
||||
const userHooks = path.join(root, 'hooks');
|
||||
fs.mkdirSync(userHooks, { recursive: true });
|
||||
fs.writeFileSync(path.join(userHooks, 'my-hook.js'), '// user-authored\n');
|
||||
|
||||
Reference in New Issue
Block a user