Skip to content

fix: auto-fix Test all (MacOS) failures on resource-request/ios-emulators#87

Open
github-actions[bot] wants to merge 15 commits into
resource-request/ios-emulatorsfrom
fix/claude-auto-1783909079
Open

fix: auto-fix Test all (MacOS) failures on resource-request/ios-emulators#87
github-actions[bot] wants to merge 15 commits into
resource-request/ios-emulatorsfrom
fix/claude-auto-1783909079

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Failures detected in Test all (MacOS) on branch resource-request/ios-emulators.

This PR was automatically generated by the Claude Test Fixer workflow.

⚠️ AI-generated fix. Please review carefully before merging.

@github-actions

Copy link
Copy Markdown
Contributor Author

Test Failure Logs

Click to expand failure logs from the failed CI run
=== Failed Shard: build-and-test (macos-latest, 1/5) ===
2026-07-13T02:05:18.2767120Z Running command:  which brew
2026-07-13T02:05:18.3091960Z /opt/homebrew/bin/brew
2026-07-13T02:05:18.3111640Z null
2026-07-13T02:05:18.3133250Z  �[32m✓�[39m src/resources/ssh/ssh-key.test.ts �[2m (�[22m�[2m1 test�[22m�[2m)�[22m�[90m 84�[2mms�[22m�[39m
2026-07-13T02:05:18.3264980Z 
2026-07-13T02:05:18.3271530Z �[31m⎯⎯⎯⎯⎯⎯⎯�[1m�[7m Failed Tests 2 �[27m�[22m⎯⎯⎯⎯⎯⎯⎯�[39m
2026-07-13T02:05:18.3273770Z 
2026-07-13T02:05:18.3276950Z �[31m�[1m�[7m FAIL �[27m�[22m�[39m test/codex/codex.test.ts�[2m > �[22mcodex resource integration tests�[2m > �[22mCan install codex
2026-07-13T02:05:18.3284740Z �[31m�[1mError�[22m: [unknown] Spawn Error: on command "bash -c "curl -fsSL https://chatgpt.com/codex/install.sh | CODEX_NON_INTERACTIVE=1 sh"" with exit code: 1
2026-07-13T02:05:18.3293710Z Output:
2026-07-13T02:05:18.3297540Z curl: (56) The requested URL returned error: 403
2026-07-13T02:05:18.3302430Z Could not fetch GitHub release metadata for Codex latest. GitHub API may be unavailable or rate limited.
2026-07-13T02:05:18.3305310Z Last logs:
2026-07-13T02:05:18.3384870Z Running command: bash -c "curl -fsSL https://chatgpt.com/codex/install.sh | CODEX_NON_INTERACTIVE=1 sh"
2026-07-13T02:05:18.3386060Z curl: (56) The requested URL returned error
2026-07-13T02:05:18.3387010Z �[2m Test Files �[22m �[1m�[31m2 failed�[39m�[22m�[2m | �[22m�[1m�[32m9 passed�[39m�[22m�[2m | �[22m�[33m5 skipped�[39m�[90m (16)�[39m
2026-07-13T02:05:18.3387610Z : 403
2026-07-13T02:05:18.3388350Z �[2m      Tests �[22m �[1m�[31m2 failed�[39m�[22m�[2m | �[22m�[1m�[32m24 passed�[39m�[22m�[2m | �[22m�[33m11 skipped�[39m�[90m (37)�[39m
2026-07-13T02:05:18.3388950Z 
2026-07-13T02:05:18.3389110Z �[2m   Start at �[22m 01:59:34
2026-07-13T02:05:18.3389850Z Could not fetch GitHub release metadata for Codex latest. GitHub API may be unavailable or rate limited.
2026-07-13T02:05:18.3390820Z �[2m   Duration �[22m 343.76s�[2m (transform 244ms, setup 1.24s, collect 13.50s, tests 324.58s, environment 2ms, prepare 1.04s)�[22m
2026-07-13T02:05:18.3391350Z 
2026-07-13T02:05:18.3391350Z 
2026-07-13T02:05:18.3391830Z Running command: bash -c "curl -fsSL https://chatgpt.com/codex/install.sh | CODEX_NON_INTERACTIVE=1 sh"
2026-07-13T02:05:18.3392490Z curl: (56) The requested URL returned error: 403
2026-07-13T02:05:18.3392760Z 
2026-07-13T02:05:18.3393250Z Could not fetch GitHub release metadata for Codex latest. GitHub API may be unavailable or rate limited.
2026-07-13T02:05:18.3393680Z 
2026-07-13T02:05:18.3394110Z Running command: bash -c "curl -fsSL https://chatgpt.com/codex/install.sh | CODEX_NON_INTERACTIVE=1 sh"
2026-07-13T02:05:18.3394820Z curl: (56) The requested URL returned error: 403
2026-07-13T02:05:18.3395140Z 
2026-07-13T02:05:18.3395660Z Could not fetch GitHub release metadata for Codex latest. GitHub API may be unavailable or rate limited.
2026-07-13T02:05:18.3396160Z �[39m
2026-07-13T02:05:18.3397040Z �[90m �[2m❯�[22m ChildProcess.<anonymous> node_modules/@codifycli/plugin-test/src/test-utils.ts:�[2m31:20�[22m�[39m
2026-07-13T02:05:18.3397980Z �[90m �[2m❯�[22m ChildProcess.emit node:events:�[2m521:24�[22m�[39m
2026-07-13T02:05:18.3398320Z 
2026-07-13T02:05:18.3399480Z �[31m�[2m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/2]⎯�[22m�[39m
2026-07-13T02:05:18.3399810Z 
2026-07-13T02:05:18.3400580Z �[31m�[1m�[7m FAIL �[27m�[22m�[39m test/ios/ios-simulator.test.ts�[2m > �[22miOS Simulator tests�[2m > �[22mCan create, add a simulator, and destroy iOS simulators
2026-07-13T02:05:18.3401870Z �[31m�[1mError�[22m: [apply_validation] Failed to apply changes to resource: "ios-simulators". Additional changes are needed to complete apply.
2026-07-13T02:05:18.3402770Z Changes remaining:
2026-07-13T02:05:18.3403140Z {
2026-07-13T02:05:18.3403420Z   "operation": "create",
2026-07-13T02:05:18.3403700Z   "parameters": [
2026-07-13T02:05:18.3404020Z     {
2026-07-13T02:05:18.3404270Z       "name": "simulators",
2026-07-13T02:05:18.3404620Z       "operation": "add",
2026-07-13T02:05:18.3405510Z       "currentValue": null,
2026-07-13T02:05:18.3405830Z       "desiredValue": [
2026-07-13T02:05:18.3406170Z         {
2026-07-13T02:05:18.3406520Z           "name": "codify-test-iphone",
2026-07-13T02:05:18.3407020Z           "deviceType": "com.apple.CoreSimulator.SimDeviceType.iPhone-15",
2026-07-13T02:05:18.3407620Z           "runtime": "com.apple.CoreSimulator.SimRuntime.iOS-26-0"
2026-07-13T02:05:18.3408030Z         }
2026-07-13T02:05:18.3408350Z       ]
2026-07-13T02:05:18.3408650Z     },
2026-07-13T02:05:18.3408880Z     {
2026-07-13T02:05:18.3409190Z       "name": "acceptLicense",
2026-07-13T02:05:18.3409840Z       "operation": "add",
2026-07-13T02:05:18.3410160Z       "currentValue": null,
2026-07-13T02:05:18.3410840Z       "desiredValue": true
2026-07-13T02:05:18.3411850Z     },
2026-07-13T02:05:18.3412140Z     {
2026-07-13T02:05:18.3412480Z       "name": "downloadRuntimes",
2026-07-13T02:05:18.3412790Z       "operation": "add",
2026-07-13T02:05:18.3413130Z       "currentValue": null,
2026-07-13T02:05:18.3413470Z       "desiredValue": true
2026-07-13T02:05:18.3413790Z     },
2026-07-13T02:05:18.3414000Z     {
2026-07-13T02:05:18.3414320Z       "name": "destroyRuntimes",
2026-07-13T02:05:18.3414660Z       "operation": "add",
2026-07-13T02:05:18.3414940Z       "currentValue": null,
2026-07-13T02:05:18.3415270Z       "desiredValue": false
2026-07-13T02:05:18.3415540Z     }
2026-07-13T02:05:18.3415830Z   ]
2026-07-13T02:05:18.3416100Z }
2026-07-13T02:05:18.3416320Z Details: {
2026-07-13T02:05:18.3416610Z   "plan": {
2026-07-13T02:05:18.3416970Z     "planId": "77d3cefb-f0d7-411c-aba3-2a87217bedb8",
2026-07-13T02:05:18.3417340Z     "operation": "create",
2026-07-13T02:05:18.3417750Z     "isStateful": false,
2026-07-13T02:05:18.3418150Z     "resourceType": "ios-simulators",
2026-07-13T02:05:18.3418510Z     "parameters": [
2026-07-13T02:05:18.3418870Z       {
2026-07-13T02:05:18.3419220Z         "name": "simulators",
2026-07-13T02:05:18.3419520Z         "operation": "add",
2026-07-13T02:05:18.3419890Z         "previousValue": null,
2026-07-13T02:05:18.3420210Z         "newValue": [
2026-07-13T02:05:18.3420540Z           {
2026-07-13T02:05:18.3420880Z             "name": "codify-test-iphone",
2026-07-13T02:05:18.3421460Z             "deviceType": "com.apple.CoreSimulator.SimDeviceType.iPhone-15",
2026-07-13T02:05:18.3422090Z             "runtime": "com.apple.CoreSimulator.SimRuntime.iOS-26-0"
2026-07-13T02:05:18.3423570Z           }
2026-07-13T02:05:18.3426290Z         ],
2026-07-13T02:05:18.3427440Z         "isSensitive": false
2026-07-13T02:05:18.3428270Z       },
2026-07-13T02:05:18.3429300Z       {
2026-07-13T02:05:18.3430100Z         "name": "acceptLicense",
2026-07-13T02:05:18.3431030Z         "operation": "add",
2026-07-13T02:05:18.3432710Z         "previousValue": null,
2026-07-13T02:05:18.3433680Z         "newValue": true,
2026-07-13T02:05:18.3434980Z         "isSensitive": false
2026-07-13T02:05:18.3435840Z       },
2026-07-13T02:05:18.3436330Z       {
2026-07-13T02:05:18.3437250Z         "name": "downloadRuntimes",
2026-07-13T02:05:18.3438050Z         "operation": "add",
2026-07-13T02:05:18.3438860Z         "previousValue": null,
2026-07-13T02:05:18.3439630Z         "newValue": true,
2026-07-13T02:05:18.3440330Z         "isSensitive": false
2026-07-13T02:05:18.3441120Z       },
2026-07-13T02:05:18.3441870Z       {
2026-07-13T02:05:18.3442750Z         "name": "destroyRuntimes",
2026-07-13T02:05:18.3443460Z         "operation": "add",
2026-07-13T02:05:18.3444650Z         "previousValue": null,
2026-07-13T02:05:18.3445560Z         "newValue": false,
2026-07-13T02:05:18.3446400Z         "isSensitive": false
2026-07-13T02:05:18.3447140Z       }
2026-07-13T02:05:18.3447610Z     ]
2026-07-13T02:05:18.3448160Z   },
2026-07-13T02:05:18.3448730Z   "logs": [
2026-07-13T02:05:18.3449200Z     "      {\r",
2026-07-13T02:05:18.3452120Z     "        \"dataPath\" : \"\\/Users\\/runner\\/Library\\/Developer\\/CoreSimulator\\/Devices\\/FBB59A3F-680B-480A-9B54-B09C06335CD5\\/data\",\r",
2026-07-13T02:05:18.3455380Z     "        \"dataPathSize\" : 4096,\r",
2026-07-13T02:05:18.3457100Z     "        \"logPath\" : \"\\/Users\\/runner\\/Library\\/Logs\\/CoreSimulator\\/FBB59A3F-680B-480A-9B54-B09C06335CD5\",\r",
2026-07-13T02:05:18.3458950Z     "        \"udid\" : \"FBB59A3F-680B-480A-9B54-B09C06335CD5\",\r",
2026-07-13T02:05:18.3467100Z     "        \"isAvailable\" : true,\r",
2026-07-13T02:05:18.3468110Z     "     ",
2026-07-13T02:05:18.3469610Z     "   \"deviceTypeIdentifier\" : \"com.apple.CoreSimulator.SimDeviceType.Apple-TV-1080p\",\r",
2026-07-13T02:05:18.3471220Z     "        \"state\" : \"Shutdown\",\r",
2026-07-13T02:05:18.3472040Z     "        \"name\" : \"Apple TV\"\r",
2026-07-13T02:05:18.3472870Z     "      }\r",
2026-07-13T02:05:18.3474980Z     "    ],\r",
2026-07-13T02:05:18.3476120Z     "    \"com.apple.CoreSimulator.SimRuntime.xrOS-26-4\" : [\r",
2026-07-13T02:05:18.3477250Z     "      {\r",
2026-07-13T02:05:18.3479230Z     "        \"dataPath\" : \"\\/Users\\/runner\\/Library\\/Developer\\/CoreSimulator\\/Devices\\/0C55B1ED-5214-4052-BD73-226D4608BD5C\\/data\",\r",
2026-07-13T02:05:18.3480930Z     "        \"dataPathSize\" : 4096,\r",
2026-07-13T02:05:18.3481500Z     "        \"logPath\" : \"\\/Users\\/runner\\/Library\\/Logs\\/CoreSimulator\\/0C55B1ED-5214-4052-BD73-226D4608BD5C\",\r",
2026-07-13T02:05:18.3482160Z     "        \"udid\" : \"0C55B1ED-5214-4052-BD73-226D4608BD5C\",\r",
2026-07-13T02:05:18.3482510Z     "        \"isAvailable\" : true,\r",
2026-07-13T02:05:18.3483500Z     "        \"deviceTypeIdentifier\" : \"com.apple.CoreSimulator.SimDeviceType.Apple-Vision-Pro-4K\",\r",
2026-07-13T02:05:18.3484050Z     "        \"state\" : \"Shutdown\",\r",
2026-07-13T02:05:18.3484380Z     "        \"name\" : \"Apple Vision Pro\"\r",
2026-07-13T02:05:18.3484700Z     "      }\r",
2026-07-13T02:05:18.3484960Z     "    ]\r",
2026-07-13T02:05:18.3485120Z     "  }\r",
2026-07-13T02:05:18.3485370Z     "}\r",
2026-07-13T02:05:18.3485560Z     "",
2026-07-13T02:05:18.3486320Z     "Running command: xcrun simctl create \"codify-test-iphone\" \"com.apple.CoreSimulator.SimDeviceType.iPhone-15\" \"com.apple.CoreSimulator.SimRuntime.iOS-26-5\"",
2026-07-13T02:05:18.3487080Z     "10B12E59-CB94-44E5-86C4-D3CD87EC70D8\r",
2026-07-13T02:05:18.3487390Z     ""
2026-07-13T02:05:18.3487560Z   ]
2026-07-13T02:05:18.3487940Z }�[39m
2026-07-13T02:05:18.3489890Z �[90m �[2m❯�[22m ChildProcess.<anonymous> node_modules/@codifycli/plugin-test/src/test-utils.ts:�[2m31:20�[22m�[39m
2026-07-13T02:05:18.3493020Z �[90m �[2m❯�[22m ChildProcess.emit node:events:�[2m521:24�[22m�[39m
2026-07-13T02:05:18.3493690Z 
2026-07-13T02:05:18.3494760Z �[31m�[2m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/2]⎯�[22m�[39m
2026-07-13T02:05:18.3495270Z 
2026-07-13T02:05:18.4818110Z ##[error]Process completed with exit code 1.
2026-07-13T02:05:18.5388200Z Node 20 is being deprecated. This workflow is running with Node 24 by default. If you need to temporarily use Node 20, you can set the ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true environment variable. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
2026-07-13T02:05:18.5389510Z Post job cleanup.
2026-07-13T02:05:19.3562400Z [command]/opt/homebrew/bin/git version
2026-07-13T02:05:19.3941390Z git version 2.55.0
2026-07-13T02:05:19.3968570Z Copying '/Users/runner/.gitconfig' to '/Users/runner/work/_temp/6ab67439-4fa2-4044-bb76-c43623aa7f19/.gitconfig'
2026-07-13T02:05:19.3978090Z Temporarily overriding HOME='/Users/runner/work/_temp/6ab67439-4fa2-4044-bb76-c43623aa7f19' before making global git config changes
2026-07-13T02:05:19.3979160Z Adding repository directory to the temporary git global config as a safe directory
2026-07-13T02:05:19.3984280Z [command]/opt/homebrew/bin/git config --global --add safe.directory /Users/runner/work/default-plugin/default-plugin
2026-07-13T02:05:19.4122730Z [command]/opt/homebrew/bin/git config --local --name-only --get-regexp core\.sshCommand
2026-07-13T02:05:19.4202230Z [command]/opt/homebrew/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
2026-07-13T02:05:19.6105840Z [command]/opt/homebrew/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2026-07-13T02:05:19.6223110Z http.https://github.com/.extraheader
2026-07-13T02:05:19.6244390Z [command]/opt/homebrew/bin/git config --local --unset-all http.https://github.com/.extraheader
2026-07-13T02:05:19.6322980Z [command]/opt/homebrew/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
2026-07-13T02:05:19.8408980Z [command]/opt/homebrew/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
2026-07-13T02:05:19.8713040Z [command]/opt/homebrew/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
2026-07-13T02:05:20.1474530Z Cleaning up orphan processes
2026-07-13T02:05:23.4540620Z Terminate orphan process: pid (19758) (zsh)
2026-07-13T02:05:26.3316610Z ##[warning]Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/


@kevinwang5658 kevinwang5658 force-pushed the resource-request/ios-emulators branch from 0d1b1c3 to c7eb744 Compare July 14, 2026 04:26
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.

1 participant