cli#15/#16 wedged: ci.yml paths filter points at .github (not .gitea) + BP required-context name mismatch #18

Closed
opened 2026-06-10 15:42:57 +00:00 by devops-engineer · 2 comments
Member

Symptom

molecule-cli#15 and #16 cannot merge:

  • #15 (fix stale .github paths filter): combined=success (CI / Test / test green), approved by agent-reviewer + agent-researcher, yet merge returns 405 Not all required status checks successful.
  • #16 (setup-go cache:false): combined=pending, no statuses at all, no CI run.

Named mechanisms

(a) #16 — paths filter excludes the workflow's own dir. .gitea/workflows/ci.yml triggers on paths: ['**.go','go.mod','go.sum','.github/workflows/ci.yml']. The repo is Gitea-hosted (.gitea/, not .github/), so a PR that only edits the workflow YAML matches no path -> CI / Test never fires -> required context absent -> unmergeable forever. #16 only touches the workflow YAML, so it is wedged by exactly this.

(b) #15 — branch-protection required-context name mismatch. #15 fixes (a) (changes the path to .gitea/workflows/ci.yml) and its CI / Test / test (pull_request) ran green, but the merge still reports Not all required status checks successful. The branch-protection required-context list on main references a context name that does not match the emitted CI / Test / test (pull_request) (stale/renamed entry). This is the reference_internal_repo_merge_queue_unfreeze class (required context stuck on a name the workflow no longer emits).

Not bare-rerun

Re-running #16 will never produce a status (path filter); #15's block is a BP config mismatch, not a transient.

Fix (owner action — no available persona token has admin on molecule-cli to read/edit BP)

  1. Merge #15 first (fixes the path filter) by reconciling main branch protection's required status_check_contexts to the actual emitted context CI / Test / test (pull_request) (remove the stale name). Then #15 merges on its existing green + 2 approvals.
  2. After #15 lands, rebase/retarget #16 so its CI fires on the corrected path filter.

🤖 Generated with Claude Code

## Symptom `molecule-cli#15` and `#16` cannot merge: - **#15** (`fix stale .github paths filter`): `combined=success` (`CI / Test / test` green), approved by agent-reviewer + agent-researcher, yet merge returns `405 Not all required status checks successful`. - **#16** (`setup-go cache:false`): `combined=pending`, **no statuses at all**, no CI run. ## Named mechanisms **(a) #16 — paths filter excludes the workflow's own dir.** `.gitea/workflows/ci.yml` triggers on `paths: ['**.go','go.mod','go.sum','.github/workflows/ci.yml']`. The repo is Gitea-hosted (`.gitea/`, not `.github/`), so a PR that only edits the workflow YAML matches **no** path -> `CI / Test` never fires -> required context absent -> unmergeable forever. #16 only touches the workflow YAML, so it is wedged by exactly this. **(b) #15 — branch-protection required-context name mismatch.** #15 *fixes* (a) (changes the path to `.gitea/workflows/ci.yml`) and its `CI / Test / test (pull_request)` ran green, but the merge still reports `Not all required status checks successful`. The branch-protection required-context list on `main` references a context name that does not match the emitted `CI / Test / test (pull_request)` (stale/renamed entry). This is the `reference_internal_repo_merge_queue_unfreeze` class (required context stuck on a name the workflow no longer emits). ## Not bare-rerun Re-running #16 will never produce a status (path filter); #15's block is a BP config mismatch, not a transient. ## Fix (owner action — no available persona token has admin on molecule-cli to read/edit BP) 1. Merge #15 first (fixes the path filter) by reconciling `main` branch protection's required `status_check_contexts` to the actual emitted context `CI / Test / test (pull_request)` (remove the stale name). Then #15 merges on its existing green + 2 approvals. 2. After #15 lands, rebase/retarget #16 so its CI fires on the corrected path filter. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Member

Closing — this was resolved by #15 (ci: reuse Go test cache in PR gate; fix stale .github paths filter), which is already merged to main. The workflow now uses .gitea/workflows/ci.yml in the paths filter and the required context is reconciled.

Closing — this was resolved by #15 (`ci: reuse Go test cache in PR gate; fix stale .github paths filter`), which is already merged to main. The workflow now uses `.gitea/workflows/ci.yml` in the paths filter and the required context is reconciled.
Author
Member

Update — documented wedges resolved; residual is a different (deeper) issue

Re-checked current state:

  • (a) paths filterFIXED: #15 merged 2026-06-11; main's .gitea/workflows/ci.yml correctly lists .gitea/workflows/ci.yml (not .github).
  • (b) BP required-context mismatch — gone: branch_protections/main now has enable_status_check: null / no required contexts, so a green PR is no longer 405-blocked on a missing context.

So the two mechanisms this issue named are resolved.

However there's a separate, deeper symptom: molecule-cli Actions have not fired on ANY pull_request event since 2026-06-11 (PR #16 and #19 both have zero CI runs), even though: Actions is enabled (repo_unit type present), runners are online (robot-1/robot-2 global), the workflow triggers on pull_request with **.go paths, and #19 changes .go files. A close+reopen did not trigger a run either. Push-to-main DOES trigger (run #45 from the #15 merge), so it's specifically pull_request-event scheduling that's wedged for this repo.

Suggest closing this issue (its named wedges are fixed) and opening a focused one: "molecule-cli: Gitea Actions not triggering on pull_request events since 2026-06-11 (push-to-main works)". Impacts PR #19 (workspace migrate-provider) which is code-complete + locally green (go test/vet/gofmt) + mergeable but can't get a CI gate until this is fixed.

## Update — documented wedges resolved; residual is a different (deeper) issue Re-checked current state: - **(a) paths filter** — FIXED: #15 merged 2026-06-11; main's `.gitea/workflows/ci.yml` correctly lists `.gitea/workflows/ci.yml` (not `.github`). - **(b) BP required-context mismatch** — gone: `branch_protections/main` now has `enable_status_check: null` / no required contexts, so a green PR is no longer 405-blocked on a missing context. So the two mechanisms this issue named are resolved. **However** there's a *separate*, deeper symptom: molecule-cli Actions have not fired on ANY `pull_request` event since 2026-06-11 (PR #16 and #19 both have zero CI runs), even though: Actions is enabled (repo_unit type present), runners are online (robot-1/robot-2 global), the workflow triggers on `pull_request` with `**.go` paths, and #19 changes `.go` files. A close+reopen did not trigger a run either. Push-to-main DOES trigger (run #45 from the #15 merge), so it's specifically pull_request-event scheduling that's wedged for this repo. Suggest closing this issue (its named wedges are fixed) and opening a focused one: "molecule-cli: Gitea Actions not triggering on pull_request events since 2026-06-11 (push-to-main works)". Impacts PR #19 (workspace migrate-provider) which is code-complete + locally green (go test/vet/gofmt) + mergeable but can't get a CI gate until this is fixed.
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: molecule-ai/molecule-cli#18