Repository navigation
Add install.sh drift check for repo pin and live site - #3287
Merged
Merged
Conversation
Contributor
Author
|
Review round 1 (pragmatic, medium): no blockers. Addressed in af22d2f: misleading DEPLOY DRIFT wording when the repo copy was not checked (new formatInstallScriptDrift, tested), 30s fetch timeouts, extractPin returns null on duplicate pins, workflow wording, race window documented as accepted. Round 2 re-review: review-clean. Left as non-blocking nits: 'no pin found' text also shown for duplicate pins; issue-body line says 'repo is current' even in the no-token variant; gh release list has no explicit timeout. |
…rkflow Compares the NODESPACE_CLI_VERSION pin in nodespace-website main and the file nodespace.ai actually serves against the latest release, and reports pin drift and deploy drift as distinct failures. Co-Authored-By: Claude Sonnet 5 <[email protected]>
…sts, duplicate pin handling Co-Authored-By: Claude Sonnet 5 <[email protected]>
mstomar125
force-pushed
the
issue-2366-install-drift-check
branch
from
September 29, 2026 09:13
af22d2f to
58c41f3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #2366
Status of the four items (checked against current origin/main)
ns_gui_hint()(install.sh:478-490, website commit 193a950, PR Desktop shell with resizable panels #3) covers brew and DMG/no-brew branches, the no-TTY branch mentions--gui(install.sh:140). The remaining piece, the agent-directed note, is not codeable in this repo -> NodeSpaceAI/nodespace-website#5.install-script-drift-check.yml+bun run install-script:drift-check), mirroring homebrew-drift-check: it compares the pin in nodespace-website main and the file nodespace.ai actually serves against the latest release, reportingPIN DRIFTvsDEPLOY DRIFTseparately. Run locally right now it correctly reports live site at v0.2.0 vs v0.3.2. The Cloudflare Pages Git reconnect is a human step -> Reconnect nodespace-website Cloudflare Pages Git integration (human step) #3286 (manual steps included).scripts/pkg-resources/app.nodespace.daemon.plistuses the conditionalKeepAlive/SuccessfulExit falseform and the app's own label.update-homebrew-cask.ts:186-189(dev plist, database, models exclusion documented).Tests
scripts/publish-install-script.test.ts: newextractPinandclassifyInstallScriptDriftcases (repo-stale, deploy-stale, no-token, no pin, v-prefix). 4 targeted mutations (drop the repo check, drop the live check, break pin extraction, corrupt deploy-stale payload) each fail the suite.bun run test:scripts738 pass;quality:scripts:fixclean;test:changedpassed.Human follow-ups
🤖 Generated with Claude Code