Repository navigation
devcloud: cache verified native Claude releases - #346
Merged
Merged
Conversation
Sminos-Session: devcloud setup#639ca648 (macbook on macbook)
Sminos-Session: devcloud setup#639ca648 (macbook on macbook)
Sminos-Session: devcloud setup#639ca648 (macbook on macbook)
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.
Summary
Implements board ticket 120; bumps devcloud to 0.9.2.
devcloud/no longer re-fetch it.install VERSIONas the dev user. The installer owns the launcher/configuration and its updater remains enabled. Docker enforces an entirely offline setup step with--network=none; VM bake and adopt share the same recipe.Installer question resolved
The current installer script downloads from
https://downloads.claude.ai/claude-code-releases, checksplatforms.<platform>.checksuminmanifest.json, then invokes the binary'sinstallcommand. It offers no local-file/offline flag. A prefetched binary runninginstall 2.1.308alone failed offline withEAI_AGAIN downloads.claude.ai. Seeding the verified file at the documented native versions path, then invokinginstall 2.1.308, succeeded offline and let the installer create its own configuration and launcher. No npm fallback or hand-written installer metadata.Validation Evidence
ci-gateon 1d74980: GREEN 8/8. The PR's automatic CI run also passed every gate. Includes 715 unit tests, checksum/refusal/architecture regressions, and an image test proving a dev-owned native installation with auto-updates enabled while networking is disabled.doperpowers:review-code: no material findings on 22952ef..3c50493, followed by a clean review of the timing-only 3c50493..1d74980 delta.Cold timings are from PR run 39754671318: the new Claude layer misses while the existing package layers come from the main-branch cache. Full gates, including integration, were 2m02s / 2m02s / 1m59s. Warm outage timings use the same runner's local cache; importing a remote cache on a fresh runner adds transfer/unpack time.
devcloud vm image build --account gcesucceeded;up --account gce --label ccache --ttl 1h --project SSFSKIM/doperpowers@devcloud-claude-cachedused that image and became ready in 3m33s. All 12 steps wereok, including projects. As the non-root dev user,claude --versionprinted 2.1.308, andclaude doctorreported native install method and auto-updates enabled/latest. Launcher and version directories were writable by the dev user.downreported "departed and deleted"; the proof image was also deleted. GCE queries at 09:20Z confirmed neither the host, builder nor image remained.Residue
None. Cold builds still require the release service, intentionally fail closed, and are not claimed to work during an outage. A warm CI cache must first be seeded after merge; no main-branch cache was modified for these proofs.
Sminos-Session: devcloud setup#639ca648 (macbook on macbook)