fix(workspaces): sync credentials into isolated config directory for remote auth

This commit is contained in:
mkorwel
2026-03-18 12:32:35 -07:00
parent 496a85f46b
commit 489b36d5b2
2 changed files with 10 additions and 5 deletions
@@ -242,6 +242,11 @@ and full builds) to a dedicated, high-performance GCP worker.
await provider.sync(tmpSettingsPath, `${remoteConfigDir}/settings.json`);
fs.unlinkSync(tmpSettingsPath);
// Sync credentials into the isolated config as well
if (fs.existsSync(path.join(env.HOME || '', '.gemini/google_accounts.json'))) {
await provider.sync(path.join(env.HOME || '', '.gemini/google_accounts.json'), `${remoteConfigDir}/google_accounts.json`);
}
// Final Repo Sync
console.log(`🚀 Finalizing Remote Repository (${userFork})...`);
const repoUrl = `https://github.com/${userFork}.git`;