Skip to content

Commit fd238cf

Browse files
authored
Merge pull request #8 from toddaheath/chore/update-command-history-s4
Update COMMAND_HISTORY.md with session 4 commands
2 parents de2ddc5 + 4bcd100 commit fd238cf

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

COMMAND_HISTORY.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,19 @@ Claude Code: When starting a new conversation, read this file to understand what
8989

9090
### Command 7: Update documentation, commit, merge PR #6
9191
**Result**: No documentation was out of date (`CLAUDE.md` has no references to auth or undo/redo; UI README is default Vite scaffold). Merged PR #6 into `main` (fast-forward), deleted branch.
92+
93+
---
94+
95+
## Session 4 — 2026-02-22
96+
97+
### Command 1: Investigate why the SPA is not getting deployed to dev and prod
98+
**Result**: Diagnosed two distinct issues:
99+
100+
**Dev** — All three pods (api, postgres, ui) were timing out after 5 minutes with `Available: 0/1`. Root cause: AKS kubelet managed identity had no role assignments and could not pull images from ACR. Fixed by running `az aks update --attach-acr acrheathrobotics` on `aks-heathrobotics-dev`.
101+
102+
**Prod** — Deployment failed immediately at `Get AKS credentials` with `Error: Input required and not supplied: resource-group`. Root cause: `production` GitHub environment was missing `RESOURCE_GROUP` and `AKS_CLUSTER_NAME` variables (only `dev` had been populated). Fixed by setting `RESOURCE_GROUP=rg-heathrobotics-prod` and `AKS_CLUSTER_NAME=aks-heathrobotics-prod` in the `production` environment, and granting ACR pull to the prod cluster (`az aks update --attach-acr acrheathrobotics` on `aks-heathrobotics-prod`).
103+
104+
**Staging** — Same missing variables discovered proactively. No staging cluster exists; set `RESOURCE_GROUP=rg-heathrobotics-dev` and `AKS_CLUSTER_NAME=aks-heathrobotics-dev` so staging shares the dev cluster (different namespace).
105+
106+
### Command 2: Update command history
107+
**Result**: Added session 4 entries to COMMAND_HISTORY.md, committed and merged via PR.

0 commit comments

Comments
 (0)