]> Piment Noir Git Repositories - freqai-strategies.git/commitdiff
fix(devcontainer): disable gh config mount to avoid migration bug
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sat, 14 Feb 2026 23:57:39 +0000 (00:57 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Sat, 14 Feb 2026 23:58:34 +0000 (00:58 +0100)
Prevents gh cli from failing due to multi-account migration when
keyring (dbus) is unavailable. GITHUB_TOKEN env var is used instead.

See: https://github.com/cli/cli/issues/8441

ReforceXY/.devcontainer/devcontainer.json
quickadapter/.devcontainer/devcontainer.json

index 01992e527f0305eb3f9e5e3795176bd820d14071..13ac5d83b03eeae0cb4023e2b919e9fcaea9fb50 100644 (file)
@@ -11,7 +11,7 @@
   "mounts": [
     "source=${localWorkspaceFolder}/..,target=${localWorkspaceFolder}/..,type=bind,consistency=cached",
     "source=${localEnv:HOME}/.config/opencode,target=/home/ftuser/.config/opencode,type=bind,consistency=cached",
-    "source=${localEnv:HOME}/.config/gh,target=/home/ftuser/.config/gh,type=bind,consistency=cached",
+    // "source=${localEnv:HOME}/.config/gh,target=/home/ftuser/.config/gh,type=bind,consistency=cached",
     "source=${localEnv:HOME}/.local/share/opencode,target=/home/ftuser/.local/share/opencode,type=bind,consistency=cached",
     "source=${localEnv:HOME}/.local/state/opencode,target=/home/ftuser/.local/state/opencode,type=bind,consistency=cached",
     "source=${localEnv:HOME}/.cache/opencode,target=/home/ftuser/.cache/opencode,type=bind,consistency=cached",
index 1a41daa27aadb49ae6fd78605b514db10c58a015..e220f57d8a4bb4827d4e7ff1569f405b3691cf9f 100644 (file)
@@ -11,7 +11,7 @@
   "mounts": [
     "source=${localWorkspaceFolder}/..,target=${localWorkspaceFolder}/..,type=bind,consistency=cached",
     "source=${localEnv:HOME}/.config/opencode,target=/home/ftuser/.config/opencode,type=bind,consistency=cached",
-    "source=${localEnv:HOME}/.config/gh,target=/home/ftuser/.config/gh,type=bind,consistency=cached",
+    // "source=${localEnv:HOME}/.config/gh,target=/home/ftuser/.config/gh,type=bind,consistency=cached",
     "source=${localEnv:HOME}/.local/share/opencode,target=/home/ftuser/.local/share/opencode,type=bind,consistency=cached",
     "source=${localEnv:HOME}/.local/state/opencode,target=/home/ftuser/.local/state/opencode,type=bind,consistency=cached",
     "source=${localEnv:HOME}/.cache/opencode,target=/home/ftuser/.cache/opencode,type=bind,consistency=cached",