deno icon indicating copy to clipboard operation
deno copied to clipboard

freezes when downloading packages in CI

Open scarf005 opened this issue 6 months ago • 2 comments

Version: Deno 2.3.3

Image

https://github.com/cataclysmbnteam/Cataclysm-BN/actions/runs/15311418703/job/43076745783

it's stuck for 1h 20m downloading packages

logs_39279532750.zip

scarf005 avatar May 28 '25 23:05 scarf005

Does it happen all the time or just this one time?

Are you able to include some reproduction steps in the issue of what the CI does? That way if the job ever disappears/repo changes someone can easily attempt to reproduce.

dsherret avatar May 29 '25 00:05 dsherret

Does it happen all the time or just this one time?

happened only once, probably network issue and maybe deno doesn't timeouts waiting for dependencies

Are you able to include some reproduction steps in the issue of what the CI does?

it caches deno modules and runs deno lint and deno test -R

https://github.com/cataclysmbnteam/Cataclysm-BN/blob/8b3affa18c13030596ec74937cc66daa0b3b0da9/.github/workflows/autofix.yml

      - uses: denoland/setup-deno@v2

      - name: cache deno dependencies
        uses: actions/cache@v4
        with:
          path: ${{ env.DENO_DIR }}
          key: deno-${{ hashFiles('deno.lock') }}

      - name: lint and test typescript files
        run: |
          deno lint
          deno test --allow-read
          deno run --allow-read --allow-write scripts/semantic.ts

scarf005 avatar May 29 '25 01:05 scarf005