From b02617947667913b3fff6b6ad5e805cdd567ed37 Mon Sep 17 00:00:00 2001 From: claude-ceo-assistant Date: Sun, 10 May 2026 19:11:34 -0700 Subject: [PATCH 1/2] fix(ci): add missing working-directory to publish-runtime Publish step MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit First-ever publish-runtime.yml dispatch (run 5097 post-#353, 2026-05-11 02:06Z) failed at the twine upload step: ERROR InvalidDistribution: Cannot find file (or expand pattern): 'dist/*' Cause: the Publish step was missing 'working-directory: ${{ runner.temp }}/runtime-build' while the preceding Build/Verify steps all had it. Result: twine ran from the workspace checkout dir where dist/ doesn't exist. Fix: add working-directory to match the rest of the publish job. This is the second of three workflow defects exposed by #353 finally making the workflow run at all: 1. workflow_dispatch.inputs rejection → fixed in #353 2. Publish step missing working-directory → THIS PR 3. (anything else surfaced by 0.1.130 attempt #2) After merge: push runtime-v0.1.130 again (tag was already pushed once post-#353 but the run failed at publish; need a fresh trigger). Should finally land 0.1.130 on PyPI. Refs: #351, #348 Q3, #353 --- .gitea/workflows/publish-runtime.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitea/workflows/publish-runtime.yml b/.gitea/workflows/publish-runtime.yml index 93124b1e..cefd9259 100644 --- a/.gitea/workflows/publish-runtime.yml +++ b/.gitea/workflows/publish-runtime.yml @@ -139,6 +139,14 @@ jobs: /tmp/smoke/bin/python "$GITHUB_WORKSPACE/scripts/wheel_smoke.py" - name: Publish to PyPI + # working-directory matches the preceding Build/Verify steps. Without + # this, twine runs from the default workspace checkout dir where + # `dist/` doesn't exist and fails with: + # ERROR InvalidDistribution: Cannot find file (or expand pattern): 'dist/*' + # Caught on the first-ever successful dispatch of this workflow + # (run 5097, 2026-05-11 02:08Z) — every other step in the publish + # job already had this working-directory; Publish was missing it. + working-directory: ${{ runner.temp }}/runtime-build env: # PYPI_TOKEN: repository secret scoped to molecule-ai-workspace-runtime. # Set via: Settings → Actions → Variables and Secrets → New Secret. From 1254337f4f744e8f2328390e4e1c4f46e4561493 Mon Sep 17 00:00:00 2001 From: Molecule AI Infra-SRE Date: Mon, 11 May 2026 02:28:43 +0000 Subject: [PATCH 2/2] ci: re-trigger after runner recovery Co-Authored-By: Claude Opus 4.7