test(e2e): Claude Code's login check asks for its full sign-in link

Since 2.1.330, Claude Code's sign-in link is a short one without the
state, which the check pastes back as code#state. Its documented
CLAUDE_CODE_FULL_SIGN_IN_LINK=1 prints the full link again, for scripts
that read the link, so the check sets it in the VM's login shells before
devvm agent login claude; earlier releases ignore it.

e2e's lock moves Claude Code from 2.1.327 to 2.1.331; nothing else moves.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
w3cjandClaude Opus 5.5 committed 2026-11-24 15:22:38 -07:00
1 parent 9acdd0c47c
commit 394869407b
2 files changed
+22 -14

No files matched your search

+13 -13
View File
@@ -33,33 +33,33 @@ checksum = "sha256:96fb94108eed872ff623ed39007d6b5699a83a5d0086fcfba84921c18145e
url = "https://github.com/oven-sh/bun/releases/download/bun-v1.4.5/bun-linux-x64-musl-baseline.zip"
[[tools.claude]]
version = "2.1.327"
version = "2.1.331"
backend = "aqua:anthropics/claude-code"
specifiers = ["latest"]
[tools.claude."platforms.linux-arm64"]
checksum = "sha256:39d249137bacdd872d536d2aa50fd52bedd5d55c79e35efce96b9f658b2ea6d8"
checksum = "sha256:5b0eda499ef17ad35cf43061dfcbf5067cd6f210aa76c48d61fecae2b70d41f8"
checksum_source = "mise-versions"
url = "https://github.com/anthropics/claude-code/releases/download/v2.1.327/claude-linux-arm64.tar.gz"
url_api = "https://api.github.com/repos/anthropics/claude-code/releases/assets/760565151"
url = "https://github.com/anthropics/claude-code/releases/download/v2.1.331/claude-linux-arm64.tar.gz"
url_api = "https://api.github.com/repos/anthropics/claude-code/releases/assets/784084271"
[tools.claude."platforms.linux-arm64-musl"]
checksum = "sha256:410b2b8246a8f67a8a8a56d3adb5d29d6e26efe38c165906093c7b90a9e1fdeb"
checksum = "sha256:a29f1cf13b4c5162573d404789e3845c4136a2b6adcc6c37292d8ef9ecff710f"
checksum_source = "mise-versions"
url = "https://github.com/anthropics/claude-code/releases/download/v2.1.327/claude-linux-arm64-musl.tar.gz"
url_api = "https://api.github.com/repos/anthropics/claude-code/releases/assets/760565148"
url = "https://github.com/anthropics/claude-code/releases/download/v2.1.331/claude-linux-arm64-musl.tar.gz"
url_api = "https://api.github.com/repos/anthropics/claude-code/releases/assets/784084260"
[tools.claude."platforms.linux-x64"]
checksum = "sha256:7f03a9981918fbd38eca529bdd19807eedb021a9ed2feb9923dc10a581a5aa1f"
checksum = "sha256:9f5a726b25eb1d3b7d04082eb12f308c834edbfad66ad6292fffb88856b53f1f"
checksum_source = "mise-versions"
url = "https://github.com/anthropics/claude-code/releases/download/v2.1.327/claude-linux-x64.tar.gz"
url_api = "https://api.github.com/repos/anthropics/claude-code/releases/assets/760565483"
url = "https://github.com/anthropics/claude-code/releases/download/v2.1.331/claude-linux-x64.tar.gz"
url_api = "https://api.github.com/repos/anthropics/claude-code/releases/assets/784084543"
[tools.claude."platforms.linux-x64-musl"]
checksum = "sha256:9698506832c8ba304acf80fe32e35d3917d84f112d79b30c0212ee989ad54ba7"
checksum = "sha256:f84502ff6c987489e78dc9307c059807c056e77d128d3f6470d1dd95517413c3"
checksum_source = "mise-versions"
url = "https://github.com/anthropics/claude-code/releases/download/v2.1.327/claude-linux-x64-musl.tar.gz"
url_api = "https://api.github.com/repos/anthropics/claude-code/releases/assets/760565149"
url = "https://github.com/anthropics/claude-code/releases/download/v2.1.331/claude-linux-x64-musl.tar.gz"
url_api = "https://api.github.com/repos/anthropics/claude-code/releases/assets/784084264"
[[tools.codex]]
version = "0.171.0"
+9 -1
View File
@@ -2386,9 +2386,17 @@ func setupTokenShows(n *netRun) string {
}
// claudeLogin runs devvm agent login claude, its input a FIFO this
// process writes the code into once the address shows.
// process writes the code into once the address shows. Since 2.1.330,
// Claude Code shows a short address without the state, unless its
// environment has CLAUDE_CODE_FULL_SIGN_IN_LINK=1, which Claude Code's
// docs give scripts that read the address (code.claude.com/docs/en/env-vars,
// 2026-11), so the VM's login shells set it for the rest of the run;
// earlier releases ignore it and always show the full address.
func (n *netRun) claudeLogin() error {
s := n.s
if err := inVM(s, n.vm, "echo 'export CLAUDE_CODE_FULL_SIGN_IN_LINK=1' | sudo tee /etc/profile.d/e2e-claude-link.sh >/dev/null"); err != nil {
return errors.New("the VM's login shells show Claude Code's full address: " + err.Error())
}
fifo := filepath.Join(s.sb.work, "claude.in")
_ = os.Remove(fifo)
madeFile(s.sb, fifo)