question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Workflows suddenly failing with "Error in fetching the workflow file"

See original GitHub issue

Describe the bug We experience a fail with workflows paths during builds while using reusable workflows. The files are unchanged and some workflows fail with the aforementioned parse error. It fails on different paths every-time and some times it does not fail. This is on a pipeline that has been stable for the past year or so.

For example this is from 30mins ago Screenshot 2022-12-06 at 17 54 55

while this is from 15mins ago, same path fails in the first and succeeds in the other attempt. Files are unchanged. Screenshot 2022-12-06 at 17 55 36

For example

- error parsing called workflow "./.github/workflows/build-node.yml": error in fetching the workflow file
- error parsing called workflow "./.github/workflows/push-docker-images.yml": error in fetching the workflow file

To Reproduce Steps to reproduce the behavior:

  1. Trigger reusable workflows
  2. See error from time to time / does not happen every time

Expected behavior Files and paths are correct. They worked for a year without this and it is been like 3 hours that 50% of the builds fail with a different path parse error. The same workflows work as well, it is not consistent or a problem of paths.

Runner Version and Platform

Version of your runner? github managed - ubuntu latest - 2.299.1

OS of the machine running the runner? Linux

What’s not working?

Screenshot 2022-12-06 at 17 54 55 Screenshot 2022-12-06 at 17 54 38

Issue Analytics

  • State:closed
  • Created 9 months ago
  • Reactions:12
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
crisbalcommented, Dec 6, 2022

This also happened to me on some self-hosted runners, with runner 2.299.1

2reactions
1itachicommented, Dec 7, 2022

we are also experiencing this issue, if we close and reopen the PR then the workflow gets picked up again.

Read more comments on GitHub >

github_iconTop Results From Across the Web

elixir - GitHub Actions Invalid Workflow File Error
You have too many - where you are defining the step. There should only be one - per step in the job. The...
Read more >
Troubleshoot and diagnose workflow failures - Azure Logic ...
' During workflow creation and execution, - Failed to save workflow - Error in the designer: GetCallFailed. Failed fetching operations - ...
Read more >
Error There was a problem fetching the workflow, p...
There was a problem fetching the workflow, perhaps it was deleted. Check server logs. There is no problem with workflow. No luck with...
Read more >
Troubleshoot
Why are my jobs not running when I push commits? ... In the CircleCI application, check the individual job and workflow views for...
Read more >
Dealing with flaky GitHub Actions
I recommend that you always specify the reason for the failure (and the fix if it's not a spurious failure as detailed below)...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found