Skip to content

ci(main-broken): load pm-dispatch-queue as a local action - #5031

Merged
dezren39 merged 1 commit into
mainfrom
queue/7516-4867-main-broken-local-action
Nov 3, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/7516-4867-main-broken-local-action

Conversation

@dezren39

@dezren39 dezren39 commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

Why

main broken watcher has not run successfully since 2026-11-03: every run dies in Set up job before any step executes, with

Download action repository 'developing-today/code@main' (SHA:...)
##[error]Could not find file '/home/runner/work/_actions/_temp_.../_staging/code-<sha>/archive'.

Runs affected include 41627469155, 41629527441 and 41665798024 (the latest, on a5966f8d). Because this is the watcher itself, main-tier breakage in the nine watched workflows goes unfiled while it is broken.

Root cause: the job loads the in-repo composite action as an external action repository (developing-today/code/.github/actions/pm-dispatch-queue@main). That makes the runner download the whole repository as an action archive during Set up job; that download consistently fails, and it fails before conditions are evaluated, so no step-level logic can guard against it.

Fix

Check the repository out in the job and reference the action by its local workspace path (./.github/actions/pm-dispatch-queue). A local action is resolved from the checkout, so nothing is downloaded at job setup. contents: read is added because actions/checkout needs it.

No behaviour change: same action, same inputs, same outputs, same create/append paths.

Verification

  • yq parses the workflow; the watch job now lists actions/checkout@v7 first and both dispatch steps use ./.github/actions/pm-dispatch-queue.
  • The real test is a main-branch run: after merge, a workflow_dispatch run of main broken watcher (dry run, run_id=41665798024) exercises the same job setup and must complete success instead of failing in Set up job. Before this change that setup fails on every dispatch too — the action download happens before step conditions are evaluated.

Out of scope / follow-up

flake-inputs-update.yml (pm-dispatch-start@main, pm-dispatch-queue@main) and jules.yml (pm-dispatch-start@main) use the same remote self-reference and fail the same way — flake-inputs-update runs on 2026-10-31, 11-01, 11-02 and 11-03 all failed. They get their own fix track; this PR is scoped to the watcher.

Fixes #4867


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

The watcher failed at 'Set up job' on every run since 2026-11-03 because
the runner could not download developing-today/code as an action archive
('Could not find file .../_staging/code-<sha>/archive'), so no main
breakage was filed (issue #4867, runs 41627469155, 41629527441,
41665798024).

Check the repo out first and use the in-repo composite action path
instead, which needs no action-repository download.

Fixes #4867
@dezren39
dezren39 requested a review from a team as a code owner November 3, 2026 16:44
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-11-03T16:44:14.209593Z
We couldn’t complete this review. Comment @codex review to try again.
06b66a0 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Nov 3, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 19 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6e3d35af-6a22-4209-b67c-a6d67c5a12f5
Commits

Reviewing files that changed from the base of the PR and between 1e8838f and 06b66a0.

Files selected for processing: 1
  • .github/workflows/main-broken.yml
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@dezren39
dezren39 merged commit 2a0acb9 into main Nov 3, 2026
1 check passed
@dezren39
dezren39 deleted the queue/7516-4867-main-broken-local-action branch November 3, 2026 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

main CI failure: main broken watcher (run 41627469155)

1 participant