Menu

#373 fix(runtime): check out repo in publish jobs (exit 127 — publish never ran)

closed
nobody
None
2026-06-30
2026-06-30
Anonymous
No

Originally created by: Akarsh-Hegde

Hotfix for the auto-publish regression from [#372]

[#372] extracted the channel-publish logic into scripts/publish-runtime-channel.sh, but the publish-staging / publish-production jobs in build-mlx-runtime.yml never run actions/checkout, so the script isn't on disk → bash: scripts/publish-runtime-channel.sh: No such file or directory (exit 127). The gate/build/smoke jobs all check out; only the two publish jobs were missed in the inline→script refactor.

Caught on the first real auto-publish — the [#372] merge to pre-main ran: gate ✓, build (1.64.1) ✓, smoke macOS 14/15/26 ✓, then publish-staging failed (exit 127). So runtime-staging is still stuck at 1.63.0 (the broken-worklog runtime). Failed run

Fix

Add actions/checkout@v7 as the first step in both publish jobs — before download-artifact, because actions/checkout cleans the workspace by default and would otherwise wipe the just-downloaded dist/.

After merge

Re-triggers the workflow on pre-main; the gate still sees 1.64.1 > 1.63.0 → builds + (this time) publishes runtime-staging at 1.64.1, carrying the [#365] WORKLOG_SYSTEM fix.

Known follow-up (separate, not in this PR)

scripts/build-mlx-runtime.sh:59 fetches python-build-standalone from api.github.com unauthenticated (60/hr/IP) — it 403'd on the first attempt, cleared on rerun. Worth authenticating with GITHUB_TOKEN before the one-shot prod runtime-latest publish, where a 403 would block the fix reaching customers.

🤖 Generated with Claude Code

Related

Tickets: #365
Tickets: #372
Tickets: #375

Discussion

  • Anonymous

    Anonymous - 2026-06-30

    Originally posted by: coderabbitai[bot]

    [!IMPORTANT]

    Review skipped

    Auto reviews are disabled on base/target branches other than the default branch.

    Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.


    ⚙️ Run configuration

    Configuration used: Organization UI

    Review profile: ASSERTIVE

    Plan: Pro Plus

    Run ID: cd9a66c5-499b-46f6-832b-3db77f6549ba

    You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

    Use the checkbox below for a quick retry:
    - [ ] 🔍 Trigger review

    ✨ Finishing Touches
    🧪 Generate unit tests (beta) - [ ] Create PR with unit tests - [ ] Commit unit tests in branch `fix/runtime-publish-checkout`

    Comment @coderabbitai help to get the list of available commands.

     
  • Anonymous

    Anonymous - 2026-06-30

    Ticket changed by: Akarsh-Hegde

    • status: open --> closed
     

Log in to post a comment.