{"id":"6b089d3e2997bd0d56a9a1df","title":"2026 11 26 Issue 454","path":"how-to/committee/release-notes/2026-11-26-issue-454","contentMarkdown":"# 26-Nov-2026 — safe clone bundles and reliable first run [#454](https://github.com/Ramblers-GB/ngx-ramblers/issues/454)\n\n## [build 1120](https://github.com/Ramblers-GB/ngx-ramblers/actions/runs/45893175355) — [commit 0ec0dcb](https://github.com/Ramblers-GB/ngx-ramblers/commit/0ec0dcb47dac7a766032294b0897484bf40aa3a4)\n\n_____\n\nFirst run\n- bin/ngx-cli checks Node and npm against .nvmrc and package.json engines\nbefore installing, and stops with the nvm commands when the major\nversion is wrong or either is missing\n- the install hash is only written when both root and server installs\nsucceed, so a half-finished install is retried instead of failing later\nwith \"Cannot find module 'dotenv'\"\n- bundle README states the Node/npm prerequisites, the macOS 13.5 limit\nand the clean reinstall script\n\nClone isolation\n- the platform endpoint is now /contributor-clone-access: it grants the\nsite's user access to the clone for copying, creates a database user\nwhose roles cover only the clone, and creates read-only S3 keys for the\ngroup's bucket (one contributor-read IAM user per group)\n- clone bundles carry that clone-only user and the read-only keys instead\nof the live site's credentials\n- the copy leaves out inbox mail, audit history, refresh tokens, drafts,\nexpense claims and the AUTH_SECRET-encrypted credential stores\n- the clone is cleaned with the sandbox duplicate's sanitising, plus\nMailchimp and Salesforce keys cleared, environments/site-registration\nconfig removed, sending suspended through platform-send-control, and\nevery member except the requesting admin anonymised\n- a clone onto a schema that already has data is refused before the\nplatform issues new credentials, so an existing contributor's storage\nkeys are not replaced by a bundle that then fails\n- the contributor clone now uses the shared cloneSourceDatabase, which\nreads through a cursor in batches of 1000 instead of loading whole\ncollections into memory\n- bundle generation runs over the websocket with progress, so a long copy\nno longer sits inside one HTTP request; the REST endpoint keeps\ncurrent-database bundles only\n\nSmaller fixes\n- new-contributor-env refuses a checkout with uncommitted changes and\nrebases onto origin/main instead of resetting hard\n- local dev only enables platform admin when environments come from the\nplatform configuration, not from a contributor's local manifest\n- clone access uses the MongoDB Atlas project the site's cluster belongs to,\nso sites on clusters in other projects can be cloned, and refuses a\ncluster outside the projects the platform manages\n- ensureMigrationMongoUser renamed ensureScopedMongoUser now that clones use it\n- contributor bundle docs describe the clone isolation and the remaining\nrisk of a current-database bundle\n\n_____\n\n## quiet test output and replace deprecated url.parse\n\n## [build 1121](https://github.com/Ramblers-GB/ngx-ramblers/actions/runs/45908615170) — [commit 960d85b](https://github.com/Ramblers-GB/ngx-ramblers/commit/960d85b20dc65e948bddb769e183911c3c02ec17)\n\n_____\n\n- Server tests no longer print debug logging from modules that switch it on, so deliberate failure-path tests stop looking like errors.\n- Mocha runs with Node's own TypeScript stripping off so ts-node loads specs without the module type warning.\n- Replace every url.parse call with the URL class.\n- Silence the reserved key warning on the volunteer import audit schema without renaming its stored errors field.\n- Read photo capture metadata through a service method so the spec spies on it instead of a hoisted module mock.\n- Capture the log viewer's waiting message in its spec.","contentHtml":"<h1>26-Nov-2026 — safe clone bundles and reliable first run <a href=\"https://github.com/Ramblers-GB/ngx-ramblers/issues/454\">#454</a></h1>\n<h2><a href=\"https://github.com/Ramblers-GB/ngx-ramblers/actions/runs/45893175355\">build 1120</a> — <a href=\"https://github.com/Ramblers-GB/ngx-ramblers/commit/0ec0dcb47dac7a766032294b0897484bf40aa3a4\">commit 0ec0dcb</a></h2>\n<hr>\n<p>First run</p>\n<ul>\n<li>bin/ngx-cli checks Node and npm against .nvmrc and package.json engines\nbefore installing, and stops with the nvm commands when the major\nversion is wrong or either is missing</li>\n<li>the install hash is only written when both root and server installs\nsucceed, so a half-finished install is retried instead of failing later\nwith &quot;Cannot find module &#39;dotenv&#39;&quot;</li>\n<li>bundle README states the Node/npm prerequisites, the macOS 13.5 limit\nand the clean reinstall script</li>\n</ul>\n<p>Clone isolation</p>\n<ul>\n<li>the platform endpoint is now /contributor-clone-access: it grants the\nsite&#39;s user access to the clone for copying, creates a database user\nwhose roles cover only the clone, and creates read-only S3 keys for the\ngroup&#39;s bucket (one contributor-read IAM user per group)</li>\n<li>clone bundles carry that clone-only user and the read-only keys instead\nof the live site&#39;s credentials</li>\n<li>the copy leaves out inbox mail, audit history, refresh tokens, drafts,\nexpense claims and the AUTH_SECRET-encrypted credential stores</li>\n<li>the clone is cleaned with the sandbox duplicate&#39;s sanitising, plus\nMailchimp and Salesforce keys cleared, environments/site-registration\nconfig removed, sending suspended through platform-send-control, and\nevery member except the requesting admin anonymised</li>\n<li>a clone onto a schema that already has data is refused before the\nplatform issues new credentials, so an existing contributor&#39;s storage\nkeys are not replaced by a bundle that then fails</li>\n<li>the contributor clone now uses the shared cloneSourceDatabase, which\nreads through a cursor in batches of 1000 instead of loading whole\ncollections into memory</li>\n<li>bundle generation runs over the websocket with progress, so a long copy\nno longer sits inside one HTTP request; the REST endpoint keeps\ncurrent-database bundles only</li>\n</ul>\n<p>Smaller fixes</p>\n<ul>\n<li>new-contributor-env refuses a checkout with uncommitted changes and\nrebases onto origin/main instead of resetting hard</li>\n<li>local dev only enables platform admin when environments come from the\nplatform configuration, not from a contributor&#39;s local manifest</li>\n<li>clone access uses the MongoDB Atlas project the site&#39;s cluster belongs to,\nso sites on clusters in other projects can be cloned, and refuses a\ncluster outside the projects the platform manages</li>\n<li>ensureMigrationMongoUser renamed ensureScopedMongoUser now that clones use it</li>\n<li>contributor bundle docs describe the clone isolation and the remaining\nrisk of a current-database bundle</li>\n</ul>\n<hr>\n<h2>quiet test output and replace deprecated url.parse</h2>\n<h2><a href=\"https://github.com/Ramblers-GB/ngx-ramblers/actions/runs/45908615170\">build 1121</a> — <a href=\"https://github.com/Ramblers-GB/ngx-ramblers/commit/960d85b20dc65e948bddb769e183911c3c02ec17\">commit 960d85b</a></h2>\n<hr>\n<ul>\n<li>Server tests no longer print debug logging from modules that switch it on, so deliberate failure-path tests stop looking like errors.</li>\n<li>Mocha runs with Node&#39;s own TypeScript stripping off so ts-node loads specs without the module type warning.</li>\n<li>Replace every url.parse call with the URL class.</li>\n<li>Silence the reserved key warning on the volunteer import audit schema without renaming its stored errors field.</li>\n<li>Read photo capture metadata through a service method so the spec spies on it instead of a hoisted module mock.</li>\n<li>Capture the log viewer&#39;s waiting message in its spec.</li>\n</ul>\n"}