Skip to content

feat: YouTube API v3 worker CI build job + fix workflow failures - #368

Open
circleci-app[bot] wants to merge 1 commit into
mainfrom
chunk/changes-1794791986375
Open

circleci-app[bot] wants to merge 1 commit into
mainfrom
chunk/changes-1794791986375

Conversation

@circleci-app

@circleci-app circleci-app Bot commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Summary

  • New worker-build CI job: type-checks src/youtube-worker.ts (YouTube API v3 Cloudflare Worker), verifies wrangler.jsonc config exists, and deploys to Cloudflare Workers when CLOUDFLARE_API_TOKEN is set (gracefully skips the deploy step if the secret is absent)
  • Fixed node-checks job: added explicit functions/ npm install step; replaced npx tsc --noEmit with ./node_modules/.bin/tsc to avoid npx resolution issues; removed non-existent quality-gc step that was relying on npx fallback
  • Regenerated pnpm-lock.yaml: synced @circleci/circleci-config-sdk from ^0.8.0 → ^0.12.5 — this mismatch was the root cause of pnpm install --frozen-lockfile failures in CI
  • Fixed functions/package.json: removed duplicate firebase-admin entry, downgraded typescript to ^5.6.0, set engines.node to 20, added test script
  • Fixed functions/package-lock.json: regenerated to match corrected package.json (removed phantom lint dependency and wrong Node engine version)
  • Reformatted functions/.eslintrc.js: expanded from minified single-line to readable multi-line form
  • Applied pending fix scripts: episodes nav smooth-scroll in js/app.js, title attribute on search button in index.html, dependency version updates in root package.json

Test plan

  • python-checks job: ruff + mypy + pytest all pass (no Python errors found)
  • node-checks job: ESLint passes with 0 warnings, tsc --noEmit passes in functions/
  • worker-build job: tsc --noEmit on root tsconfig passes, worker entry points verified, deploy step runs (or skips cleanly if no token)
  • pnpm install --frozen-lockfile succeeds without lockfile mismatch error

https://app.circleci.com/agents/gh/ruhdevops/chat/8f834dc3-5a11-41f3-8370-5d48a694dd07

- Add worker-build CI job: type-checks src/youtube-worker.ts, verifies
  wrangler.jsonc exists, deploys to Cloudflare if CLOUDFLARE_API_TOKEN set
- Fix node-checks: add functions npm install step, replace npx tsc with
  local binary, remove broken quality-gc step
- Regenerate pnpm-lock.yaml: sync @circleci/circleci-config-sdk ^0.12.5
  (was causing pnpm install --frozen-lockfile failure in CI)
- Fix functions/package.json: deduplicate firebase-admin, typescript 5.6,
  node engine 20, add test script
- Fix functions/package-lock.json: regenerated to match corrected manifest
- Reformat functions/.eslintrc.js from minified to readable
- Apply pending fix scripts: episodes nav scroll, search button title,
  dependency version sync

AI-Generated: true
@bolt-new-by-stackblitz

Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@vercel

vercel Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
yt-studio Error Error Nov 16, 2026 1:31am UTC
yt-studio-production Error Error Nov 16, 2026 1:31am UTC

@cloudflare-workers-and-pages

Copy link
Copy Markdown
Contributor

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
ytstudio 6a4bad8 Nov 16 2026, 01:31 AM

@cloudflare-workers-and-pages

Copy link
Copy Markdown
Contributor

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
ytstudio 6a4bad8 Nov 16 2026, 01:31 AM

@netlify

netlify Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for elegant-seahorse-d9d460 ready!

Name Link
🔨 Latest commit 6a4bad8
🔍 Latest deploy log https://app.netlify.com/projects/elegant-seahorse-d9d460/deploys/6afa5ce1869ca11e8b180ee2
😎 Deploy Preview https://deploy-preview-368--elegant-seahorse-d9d460.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

❌ Deploy Preview for ytr-studio failed.

Name Link
🔨 Latest commit 6a4bad8
🔍 Latest deploy log https://app.netlify.com/projects/ytr-studio/deploys/6afa5ce1477940c78a070d83

This branch had an error being deployed

2 failed deployments
Preview – yt-studio-production — 6a4bad87 Deployed Nov 16, 2026 by vercel[bot]
Preview – yt-studio — 6a4bad87 Deployed Nov 16, 2026 by vercel[bot]
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

Successfully merging this pull request may close these issues.

0 participants