[Bug] Generated URL exceeds GitHub's maximum length limit
Resolved 💬 2 comments Opened Nov 25, 2025 by tylerlaprade Closed Nov 25, 2025
Bug Description
I reported a different bug, and the issue couldn't be created:
<img width="953" height="389" alt="Image" src="https://github.com/user-attachments/assets/7e599369-c928-4637-8eb2-81b13fb067a7" />
Environment Info
- Platform: darwin
- Terminal: vscode
- Version: 2.0.53
- Feedback ID: 085fd76b-dcaa-4d65-a9bf-db90b4c0fc6c
Errors
[{"error":"Error: Failed to create shell snapshot: Command failed: /bin/zsh -c -l SNAPSHOT_FILE=/Users/tyler/.claude/shell-snapshots/snapshot-zsh-1764088842601-4eu51v.sh\n source \"/Users/tyler/.zshrc\" < /dev/null\n\n # First, create/clear the snapshot file\n echo \"# Snapshot file\" >| \"$SNAPSHOT_FILE\"\n\n # When this file is sourced, we first unalias to avoid conflicts\n # This is necessary because aliases get \"frozen\" inside function definitions at definition time,\n # which can cause unexpected behavior when functions use commands that conflict with aliases\n echo \"# Unset all aliases to avoid conflicts with functions\" >> \"$SNAPSHOT_FILE\"\n echo \"unalias -a 2>/dev/null || true\" >> \"$SNAPSHOT_FILE\"\n\n \n echo \"# Functions\" >> \"$SNAPSHOT_FILE\"\n\n # Force autoload all functions first\n typeset -f > /dev/null 2>&1\n\n # Now get user function names - filter system ones and write directly to file\n typeset +f | grep -vE '^(_|__)' | while read func; do\n typeset -f \"$func\" >> \"$SNAPSHOT_FILE\"\n done\n \n echo \"# Shell Options\" >> \"$SNAPSHOT_FILE\"\n setopt | sed 's/^/setopt /' | head -n 1000 >> \"$SNAPSHOT_FILE\"\n \n echo \"# Aliases\" >> \"$SNAPSHOT_FILE\"\n # Filter out winpty aliases on Windows to avoid \"stdin is not a tty\" errors\n # Git Bash automatically creates aliases like \"alias node='winpty node.exe'\" for\n # programs that need Win32 Console in mintty, but winpty fails when there's no TTY\n if [[ \"$OSTYPE\" == \"msys\" ]] || [[ \"$OSTYPE\" == \"cygwin\" ]]; then\n alias | grep -v \"='winpty \" | sed 's/^alias //g' | sed 's/^/alias -- /' | head -n 1000 >> \"$SNAPSHOT_FILE\"\n else\n alias | sed 's/^alias //g' | sed 's/^/alias -- /' | head -n 1000 >> \"$SNAPSHOT_FILE\"\n fi\n \n\n \n # Check for rg availability\n echo \"# Check for rg availability\" >> \"$SNAPSHOT_FILE\"\n echo \"if ! command -v rg >/dev/null 2>&1; then\" >> \"$SNAPSHOT_FILE\"\n echo ' alias rg='\"'/Users/tyler/.local/share/claude/versions/2.0.53 --ripgrep'\" >> \"$SNAPSHOT_FILE\"\n echo \"fi\" >> \"$SNAPSHOT_FILE\"\n \n\n # Add PATH to the file\n echo \"export PATH=/Users/tyler/.bun/bin\\:/Users/tyler/.nvm/versions/node/v22.16.0/bin\\:/Users/tyler/.local/bin\\:/Library/Frameworks/Python.framework/Versions/3.14/bin\\:/opt/homebrew/bin\\:/opt/homebrew/sbin\\:/usr/local/bin\\:/System/Cryptexes/App/usr/bin\\:/usr/bin\\:/bin\\:/usr/sbin\\:/sbin\\:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin\\:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin\\:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin\\:/usr/local/MacGPG2/bin\\:/Users/tyler/.cargo/bin\\:/Users/tyler/Code/condor_2/.pyprojectx/main\\:/Users/tyler/Code/condor_2/node_modules/.bin\\:/Users/tyler/Code/condor_2/.venv/bin\\:/Users/tyler/.vscode/extensions/ms-python.debugpy-2025.16.0-darwin-arm64/bundled/scripts/noConfigScripts\" >> \"$SNAPSHOT_FILE\"\n \n\n # Exit silently on success, only report errors\n if [ ! -f \"$SNAPSHOT_FILE\" ]; then\n echo \"Error: Snapshot file was not created at $SNAPSHOT_FILE\" >&2\n exit 1\n fi\n \n at <anonymous> (/$bunfs/root/claude:1156:137)\n at <anonymous> (/$bunfs/root/claude:1154:1889)\n at exitHandler (node:child_process:109:27)\n at emit (node:events:98:22)\n at #maybeClose (node:child_process:766:16)\n at #handleOnExit (node:child_process:520:72)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-11-25T16:40:52.606Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.7.content.48: `thinking` or `redacted_thinking` blocks in the latest assistant message cannot be modified. These blocks must remain as they were in the original response.\"},\"request_id\":\"req_011CVUz1ToiGaveq1VjhVzaq\"}\n at generate (/$bunfs/root/claude:415:9437)\n at makeRequest (/$bunfs/root/claude:1262:5434)\n
Note: Error logs were truncated.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗