All ExecuteActivity calls were missing StartToCloseTimeout and
ScheduleToCloseTimeout, causing 'BadScheduleActivityAttributes' errors.
- Added 10min timeout for git operations (clone, worktree, push, merge)
- Added 30min timeout for LLM activities (implementer, which calls Claude)
- Git operations use shared ctxWithOptions context
- LLM activities get their own implCtx with longer timeout
- Added time import
Dependencies require go >= 1.25.4. Alpine golang:1.22-alpine doesn't have it.
Use golang:latest which should have Go 1.25+ available. Re-enable orchestrator job.
go.mod required go >= 1.25.4 but golang:1.25-alpine doesn't exist yet.
Downgrade to go 1.23 which is available in Alpine images and sufficient
for the codebase. Update both deployment and job images to golang:1.23-alpine.
- Clone from poimen-workflows.git (correct repo)
- Remove unnecessary gcc and musl-dev (not needed for running Go binaries)
- Fix cd path from /app/workflows to /app
- Clone from poimen-workflows.git (where worker code actually lives)
- Remove unnecessary packages from apk add
- Change workdir to /app (no /workflows subdirectory)
- Fix go run path to ./cmd/worker
- Remove configmap.yaml from resources (conflicted with configMapGenerator)
- Define TEMPORAL_* vars as literals in configMapGenerator
- This fixes the namespace transformation ID conflict
Change configMapGenerator and secretGenerator behavior from 'merge'
to 'create' since target ConfigMap/Secret don't exist on first deploy.
'merge' only works when the resource already exists.
Tests were failing because git worktree add -b branch worktree origin/main
requires origin/main to exist. Now all test setups create main branch after
initial commit so cloned repos have the expected branch.
Worktrees don't inherit git config from main repo, causing 'git commit'
to fail with exit status 128 when user.name/user.email are not set.
Configure with poimen agent identity before each commit.