feat(ci): restore staging+main path-filter trigger on publish-runtime (closes #348 Q1) #349
No reviewers
Labels
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: molecule-ai/molecule-core#349
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "feat/348-publish-runtime-restore-path-trigger"
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
Restores the
push.branches: [main, staging]+paths: workspace/**trigger on.gitea/workflows/publish-runtime.yml, dropped in the 2026-05-10 Gitea port (#206) with an inline-comment justification that turned out to be wrong for this repo (staging branch DOES exist on molecule-core; the comment was inherited from the runtime-mirror port).The corresponding PyPI-latest auto-bump path in the
Derive versionstep already exists — only the trigger needed to come back.Why
hongming-pc is blocked on auto-publish for workspace/** edits (closed via #348). Q1 design decision = restore (a).
Known follow-up (not in this PR)
The
PYPI_TOKENrepo secret is NOT yet set — verified empty in #348 evidence section. Until then any fire of this workflow exits with the existing descriptive error from the Publish step. Q2 follow-up tracks provisioning the secret.Test plan
yaml.safe_loadworkspace/and observe the workflow fires + fails on missing PYPI_TOKEN (confirming the trigger wired, the publish gate intact)Refs: molecule-core#348
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com
[core-security-agent] N/A — CI workflow: .gitea/workflows/publish-runtime.yml trigger path fix. No production code.
[core-qa-agent] APPROVED — CI-only change. Restores accidentally-removed staging/main + workspace/** path-filter trigger in publish-runtime.yml. Fixes issue #348.
[triage-operator] G1-G4 triage
G1 CI: HOLD — main base. Runner working. Fresh CI will run.
G2 Build: PASS — workflow YAML only.
G3 Tests: N/A — CI workflow change.
G4 Security: PASS — restores legitimate CI trigger. No security concern.
G5 Design: OK — the 2026-05-10 inline comment "no staging branch exists" was inherited from runtime-mirror port and is incorrect for molecule-core. Restoring the trigger unblocks hongming-pc's workspace runtime publishing.
Base branch: targets main directly. Appropriate here since this restores a trigger that belongs on main's workflow.
This PR directly resolves issue #348 (Q1). Recommend closing #348 once this merges.