spec-kit icon indicating copy to clipboard operation
spec-kit copied to clipboard

[Bug]: devcontainer post-create.sh fails on Kiro CLI 404, blocking uv, DocFx, Kimi and CodeBuddy installs

Open jbespi opened this issue 6 months ago • 3 comments

Bug Description

The post-create.sh script exits early when Kiro CLI installation fails with a 404 error, everything after Kiro is never installed: uv, DocFx, Kimi CLI, and CodeBuddy.

Steps to Reproduce

  1. Clone spec-kit
  2. Open in VS Code → "Dev Containers: Open Folder in Container..."
  3. Wait for container build to complete

Expected Behavior

All tools defined in post-create.sh are installed, even if Kiro CLI installation fails.

Actual Behavior

The script stops at Kiro CLI and never installs uv, DocFx, Kimi CLI, and CodeBuddy.

Specify CLI Version

uv not installed ...

AI Agent

Not applicable

Operating System

macos 26.5

Python Version

uv was never installed due to this bug

Error Logs

🤖 Installing Kiro CLI...
[ERROR] Command failed (Exit Code 22): curl -fsSL "https://kiro.dev/install.sh" -o "/tmp/tmp.IxPtRpp6RF"
curl: (22) The requested URL returned error: 404
[468580 ms] postCreateCommand from devcontainer.json failed with exit code 22. Skipping any further user-provided commands.

Additional Context

Confirmed the issue is not network-related:

vscode ➜ /workspaces/spec-kit (main) $ curl -fsSL "https://kiro.dev/install.sh" -o /tmp/test-kiro.sh; echo "Exit code: $?"
curl: (22) The requested URL returned error: 404
Exit code: 22
vscode ➜ /workspaces/spec-kit (main) $ curl -fsSL "https://google.com" -o /dev/null && echo "OK"
OK

jbespi avatar May 16 '26 17:05 jbespi

@wondr-wclabs are you still on #2864? Changes were requested on 2026-06-09 and it has been quiet for a month. Happy to take over and finish it if you are short on time, keeping your commits. Otherwise all yours.

marcelsafin avatar Jul 08 '26 20:07 marcelsafin

This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed in 30 days if no further activity occurs.

github-actions[bot] avatar Sep 11 '26 00:09 github-actions[bot]

This issue has been automatically closed after 90 days without activity. To request reconsideration, please provide updated reproduction details, the currently affected version or environment, and the present impact. Ask a maintainer to reopen this issue if it is fundamentally the same problem. If the scope or reproduction has materially changed, create a new issue, link this one, and explain what has changed.

github-actions[bot] avatar Oct 11 '26 01:10 github-actions[bot]