denoland / denoland/deploy_feedback

[Bug]: Deploying to deno deploy from a monorepo fails because of a webGPU api dependency?

Open
#775 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
No language data
Stars
79
Forks
5
PR merge metrics
No merged PRs in 30d

Description

### Problem description

I have a mono-repo and I am trying to use deno deploy for a specific project within that mono-repo

https://github.com/theTechGoose/OmniSource

from root running: deployctl deploy --entrypoint backends/ai-activations/main.ts

gives:
error: The deployment failed: UNCAUGHT_EXCEPTION

ReferenceError: GPUTextureUsage is not defined
at https://jsr.io/@std/webgpu/0.224.7/describe_texture_format.ts:22:15

### Steps to reproduce

clone the repo https://github.com/theTechGoose/OmniSource

run deployctl deploy --entrypoint backends/ai-activations/main.ts from the root

### Expected behavior

It should deploy

### Environment

deno 2.1.2
MacOs 14.5

### Possible solution

_No response_

### Additional context

image

Contributor guide

No contributing guide indexed for this repository

Research direction

Clone the linked OmniSource repository and run deployctl deploy --entrypoint backends/ai-activations/main.ts from its root with Deno 2.1.2. Start by tracing the deployment failure from the GPUTextureUsage error in @std/webgpu/0.224.7/describe_texture_format.ts; done means the monorepo entrypoint deploys successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
deno, typescript
Domain
cloud, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.