Isolate ENTIRE_CONFIG_DIR · Entire

Isolate ENTIRE_CONFIG_DIR

8fafba5→main·

pjbgf·2d ago·1 file·+3 added/-0 removed

Co-authored-by: Copilot Autofix powered by AI 175728472+Copilot@users.noreply.github.com

Changes

1

104 unmodified lines

105
106
107
108
109
110
111
112
113

104 unmodified lines

t.Setenv("ENTIRE_TOKEN", makeTestJWT(t, `{"iss":"https://auth.entire.io","sub":"user-1","handle":"alice","aud":"https://entire.io"}`))
    repoDir := t.TempDir()
    testutil.InitRepo(t, repoDir)
    testutil.IsolateGitConfigEnv(t)
    t.Setenv("ENTIRE_CONFIG_DIR", t.TempDir())
    t.Setenv("XDG_CACHE_HOME", t.TempDir())
    cmd := exec.CommandContext(t.Context(), "git", "remote", "add", "origin", "git@github.com:acme/app.git")
    cmd.Dir = repoDir
    cmd.Env = testutil.GitIsolatedEnv()

Mcmd/entire/cli/agent_help_cmd_test.go+3