fix(post-suspension): redirect clone-manifest to Gitea (Class G #168 followup) #42
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/post-suspension-clone-manifest"
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?
Summary
Followup to PR #40 (Class G #168). The original PR caught all explicit
github.com/Molecule-AI/<repo>URL literals but missed two indirect forms:scripts/clone-manifest.sh:50,52—https://github.com/${repo}.git(variable repo path, noMolecule-AIliteral so the Class-G regex didn't match)manifest.json—"Molecule-AI/<repo>"(nogithub.comprefix in the JSON; the script prepends it)Together these are what
Dockerfile.tenantstage-3 actually fetches. PR #40 alone leaves the staging Harness Replays workflow failing with:because the in-image clone loop still hits github.com.
Changes
scripts/clone-manifest.sh: both clone URLs migrated tohttps://git.moleculesai.app/${repo}.git(anonymous public clones work for these repos).manifest.json: lowercasedMolecule-AI/→molecule-ai/to match the canonical Gitea org slug (Gitea is case-insensitive so both work but lowercase matches every other URL in the org + what main's already-merged clone-manifest.sh from PR #38 standardises on).Why minimal
Sister #173 already shipped a more sophisticated version on main (optional
MOLECULE_GITEA_TOKEN+ per-build pre-clone in.tenant-bundle-deps/). When auto-sync resolves the current staging↔main conflict, this minimal version gets superseded by the main version naturally. This PR's only job is to unblock harness-replays in the meantime.Test plan
clone-manifest.shstep./scripts/clone-manifest.sh manifest.json /tmp/ws /tmp/org /tmp/pluginssucceeds against the Gitea URLsGenerated with Claude Code.
LGTM — Class G #168 followup. Minimal-diff staging unblock.
Ghost referenced this pull request2026-05-07 20:41:21 +00:00