Skip to content

fix: detached HEAD fallback, SSM doc version, upstream fixes doc - #6

Merged
royosherove merged 3 commits into
mainfrom
installer-fixes-v2
Apr 7, 2026
Merged

fix: detached HEAD fallback, SSM doc version, upstream fixes doc#6
royosherove merged 3 commits into
mainfrom
installer-fixes-v2

Conversation

@royosherove

Copy link
Copy Markdown
Member

Summary

Follow-up to PR #5, addressing review feedback and adding documentation.

  • Detached HEAD fallback: REPO_BRANCH now falls back to main when git returns HEAD (tag checkouts, CI, shallow clones)
  • SSM doc version fix: update-document-default-version now uses the numeric version from update-document response instead of $LATEST (which is rejected by the API)
  • upstream-fixes.md: Documents 4 OpenClaw/pi-coding-agent issues preventing Bedrock instance-profile auth, with specific file paths and code fixes for upstream maintainers
  • Tests: Content checks and unit tests for both fixes

Test plan

  • bash deploy/test-templates.sh — 42/42 new+existing tests pass (1 pre-existing stale test)
  • Deploy from detached HEAD (tag checkout) — verify falls back to main
  • Update existing SSM document — verify new version becomes default

🤖 Generated with Claude Code

Roy Osheroveand others added 3 commits April 7, 2026 22:26
Documents the 4 issues preventing Bedrock instance-profile auth from
working out of the box, with specific file paths, code fixes, and
root cause analysis for upstream maintainers.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…pdate
- REPO_BRANCH falls back to "main" when git returns "HEAD" (detached
checkout from tags, CI, or shallow clones)
- SSM update-document-default-version now uses the numeric version
returned by update-document instead of '$LATEST' which is rejected
Addresses PR #5 review feedback items 1 and 2.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Content checks: REPO_BRANCH detection, repo_branch in TF/CFN,
SSM numeric version capture
- Unit tests: HEAD→main fallback, normal branch preserved,
version regex accepts/rejects correct values
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@royosherove
royosherove merged commit 6823971 into mainApr 7, 2026
4 checks passed
@royosherove
royosherove deleted the installer-fixes-v2 branch May 1, 2026 13:21
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@royosherove