codecov / codecov/codecov-javascript-bundler-plugins

Build hangs on angular 17 webpack completion in GitHub Actions

Open
#146 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Bundle Analysis Low question
Dominant language
TypeScript
Stars
9
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Please do correct the title if deemed unsuitable, I'm not that well-versed in front-end development 🥲

📣 Feedback / 🐛 Bugs

As the title suggests, when the build completes, it does not run to completion. Rather it hangs until github times it out (which previously was 6 hours but I hard-limit it to 30 minutes now).

Weirdly enough though, it runs fine locally but in GitHub Actions it fails. Also if I do debug: true in codecovWebpackPlugin configs, it hangs locally too.

Sample run: https://github.com/kwongtn/rosak_firebase/actions/runs/9605749364/job/26493953821


When I disable codecovWebpackPlugin , it builds nicely, therefore isolating the issue:
https://github.com/kwongtn/rosak_firebase/actions/runs/9606060496/job/26494903532

My repo & branch: https://github.com/kwongtn/rosak_firebase/tree/staging

Help? 🥲

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 linked GitHub Actions run and the repository's staging branch, comparing the hanging build with the run where codecovWebpackPlugin is disabled. Inspect the codecovWebpackPlugin configuration, including debug mode, and reproduce the build in GitHub Actions. Done means the Angular 17 webpack build completes with the plugin enabled without timing out.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, github-actions, typescript, webpack
Domain
build-system, ci-cd
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.