Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(hogli): rename signing key env var off GIT_ prefix (#57983)

Raúl Negrón-Oterod5364895bcc4
diff --git a/tools/hogli-commands/hogli_commands/devbox/coder.py b/tools/hogli-commands/hogli_commands/devbox/coder.py
index 06bdd890b18f..8011d6e01a02 100644
--- a/tools/hogli-commands/hogli_commands/devbox/coder.py
+++ b/tools/hogli-commands/hogli_commands/devbox/coder.py
@@ -37,10 +37,12 @@ DOTFILES_BRANCH_PARAMETER = "dotfiles_branch"
JETBRAINS_IDES_PARAMETER = "jetbrains_ides"
# Per-user Coder secret holding the SSH public key used to sign commits inside
-# workspaces. Injected as the GIT_SIGNING_KEY env var on every workspace start
-# (including coder task runs); the workspace template reads it to populate
-# user.signingkey. The matching private key never leaves 1Password.
-GIT_SIGNING_KEY_SECRET = "GIT_SIGNING_KEY"
+# workspaces. Injected as the POSTHOG_GIT_SIGNING_KEY env var on every workspace
+# start (including coder task runs); the workspace template reads it to populate
+# user.signingkey. The matching private key never leaves 1Password. The `GIT_`
+# prefix is reserved by Coder, so the workspace-side env name cannot start with
+# it.
+GIT_SIGNING_KEY_SECRET = "POSTHOG_GIT_SIGNING_KEY"
# Default values for all optional template parameters. Passing these explicitly