Skip to content

Fix startup failure: move git config from entrypoint to Python#51

Merged
max-tet merged 1 commit intomainfrom
fix/entrypoint-config-vars
Mar 21, 2026
Merged

Fix startup failure: move git config from entrypoint to Python#51
max-tet merged 1 commit intomainfrom
fix/entrypoint-config-vars

Conversation

@max-tet
Copy link
Copy Markdown
Collaborator

@max-tet max-tet commented Mar 21, 2026

Summary

  • The entrypoint.sh script expected CLAYDE_GIT_NAME/CLAYDE_GIT_EMAIL as shell environment variables, but they're only defined in data/config.env which is read by pydantic-settings inside the Python app — causing the container to fail on startup.
  • Removed entrypoint.sh entirely and moved git identity configuration into orchestrator.main(), right next to the existing GH_TOKEN export where settings are already loaded.
  • Simplified the Dockerfile to run clayde directly as the entrypoint.

Test plan

  • All 279 existing tests pass
  • Deploy container and verify git identity is configured correctly
  • Verify git log on commits made by Clayde shows correct name/email

🤖 Generated with Claude Code

The entrypoint.sh expected CLAYDE_GIT_NAME/EMAIL as environment
variables, but they are only in data/config.env which is read by
pydantic-settings inside the Python app. Remove the entrypoint script
and configure git identity in orchestrator.main() where settings are
already available.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@max-tet max-tet merged commit ee9192c into main Mar 21, 2026
2 checks passed
@max-tet max-tet deleted the fix/entrypoint-config-vars branch March 21, 2026 06:55
Sign up for free to 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