Skip to content

bug: Task stuck in dequeue phase #1797

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
01oseluiz opened this issue Mar 17, 2025 · 3 comments
Closed

bug: Task stuck in dequeue phase #1797

01oseluiz opened this issue Mar 17, 2025 · 3 comments

Comments

@01oseluiz
Copy link

Provide environment information

System:
OS: Linux 6.11 Ubuntu 24.04.2 LTS 24.04.2 LTS (Noble Numbat)
CPU: (16) x64 12th Gen Intel(R) Core(TM) i7-1260P
Memory: 2.85 GB / 15.35 GB
Container: Yes
Shell: 5.2.21 - /bin/bash
Binaries:
Node: 22.11.0 - ~/.asdf/installs/nodejs/22.11.0/bin/node
npm: 10.9.0 - ~/.asdf/plugins/nodejs/shims/npm

Describe the bug

When I run tests in dev mode all works as expected. But when running in prod the task stucks in dequeue.

In dev mode:

Image

In prod mode:

Image

Reproduction repo

To reproduce

Additional information

No response

@matt-aitken
Copy link
Member

@01oseluiz are you self-hosting?

@01oseluiz
Copy link
Author

01oseluiz commented Mar 17, 2025

No, I'm using the cloud. I was using V2 and recently migrated to V3. I have tested all locally and it works, but on prod I'm stuck. As there isn't any log beside this info "task run heartbeat timeout" I don't know how to debug and fix it.

@01oseluiz
Copy link
Author

Sorry, my mistake. I'm using svelte to build e-mails template, so I modify the build to something like that:

//...
build: {
    // config to build svelte files
    conditions: ['svelte', 'browser'],
    external: ['svelte-preprocess'],
    extensions: [
      syncVercelEnvVars(),

      esbuildPlugin(
        esbuildSvelte({
          preprocess: sveltePreprocess(),
          compilerOptions: {
            generate: 'ssr',
            discloseVersion: false, // disable runtime dependency on svelte
            dev: false,
            hydratable: false
          }
        })
      )
    ]
  }
//...

the conditions statement causes the error. I was thinking that this statement would be additive and not overriding

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants