fix(ci): remove 3 silently-dead .github/ workflows using workflow_run (task #81) #1541
Reference in New Issue
Block a user
Delete Branch "fix/ci-remove-dead-workflow-run-task81"
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
Deletes three workflow files under
.github/workflows/that were silently dead in molecule-core. Each had two independent reasons it could never have fired:.gitea/workflows/only —.github/workflows/is unscanned (perreference_molecule_core_actions_gitea_only).on: workflow_run:, which Gitea 1.22.6 does not implement (perlint-workflow-yaml.pyRule 2 /feedback_pull_request_review_no_refirefamily).Files removed → live replacement
.gitea/workflows/.github/workflows/canary-verify.ymlpublish-workspace-server-imagelands a new:staging-<sha>; promote to:lateston green.staging-verify.yml(push+paths on staging-branch publish-workflow edit) +staging-smoke.yml(schedule: '*/30 * * * *').github/workflows/redeploy-tenants-on-main.yml/redeploy-fleetafter every main publish.redeploy-tenants-on-main.yml(workflow_dispatch:, called by the publish-image workflow's own ship-lane).github/workflows/redeploy-tenants-on-staging.ymlredeploy-tenants-on-staging.yml(push: + workflow_dispatch:)The live
.gitea/versions landed in commit2ee7cb14(2026-05-12, "fix(ci): replace workflow_run triggers with push+paths (Gitea 1.22.6)") for the redeploy pair.canary-verify's function was split into the staging-verify/staging-smoke pair as part of the canary→staging rename (ae30cdef).Why this is risk-free
main.Why not refactor in place to
schedule:/push:like task #81 suggested?The schedule/push refactor was already done — under
.gitea/workflows/where the runner actually looks. Re-creating those triggers in.github/workflows/would double-fire-or-not-fire depending on which dir the runner scans (today:.gitea/only; if that ever changes, both copies would fan out duplicate deploys). The clean deliverable for task #81 in this repo is removal of the dead-letter copies, since the live ones are already on a supported trigger.Test plan
CI / all-required)lint-workflow-yamlcontinues to pass (it only scans.gitea/workflows/, so this PR is a no-op for it — but verifies no regression)grep -r workflow_run .gitea/workflows/ .github/workflows/returns no matches after mergestagingtriggers.gitea/workflows/redeploy-tenants-on-staging.ymlas today (no behavioral change)Not auto-merge per task #81 directive.
Refs:
feedback_pull_request_review_no_refire,reference_molecule_core_actions_gitea_only,feedback_gitea_workflow_dispatch_inputs_unsupported, lint rule 2 in.gitea/scripts/lint-workflow-yaml.py.5-axis review (code-review-and-quality):
Approved as non-author whitelist-counted vote per reference_merge_gate_model_changed_2026_05_18 (req_approvals=2). Two-eyes preserved: orchestrator did substance review (full diff read); core-qa casts the vote.
5-axis (code-review-and-quality):
Non-author whitelist-counted vote per reference_merge_gate_model_changed_2026_05_18 (req_approvals=2). Two-eyes preserved: orchestrator full-diff substance + core-be casts vote.