Skip to content

[Due for payment 2025-11-20] [Due for payment 2025-11-10] [$125] Investigate workflow job failing on main: test / test (job 1) #73197

Closed

Description

@github-actions

🚨 Failure Summary 🚨:

⚠️ Action Required ⚠️:

🛠️ A recent merge appears to have caused a failure in the job named test / test (job 1).
This issue has been automatically created and labeled with Workflow Failure for investigation.

👀 Please look into the following:

  1. Why the PR caused the job to fail?
  2. Address any underlying issues.

🐛 We appreciate your help in squashing this bug!

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021980944463555248994
  • Upwork Job ID: 1980944463555248994
  • Last Price Increase: 2025-11-17
  • Automatic offers:
    • PiyushChandra17 | Contributor | 109293170
Issue OwnerCurrent Issue Owner: @sakluger

Activity

  1. mountiny commented on Oct 22, 2025

    @mountiny
    Contributor
    FAIL tests/ui/FloatingActionButtonTest.tsx
      ● Test suite failed to run
    
        A jest worker process (pid=2220) was terminated by another process: signal=SIGTERM, exitCode=null. Operating system logs may contain more information on why this occurred.
    
          at ChildProcessWorker._onExit (node_modules/jest-runner/node_modules/jest-worker/build/workers/ChildProcessWorker.js:370:23)
    
  2. added
    External
    Daily
    and removed
    Hourly
    on Oct 22, 2025
  3. melvin-bot commented on Oct 22, 2025

    @melvin-bot
  4. changed the title [-]Investigate workflow job failing on main: test / test (job 1)[/-] [+][$250] Investigate workflow job failing on main: test / test (job 1)[/+] on Oct 22, 2025
  5. added
    Help Wanted
    on Oct 22, 2025
  6. melvin-bot commented on Oct 22, 2025

    @melvin-bot

    Triggered auto assignment to Contributor-plus team member for initial proposal review - @allroundexperts (External)

  7. mountiny commented on Oct 22, 2025

    @mountiny
    Contributor

    This seems to have happened couple of times now on various tests, why are they not completing successfully?

  8. paulnjs commented on Oct 22, 2025

    @paulnjs
    Contributor

    🚨 Edited by proposal-police: This proposal was edited at 2025-10-22 10:49:49 UTC.

    Proposal

    Please re-state the problem that we are trying to solve in this issue.

    Investigate workflow job failing on main: test / test (job 1)

    What is the root cause of that problem?

    A jest worker process (pid=2220) was terminated by another process: signal=SIGTERM, exitCode=null. Operating system logs may contain more information on why this occurred.
    
    

    Jest worker processes, especially when running multiple tests in parallel, can consume significant memory. If the system or container runs out of memory, the operating system's OOM killer might terminate processes to free up resources.

    What changes do you think we should make in order to solve the problem?

    Following this ref, we can add --runInBand argument here to run all tests in serial. But also the test run slower

    run: NODE_OPTIONS="$NODE_OPTIONS --experimental-vm-modules --max-old-space-size=4096" npm test -- --silent --shard=${{ fromJSON(matrix.chunk) }}/${{ strategy.job-total }} --runInBand --coverage --coverageDirectory=coverage/shard-${{ matrix.chunk }}
    
    

    run: NODE_OPTIONS="$NODE_OPTIONS --experimental-vm-modules" npm test -- --silent --shard=${{ fromJSON(matrix.chunk) }}/${{ strategy.job-total }} --max-workers ${{ steps.cpu-cores.outputs.count }} --coverage --coverageDirectory=coverage/shard-${{ matrix.chunk }}

    What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?

    undefined

    What alternative solutions did you explore? (Optional)

    We can reduce maxWorkers

    Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.

  9. PiyushChandra17 commented on Oct 22, 2025

    @PiyushChandra17
    Contributor

    🚨 Edited by proposal-police: This proposal was edited at 2025-10-29 08:01:26 UTC.

    Proposal

    Please re-state the problem that we are trying to solve in this issue.

    Investigate workflow job failing on main: test / test (job 1)

    What is the root cause of that problem?

    The root cause is Javascript heap out memory error, this is confirmed by the log message:

    FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory

    The default Node.js memory limit is too low for our test suite

    What changes do you think we should make in order to solve the problem?

    • Increase the Node.js Memory limit in our workflow or test command

    We can update our .github/workflows/preDeploy.yml

    - run: node --max-old-space-size=8192 ./node_modules/.bin/jest

    run: |
    echo "Checks failed, exiting ~ typecheck: ${{ needs.typecheck.result }}, lint: ${{ needs.lint.result }}, test: ${{ needs.test.result }}"
    exit 1

    run: |
          node --max-old-space-size=8192 ./node_modules/.bin/jest
          echo "Checks failed, exiting ~ typecheck: ${{ needs.typecheck.result }}, lint: ${{ needs.lint.result }}, test: ${{ needs.test.result }}"
          exit 1

    Or

    We can increase the available memory limit in our test run command

    "test": "TZ=utc NODE_OPTIONS='--experimental-vm-modules --max_old_space_size=8192' jest",
    "test:verbose": "TZ=utc NODE_OPTIONS='--experimental-vm-modules --max_old_space_size=8192' JEST_VERBOSE=true jest",

    What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?

    n/A

    What alternative solutions did you explore? (Optional)

  10. 41 remaining items

  11. added
    Daily
    and removed
    Weekly
    on Nov 14, 2025
  12. mountiny commented on Nov 14, 2025

    @mountiny
    Contributor
  13. gelocraft commented on Nov 17, 2025

    @gelocraft
    Contributor

    @mountiny

    test (job 1) is still failing in my PR #75282 because it exceeds the current 4GB heap allocation limit.

    Proposal:

    • Increase the memory limit to 8GB, as 4GB is no longer sufficient given the large number of files in my PR:
    #package.json diff
    -    "test": "TZ=utc NODE_OPTIONS=\"--experimental-vm-modules --max_old_space_size=4096\" jest",
    -    "test:verbose": "TZ=utc NODE_OPTIONS=\"--experimental-vm-modules --max_old_space_size=4096\" JEST_VERBOSE=true jest",
    +    "test": "TZ=utc NODE_OPTIONS=\"--experimental-vm-modules --max_old_space_size=8192\" jest",
    +    "test:verbose": "TZ=utc NODE_OPTIONS=\"--experimental-vm-modules --max_old_space_size=8192\" JEST_VERBOSE=true jest",
    • Set max workers to the number of CPU cores from steps.cpu-cores.outputs.count (this will speed up the jest workflow run):
    # .github/workflows/test.yml diff
    - --maxWorkers=4
    + --maxWorkers=${{ steps.cpu-cores.outputs.count }}
  14. changed the title [-][Due for payment 2025-11-20] [Due for payment 2025-11-10] [$250] Investigate workflow job failing on main: test / test (job 1)[/-] [+][Due for payment 2025-11-20] [Due for payment 2025-11-10] [$125] Investigate workflow job failing on main: test / test (job 1)[/+] on Nov 17, 2025
  15. melvin-bot commented on Nov 17, 2025

    @melvin-bot

    Upwork job price has been updated to $125

  16. sakluger commented on Nov 17, 2025

    @sakluger
    Contributor

    The $250 Upwork offer has already been accepted. When payment is due, I will manually adjust the payment to $125.

  17. allroundexperts commented on Nov 17, 2025

    @allroundexperts
    Contributor

    I did not review this PR so no payment due for me.

  18. mountiny commented on Nov 19, 2025

    @mountiny
    Contributor

    Seems like there is no payment to be made here since as @gelocraft mentioned this test is still failing

  19. mountiny commented on Nov 19, 2025

    @mountiny
    Contributor

    And that is being handled here #75553

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentBugDailyExternalWorkflow Failure

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions