Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update-docs-markdown GitHub Action runs have started failing #2834

Closed
claremacrae opened this issue May 18, 2024 · 4 comments · Fixed by #2838
Closed

update-docs-markdown GitHub Action runs have started failing #2834

claremacrae opened this issue May 18, 2024 · 4 comments · Fixed by #2838
Labels
scope: documentation Improvements or additions to documentation type: internal Only regards development or contributing

Comments

@claremacrae
Copy link
Collaborator

claremacrae commented May 18, 2024

Description

update-docs-markdown.yml runs have started failing recently - but the pattern when it broke is not obvious.

image

Required Steps

Unknown.

Example failing job

https://github.com/obsidian-tasks-group/obsidian-tasks/actions/runs/9101180951/job/25017746342

Error output

The section that fails is:

Install modules

Run yarn
  yarn
  shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
yarn install v1.22.22
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
warning " > esbuild-sass-plugin@3.2.0" has incorrect peer dependency "esbuild@^0.20.1".
warning " > esbuild-sass-plugin@3.2.0" has unmet peer dependency "sass-embedded@^1.71.1".
warning " > obsidian@1.2.5" has unmet peer dependency "@codemirror/state@^6.0.0".
[5/5] Building fresh packages...
error D:\a\obsidian-tasks\obsidian-tasks\node_modules\approvals: Command failed.
Exit code: 1
Command: node install_dependencies.js
Arguments: 
Directory: D:\a\obsidian-tasks\obsidian-tasks\node_modules\approvals
Output:
node:internal/child_process:414
    throw errnoException(err, 'spawn');
    ^

Error: spawn EINVAL
    at ChildProcess.spawn (node:internal/child_process:414:11)
    at spawn (node:child_process:761:9)
    at Object.<anonymous> (D:\a\obsidian-tasks\obsidian-tasks\node_modules\approvals\install_dependencies.js:7:13)
    at Module._compile (node:internal/modules/cjs/loader:1364:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
    at Module.load (node:internal/modules/cjs/loader:1203:32)
    at Module._load (node:internal/modules/cjs/loader:1019:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
    at node:internal/main/run_main_module:28:49 {
  errno: -4071,
  code: 'EINVAL',
  syscall: 'spawn'
}

Node.js v18.20.2
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Error: Process completed with exit code 1.

How to Test

No response

@claremacrae claremacrae added type: internal Only regards development or contributing scope: documentation Improvements or additions to documentation labels May 18, 2024
@claremacrae
Copy link
Collaborator Author

Example working build

https://github.com/obsidian-tasks-group/obsidian-tasks/actions/runs/9091148389
Merge pull request #2826 from obsidian-tasks-group/fix-dependency-aut… #583

Log begins:

Current runner version: '2.316.1'
Operating System
Microsoft Windows Server 2022
10.0.20348
Datacenter
Runner Image
Image: windows-2022
Version: 20240421.1.0
Included Software: https://github.com/actions/runner-images/blob/win22/20240421.1/images/windows/Windows2022-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/win22%2F20240421.1
Runner Image Provisioner
2.0.369.1

@claremacrae
Copy link
Collaborator Author

Example failing build

https://github.com/obsidian-tasks-group/obsidian-tasks/actions/runs/9101180951
Merge pull request #2828 from obsidian-tasks-group/disable-dependency… #584

Log begins:

Current runner version: '2.316.1'
Operating System
Microsoft Windows Server 2022
10.0.20348
Datacenter
Runner Image
Image: windows-2022
Version: 20240514.3.0
Included Software: https://github.com/actions/runner-images/blob/win22/20240514.3/images/windows/Windows2022-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/win22%2F20240514.3
Runner Image Provisioner
2.0.369.1

@claremacrae
Copy link
Collaborator Author

Comparison between working and failing images:

actions/runner-images@win22/20240421.1...win22/20240514.3

@claremacrae
Copy link
Collaborator Author

Looking at the 'Included software' links above, there is a prominent reference to:

Which says:

The images rollout process will start on May, 13 and take 3-4 days.

So that will likely be the cause...

I am not sure of the solution though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: documentation Improvements or additions to documentation type: internal Only regards development or contributing
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant