• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Khan / perseus / 6149013791 / 1 – jest
69%
main: 69%

Build:
DEFAULT BRANCH: main
Ran 11 Sep 2023 04:26PM UTC
Files 527
Run time 13s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

11 Sep 2023 04:15PM UTC coverage: 63.311%. Remained the same
jest – 6149013791.1

push

github

web-flow
Test Coveralls hanging indefinitely fix (#712)

## Summary:
The Coveralls action keeps hanging indefinitely.

<img width="911" alt="Screen Shot 2023-09-08 at 11 14 20 AM" src="https://github.com/Khan/perseus/assets/16308368/5ed46fc9-25a9-4c11-a1ed-01004cdc1ceb">

These are the links to those:
- [Coveralls - cypress](https://coveralls.io/jobs/127978310)
- [Coveralls - jest](https://coveralls.io/jobs/127978311)
- [coverage/coveralls](https://coveralls.io/builds/62515147)

I don't actually know anyone who looks at the Coverall coverage. So it's pretty much just an inconvenience at best and a potential drain on engineering resources at worst. I thought about getting rid of it, but we were having trouble with Codecov too (also something no one looked at); so I thought I'd attempt a fix.

I'm trying to find a link to the GH comment that made me think of this possible solution. The general idea is:
- We originally push the PR and Coveralls runs
- We run the workflow again when the base branch changes (usually `main`): "edited is needed because that's the trigger when the base branch is changed on a PR" ([Source](https://github.com/Khan/perseus/blob/main/.github/workflows/node-ci.yml#L5))
- Coveralls doesn't see that the feature branch changed and really it doesn't need to.
  - We want the tests to run again, to make sure the base and feature are compatible
  - Coverage of the PR isn't affected by the base changing really (right?); we're trying to understand if the PR reduced coverage, and if the the PR's code didn't change why should we recheck coverage?

So this fix basically is to only run Coveralls when we push changes (hopefully).

Author: handeyeco

Reviewers: jeremywiebe, kevinbarabash

Required Reviewers:

Approved By: jeremywiebe

Checks: ✅ finish_coverage, ✅ Publish npm snapshot (ubuntu-latest, 16.x), ✅ Lint, Typecheck, Format, and Test (ubuntu-latest, 16.x), ✅ Extract i18n strings (ubuntu-latest, 16.x), ✅ Check builds for changes... (continued)

5776 of 7049 branches covered (0.0%)

Branch coverage included in aggregate %.

70488 of 113410 relevant lines covered (62.15%)

458.98 hits per line

Source Files on job jest - 6149013791.1
  • Tree
  • List 0
  • Changed 4
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 6149013791
  • 71a8b022 on github
  • Prev Job for on main (#6149003698.1)
  • Next Job for on main (#6149112713.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc