Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "chore/drop-github-app-auth-and-ecr-swap"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Two coupled cleanups for the post-2026-05-06 stack
Per Hongming's chat decisions on Tasks #157 + #161 (relayed via orchestrator's CI-green sweep dispatch).
#157 — drop
molecule-ai-plugin-github-app-authThe plugin injected
GITHUB_TOKEN/GH_TOKENvia the App's installation-access flow (~hourly rotation). Per-agent Gitea identities replaced this approach after the 2026-05-06 suspension — workspaces provision with a per-persona Gitea PAT from.envnow. The plugin's source repo on github.com is also unreachable; the CI checkout was already failing.Removed:
workspace-server/cmd/server/main.go—githubappauthimport + theif os.Getenv("GITHUB_APP_ID") != "" {…}block that calledBuildRegistry.gh-identitystays as the active mutator.workspace-server/Dockerfile+Dockerfile.tenant—COPYof the sibling repo + thereplacedirective injection.workspace-server/go.mod+go.sum—github-app-authdep (cleaned viago mod tidy).actions/checkoutof the sibling plugin repo:codeql.yml,harness-replays.yml,publish-workspace-server-image.yml.Verified
go build ./cmd/server+go vet ./...pass post-removal.#161 — GHCR → ECR for
publish-workspace-server-imageghcr.io/molecule-ai/*unreachable post-suspension. ECR org153263036946.dkr.ecr.us-east-2.amazonaws.com/molecule-ai/is the post-suspension SSOT (already hosts platform-tenant + workspace-template-* + runner-base).env.IMAGE_NAME+env.TENANT_IMAGE_NAMErepointed.docker/login-actionswapped for the standardaws-actions/configure-aws-credentials@v4+aws-actions/amazon-ecr-login@v2chain.:staging-<sha>+:staging-latesttag policy is unchanged — staging-CP'sTENANT_IMAGEpin still points at:staging-latest, just with the new registry prefix.Test plan
Refs molecule-core#157, #161, internal#56-followup.
B+C: drops github-app-auth refs (Hongming-decided drop) + GHCR→ECR swap on publish-workspace-server-image (Hongming-decided ECR). 8 files, +43/-87. go build + vet locally clean. Pre-existing infra-class CI separate axis.