file_type: "issue"
issue_type: "bug"
area: "tests"
priority: "critical"
component: "ci"
status: "needs-triage"
Build/CI Summary
Jest test suite fails with TextDecoder is not defined errors when running tests with ESM modules. This is a pre-existing infrastructure issue blocking all PRs regardless of code quality.
Problem Statement
The test runner does not properly polyfill TextDecoder in ESM mode, causing fixture validation and other tests to fail before checking code quality.
Impact:
- All PRs blocked from merging
- CI/CD pipeline non-functional
- Prevents validation of any code changes
Example Error:
ReferenceError: TextDecoder is not defined
at Module.<anonymous> (node_modules/@actions/core/...)
Steps / Checklist
Acceptance Criteria
Additional Context
Affected Workflows:
- Testing workflow (blocks all PRs)
- All dependent CI checks
Related Issues:
Environment:
- Node.js: 20+ (see .nvmrc)
- Package Manager: npm 10+
- Jest Version: (check package.json)
- @actions/core Version: (check package.json)
References
Definition of Ready (DoR)
Definition of Done (DoD)
file_type: "issue"
issue_type: "bug"
area: "tests"
priority: "critical"
component: "ci"
status: "needs-triage"
Build/CI Summary
Jest test suite fails with
TextDecoder is not definederrors when running tests with ESM modules. This is a pre-existing infrastructure issue blocking all PRs regardless of code quality.Problem Statement
The test runner does not properly polyfill
TextDecoderin ESM mode, causing fixture validation and other tests to fail before checking code quality.Impact:
Example Error:
Steps / Checklist
@actions/corecompatibility with ESMTextDecoderin ESM modeAcceptance Criteria
TextDecodererrorsAdditional Context
Affected Workflows:
Related Issues:
Environment:
References
Definition of Ready (DoR)
Definition of Done (DoD)