Repository navigation
fix: resolve CI workflow failures for YouTube API v3 worker - #264
Open
circleci-app[bot] wants to merge 1 commit into
Open
circleci-app[bot] wants to merge 1 commit into
circleci-app[bot] wants to merge 1 commit into
Conversation
- Add @cloudflare/workers-types to app/tsconfig.json so tsc --noEmit can resolve Request, Response, fetch, ExportedHandler globals - Create app/worker-configuration.d.ts (required by tsconfig include) with typed Env bindings matching wrangler.jsonc vars - Remove duplicate "circletui" key from root package.json dependencies - Remove duplicate "firebase-admin" key from functions/package.json dependencies These fixes unblock the youtube-worker-validate and node-checks CI jobs that were failing due to missing type declarations and invalid JSON duplicate keys. AI-Generated: true
|
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
ytstudio | 4c1e0b3 | Oct 20 2026, 02:32 AM |
Contributor
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
ytstudio | 4c1e0b3 | Oct 20 2026, 02:32 AM |
✅ Deploy Preview for elegant-seahorse-d9d460 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
❌ Deploy Preview for ytr-studio failed.
|
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
youtube-worker-validatejob:app/tsconfig.jsonwas missing@cloudflare/workers-types, sotsc --noEmitcouldn't resolve Cloudflare Worker globals (Request,Response,fetch,ExportedHandler,URL). Fixed by adding"types": ["@cloudflare/workers-types"]— TypeScript resolves the package from the rootnode_modulesup the directory tree.app/worker-configuration.d.ts— the tsconfigincludelist referenced this file but it didn't exist. The file declares theEnvinterface matchingwrangler.jsoncbindings (YOUTUBE_API_KEY,CHANNEL_ID,ENVIRONMENT).fix_deps.pyhad added"circletui"and"trigger-circleci-pipeline"topackage.jsondependencies (already in devDependencies), and"firebase-admin"was duplicated infunctions/package.json. These caused parser warnings and potential JSON tooling issues.Validation
All CI workflow steps verified locally:
ruff check .+ruff format --check .+mypy .— passpnpm install --frozen-lockfile— passes (lockfile unchanged)functionsESLint + TypeScript check — passapptsc --noEmit— now passes (was failing with 11 errors)appnpm test -- --run— 4/4 tests passhttps://app.circleci.com/agents/gh/ruhdevops/chat/509fdf53-31da-4cfe-ba79-a1df7b3bd17c