Repository navigation
fix: resolve CircleCI workflow failures and add YouTube API Worker deployment - #248
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
- Remove duplicate 'circletui' key from root package.json dependencies - Remove duplicate 'firebase-admin' key from functions/package.json - Fix TypeScript version in functions/package.json (^6.0.0 → ^5.8.3, v6 doesn't exist) - Fix Node engine requirement in functions/package.json (24 → >=20) - Fix .circleci/config.yml node-checks job: upgrade to node 22.19, add npm install step for functions/, use installed tsc binary instead of npx, remove quality-gc - Add deploy-worker job to .circleci/config.yml: installs wrangler globally, verifies src/youtube-worker.ts exists, type-checks it, then deploys to Cloudflare Workers using CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID env vars - Add 'deploy' workflow that runs deploy-worker on main branch only 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 | 4ac0b1c | Oct 17 2026, 12:23 AM |
Contributor
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
ytstudio | 4ac0b1c | Oct 17 2026, 12:23 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
circletuiinpackage.jsonand duplicatefirebase-admininfunctions/package.jsonfunctions/package.json:^6.0.0does not exist — corrected to^5.8.3functions/package.json: changed"24"→">=20"to match CircleCI's available imagesnode-checksCircleCI job: upgraded tocimg/node:22.19, addednpm installstep infunctions/before running lint/tsc, switched fromnpx tscto the locally installed binary, removedquality-gc(not needed for CI pass)deploy-workerjob: installs wrangler globally, verifiessrc/youtube-worker.tsentry point exists, type-checks the worker, then runswrangler deployusingCLOUDFLARE_API_TOKENandCLOUDFLARE_ACCOUNT_IDsecretsdeployworkflow that triggersdeploy-workeron pushes tomain, alongside the existingvalidateworkflowRoot cause of workflow failures
The prior
chunk-taskruns were failing with a422 Internal server errorfrom the Claude API (transient), but the underlyingnode-checksjob would have failed anyway because:npm installwas never run insidefunctions/before callingnpm run lint^6.0.0is not a published version, causingnpm installitself to fail in functionshttps://app.circleci.com/agents/gh/ruhdevops/chat/4871f65b-7aa7-4376-8b11-9594307a7030