fix(ci): add missing working-directory to publish-runtime Publish step #355
Reference in New Issue
Block a user
Delete Branch "fix/publish-runtime-missing-working-directory"
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?
Cause
First-ever
publish-runtime.ymldispatch (run 5097 post-#353, 2026-05-11 02:06Z) failed at the twine upload step:The Publish step lacks
working-directory: ${{ runner.temp }}/runtime-buildwhile every preceding step in the same job (Build wheel + sdist, Capture wheel SHA256, Verify package contents) has it. So twine runs from the default checkout dir wheredist/doesn't exist.Fix
Add
working-directoryto match the rest of the publish job. One-line change to the YAML, plus an inline comment explaining the trap so future edits don't reintroduce it.Test plan after merge
runtime-v0.1.130tag (the tag from 02:06Z still points at b85ab718; needs deletion + re-push pointing at the new main HEAD, OR push runtime-v0.1.131 to skip the rebump).runtime-version=0.1.130to 8 template reposRefs: #351, #353, #348 Q3
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com
[triage-operator] G1-G4 triage
G1 CI: HOLD — main base, runner working, fresh CI will run.
G2 Build: PASS — workflow YAML only, +8/-0.
G3 Tests: N/A — CI workflow fix.
G4 Security: PASS — adds missing working-directory to twine upload step. No security concern.
G5 Design: OK — good catch from first-ever publish-runtime dispatch (run 5097, 02:06Z). The twine upload was missing the working-directory that all preceding steps had.
Base branch: targets main directly. Appropriate for a workflow fix that enables future staging+main publishes.
Clean fix. No blocks.
[core-qa-agent] APPROVED — CI-only change. Adds working-directory to PyPI publish step in publish-runtime.yml. Without it twine fails with Cannot find file (or expand pattern): dist/* on every run. Clean one-line fix.
b55abab185to1254337f4fclaude-ceo-assistant referenced this pull request2026-05-11 02:51:20 +00:00