Skip to content

feat(renders): route @yagiworkshop.xyz staff template tests to Sunra credits - #443

Merged
Botanicbox0 merged 1 commit into
mainfrom
gemini/staff-sunra-test-lane
Dec 1, 2026
Merged

Botanicbox0 merged 1 commit into
mainfrom
gemini/staff-sunra-test-lane

Conversation

@Botanicbox0

@Botanicbox0 Botanicbox0 commented Dec 1, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Route verified @yagiworkshop.xyz staff (and admins) through the identical personal template render pipeline (prompt compiler, director edits, fixed references, custom slots, Cloud Run post_process_spec, Recipe v2, multi-clip stitching, safety checks) on Sunra credits (SUNRA_API_KEY) while bypassing Toss checkout (charge: false, admin_free) and skipping RENDER_JOBS_PER_DAY.
  • Preserve identical consumer resolution selection (720p / 1080p), mark staff test jobs via render_jobs.is_internal_test = true, add staff-only /renders/preview/[slug] (including pending draft templates linked from /admin/prompts/[id]), and gate via TWINGS_STAFF_SUNRA_TEST + render_provider_state circuit breaker.

Cloud Migrations Applied

  • Applied 0218_core_staff_sunra_test.sql + 0219_glue_staff_sunra_test.sql as 0218_0219_staff_sunra_test to Supabase project nhokkikjkzjalxqsbzuk BEFORE deploy.
  • Verified read-only via SQL: render_jobs.is_internal_test boolean not null default false, partial index render_jobs_internal_test_idx, RLS=true / FORCE=true, 0 policies, no PUBLIC/anon/authenticated grants, service_role grants intact. Ledger updated in supabase/README.md (next version 0220).

Verification

@vercel

vercel Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
yagi-prompts Ready Ready Preview Dec 1, 2026 8:05am UTC

Request Review

@Botanicbox0
Botanicbox0 force-pushed the gemini/staff-sunra-test-lane branch from 61df93e to 2bb8bde Compare December 1, 2026 08:01
@Botanicbox0
Botanicbox0 merged commit e2c8300 into main Dec 1, 2026
9 checks passed

This branch was successfully deployed

1 active deployment
Preview — 2bb8bdeb Deployed Dec 1, 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.

1 participant