Repository navigation
feat: YouTube API v3 worker + CI pipeline fixes - #322
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
- Validate and clean up YouTube API v3 Cloudflare Worker (src/youtube-worker.ts) already implements /api/channel, /api/videos, and /api/search endpoints with demo fallback when YOUTUBE_API_KEY is not configured - Fix app/wrangler.jsonc: replace placeholder WORKER_NAME/COMPATIBILITY_DATE with real values (ytstudio-app / 2025-01-01) - Add worker-checks and worker-deploy jobs to .circleci/config.yml: - worker-checks: TypeScript type check + wrangler dry-run build - worker-deploy: deploys to Cloudflare on main branch when CLOUDFLARE_API_TOKEN is set - Fix node-checks CI job: add functions npm install step before lint/tsc, use local tsc binary instead of npx, remove broken quality-gc step - Fix functions/package.json: node 24→20, remove duplicate firebase-admin and invalid lint dep, fix typescript ^6→^5.8.3 - Expand functions/.eslintrc.js from minified to readable format - Remove stale circletui dep from root package.json - Reformat fix_app.py via ruff 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 | d462427 | Nov 03 2026, 04:29 AM |
Contributor
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
ytstudio | d462427 | Nov 03 2026, 04:30 AM |
❌ Deploy Preview for ytr-studio failed.
|
✅ Deploy Preview for elegant-seahorse-d9d460 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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
src/youtube-worker.ts): Cloudflare Worker fetches live channel data, video listings, and search results from YouTube API v3 for channelUCrjJP_SHUeCmqpTSHJCXkdA(Ruh Al Tarikh). Falls back to demo videos whenYOUTUBE_API_KEYis not configured.app/wrangler.jsonc: Replaced<WORKER_NAME>and<COMPATIBILITY_DATE>placeholders with real values (ytstudio-app/2025-01-01)..circleci/config.yml): Added two new jobs to thevalidateworkflow:worker-checks: TypeScript type check + Wrangler dry-run build validationworker-deploy: Deploys worker to Cloudflare onmainbranch (skips gracefully whenCLOUDFLARE_API_TOKENis not set)node-checksCI job: Added missingnpm installstep forfunctions/before lint/tsc; switched fromnpx tscto local binary; removed brokenquality-gcstep.functions/package.json: Node engine24→20, removed duplicatefirebase-adminentry and invalidlintdep, fixed TypeScript^6→^5.8.3.functions/.eslintrc.js: Expanded from minified one-liner to readable format.package.json: Removed stalecircletuidependency.fix_app.pyvia ruff to keep Python linter clean.Test plan
pnpm exec tsc --noEmit --project tsconfig.json— passes (root worker)functions/./node_modules/.bin/tsc --noEmit— passesnpm run lint -- --max-warnings 0infunctions/— passes (0 errors, 0 warnings)pnpm exec wrangler deploy --env="" --dry-run— builds successfully, outputsyoutube-worker.jspnpm install --frozen-lockfile— lockfile is up to datehttps://app.circleci.com/agents/gh/ruhdevops/chat/47876e8a-6376-469d-9f1f-66892582f97a