Skip to content

[macOS runner] Identical twin repos throw different results when running the same workflow #3921

Closed
@martincapello

Description

@martincapello

Describe the bug
We started getting the following output when running a workflow in a private repository a few days ago:
Image

The issue is the part where it says:

/var/folders/y6/nj790rtn62lfktb1sh__79hc0000gn/T/createdmg.tmp.XXXXXXXXXX.JeR9Zh8CMa:396:408: execution error: Finder got an error: AppleEvent timed out. (-1712)

After a long search of similar issues and trying lots of possible fixes without luck. I ended up creating a new private repository with the same content as the one I was using, in other words, I made a copy.
Then to my surprise, running the same workflow in this repository outputs the following:

Image

Which is good, because the following error is the one I was expecting:

/var/folders/y6/nj790rtn62lfktb1sh__79hc0000gn/T/createdmg.tmp.XXXXXXXXXX.iVOkU1Q0Yj:1019:1074: execution error: Finder got an error: Can’t set item "Aseprite.app" of disk "dmg.DKz77u" to true. (-10006)

To Reproduce
There is no way to reproduce this...in fact there were a few times that the workflow succeeded at the original repository...so it seems like a random behavior with a probability of failure of 99%. In the other hand, in the copied repository the workflow run always works.
EDIT: I've found out that is actually fails every single time when the Set up job outputs this data:

Runner Image Provisioner
  Hosted Compute Agent
  Version: 20250620.352
  Commit: f262f3aba23b10ea191b2a62bdee1ca4c3d344da
  Build Date: 2025-06-20T19:27:17Z
Runner Image
  Image: macos-14-arm64
  Version: 20250623.1617

Expected behavior
As shown in the above screenshot for the repository copy.

Runner Version and Platform

This is the data of the runner that executes the workflow that fails:
Image

This is the data of the runner that executes the workflow that succeed:
Image

So, I'm wondering if for some reason the runner for the original repository is broken in some way...then by making a copy, the new repository got a new fresh runner that is not broken...I don't really know.

Is there any way to reassign a runner to a repository? Or something like that? Because otherwise we will have to use the repository copy, and destroy the original, but we will have to recreate all the secrets in the new repo...which is really annoying to say the least.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions