Conversation
Adds CLAUDE.md project instructions, a shared .claude/settings.json with a SessionStart hook, and a setup script that installs dependencies and creates .env.local when running in the Claude Code cloud sandbox. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Cloud setup now installs @playwright/test (--no-save) and Chromium, and CLAUDE.md instructs cloud sessions to screenshot affected pages and embed them in PR descriptions via raw.githubusercontent.com URLs. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Verification in a fresh cloud sandbox showed npm install aborting on the Cypress postinstall binary download (download.cypress.io is not on the network allowlist), which left node_modules empty and prevented the Playwright install step from running. Setting CYPRESS_INSTALL_BINARY=0 makes the install complete cleanly. Also caps screenshot dimensions in the CLAUDE.md verification workflow (very tall full-page captures fail to upload) and notes expected package-lock.json churn on fresh installs. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Member
Author
|
Applied fixes from a fresh-sandbox verification run: |
A verification run showed Chromium in the cloud sandbox can't load cdn.sanity.io assets: it ignores the sandbox's HTTPS proxy by default, doesn't trust its CA, attempts QUIC, and connections to the Sanity CDN get reset even when the proxy is configured — while curl succeeds. scripts/claude-pw-sandbox.js bakes in the working configuration (proxy from env, ignoreHTTPSErrors, QUIC disabled) and fulfills GET requests to cdn.sanity.io via curl. CLAUDE.md now points the verification workflow at it. Smoke-tested: images load through the curl route at full size. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Main site
|
||||||||||||||||||||||||
| Project |
Main site
|
| Run status |
|
| Run duration | 01m 04s |
| Commit |
|
| Committer | Håkon Harnes |
| View all properties for this run ↗︎ | |
| Test results | |
|---|---|
|
|
0
|
|
|
0
|
|
|
1
|
|
|
0
|
|
|
84
|
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
Sets up the repo so Claude Code on the web can work with it out of the box:
CLAUDE.md— project instructions loaded at session start: commands, the custom.page.tsxrouting, the main/profile layout split, Sanity/Auth0 architecture, conventions, and a Playwright-based UI verification workflow for cloud sessions (screenshot affected pages, embed them in PR descriptions)..claude/settings.json— shared team settings with aSessionStarthook that runs the setup script (10 min timeout fornpm install).scripts/claude-code-setup.sh— runs only in the Claude cloud sandbox (guarded by$CLAUDE_CODE_REMOTE): copies.env.exampleto.env.local, installs dependencies, and installs@playwright/test+ Chromium (--no-save, sopackage.jsonis untouched for regular development)..gitignore— previously the whole.claude/directory was ignored, so shared config never reached the cloud sandbox. Now only.claude/settings.jsonis tracked; personal files (settings.local.json,mcp.json) stay ignored..env.examplecontains only test-dataset IDs and public Auth0 client config, so copying it in the sandbox is safe.Remaining manual steps (claude.ai/code UI)
cdn.playwright.dev,playwright.azureedge.net,playwright.download.prss.microsoft.com— Chromium download for Playwright*.sanity.io,*.apicdn.sanity.io— CMS content when running the dev serverdev-api.giveffektivt.dk— dev backend API🤖 Generated with Claude Code