actions / actions/toolkit

`TypeError: Cannot read properties of undefined (reading 'O_RDONLY')` in @actions/core 1.11

Open
#1,862 3 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
5.9k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
Hi, since v1.11 of @actions/core, I'm getting an error in my tests that previously wasn'ŧ happening

To Reproduce
skaut/poptavky#1662

Expected behavior
No error

Desktop (please complete the following information):

  • OS: GitHub actions & Ubuntu 22.04

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the @actions/core v1.11 change and the reproduction at skaut/poptavky#1662; trace the test failure that reads O_RDONLY. Done means the reproduction and relevant tests run without the TypeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, typescript
Domain
testing, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.