Skip to content

feat(ci): posting.anyrouter.dev is the one scheduler of render-video - #16

Draft
duyet wants to merge 1 commit into
feat/posting-film-contractfrom
feat/posting-owns-schedule
Draft

duyet wants to merge 1 commit into
feat/posting-film-contractfrom
feat/posting-owns-schedule

Conversation

@duyet

@duyet duyet commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

Do not merge until the owner switches on wf_model_video in posting.anyrouter.dev. Merge it in that same hour, so the render never has zero or two schedulers. Stacked on #15.

What changes

  • render-video.yml loses schedule: (17 7 * * *) and repository_dispatch:. posting's wf_model_video (duyet/anyrouter#6692) is the only scheduler. It dispatches with requested_by: posting, polls the run, and imports the posting-drafts artifact. The only repository_dispatch sender, duyet/anyrouter's dispatch-model-video.yml, was already disabled, and #6692 deletes it.
  • lib/unattended.test.mjs adds a test that fails if any workflow gets either trigger back. A workflow with the requested_by: posting option still counts as unattended, so the draft-only checks keep covering render-video.
  • README and the workflow header say who schedules it now.

youtube.yml stays until posting's YouTube publish (duyet/anyrouter, film attach PR) is verified on a real film. A follow-up PR retires it.

Verification

node --test: 203 pass. Mutation check: putting back the old triggers fails the new one-scheduler test.

Refs duyet/anyrouter#6688

🤖 Generated with Claude Code

Drop schedule: and repository_dispatch: from render-video.yml. posting's
wf_model_video dispatches it daily with requested_by=posting, polls the
run and imports the posting-drafts artifact; the AnyRouter repo's
dispatch-model-video sender is deleted. lib/unattended.test.mjs fails CI
if either trigger comes back, and still treats the posting dispatch as
unattended (draft-only).

Merge only in the hour the owner switches wf_model_video on.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@duyetbot
duyetbot force-pushed the feat/posting-owns-schedule branch from b6afe9f to 3e3444c Compare October 27, 2026 23:24
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