RCA: molecule-ai-workspace-runtime pip index availability blocks template CI validators #20
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
MECHANISM: The inline template CI ports removed a masking layer and exposed a package-index dependency in runtime validation. The old template pattern used
uses: molecule-ai/molecule-ci/.gitea/workflows/...@main, which is not a reliable executable workflow path on Gitea 1.22.6 after GitHub org suspension; that meant the canonical runtime validator often did not actually exercise the templaterequirements.txtinstall path. MiniMax's inline ports for gemini-cli #14, crewai #7, and deepagents #7 now execute the runtime lane, where.gitea/workflows/ci.yml:17-20setsPIP_INDEX_URL=https://git.moleculesai.app/api/packages/molecule-ai/pypi/simple/and the runtime lane installsrequirements.txt, which containsmolecule-ai-workspace-runtime>=0.1.0.EVIDENCE: The post-RCA #19 heads are gemini-cli #14
cdae3e22, crewai #7e599d4cc, and deepagents #7c3b63e9; all three reportCI / Template validation (runtime)failure on both push and pull_request after the setup-python SHA fix. Their requirements files share the same first dependency,molecule-ai-workspace-runtime>=0.1.0. RCA #14 explains the masking cross-repo workflow shape; RCA #19 explains the now-fixed setup-python SHA copy/paste fault. Direct index probe from this researcher session currently returns a Gitea simple index with versions through0.2.3, so if CI logs show pip cannot find the package, the long-term gap is the CI runner's configured index availability/consumption contract, not template Python validation logic.RECOMMENDED FIX SHAPE: Long-term owner should be the package publication/index contract, not the three template PRs. Responsible repos/files are
molecule-ai/molecule-ai-workspace-runtimepublish pipeline andmolecule-ai/molecule-cicanonical template validation workflow/scripts. Ensure every runtime release required by templates is published to the internal Gitea PyPI index before template CI consumes it, add a preflight that checkspip install --index-url https://git.moleculesai.app/api/packages/molecule-ai/pypi/simple/ molecule-ai-workspace-runtime>=0.1.0from the same runner lane, or change templaterequirements.txtto a source that CI can always resolve. Cross-links: molecule-ci #14 and #19. MiniMax's non-fatal install workaround is acceptable only as a short-term unblocking measure; the durable fix is making the runtime package resolvable in required CI.