GoogleCloudPlatform / GoogleCloudPlatform/scion

Support non-interactive auth-file Kubernetes rounds

Open
#215 2 comments 0 reactions 0 assignees View on GitHub
area:auth area:harness type:feature
Dominant language
Go
Stars
1.7k
Forks
263
Avg merge
7h 6m
Merged PRs (30d)
447

Description

## Problem
Scion Ops Kubernetes rounds exposed several upstream Scion issues:

- file secrets restored through Hub can arrive base64-encoded, but Kubernetes runtime was mounting the encoded bytes directly
- workspace sync can fail when a mounted home/config file already exists in the agent image
- Gemini CLI starts were using --prompt-interactive, which can leave a Kubernetes agent in an interactive TUI instead of completing a non-interactive task
- shallow clone/fetch of branches with slash names did not always create origin/ for checkout
- unknown git fetch/clone failures were reported as possible token failures even when the output did not indicate auth

## Desired outcome
Kubernetes broker agents should start non-interactively with auth-file credentials, fetch branch names reliably, and report git failures accurately enough for operators to debug.

## Verification
- go test ./pkg/runtime ./pkg/harness ./cmd/sciontool/commands
- deploy the dev Scion binary into the scion-ops kind Hub
- start and monitor a Kubernetes scion-ops MCP round through final review

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by running the verification command against pkg/runtime, pkg/harness, and cmd/sciontool/commands, then trace the Kubernetes round startup and git fetch paths involved in the reported failures. Deploy the dev Scion binary into the scion-ops kind Hub and monitor a Kubernetes scion-ops MCP round; done means non-interactive auth-file rounds complete, slash-named branches check out, and non-auth git errors remain distinguishable.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, go, kubernetes
Domain
cli, devops, infrastructure, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.