Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

flake

БесплатноБез исполняемых скриптовНе проверен

Track Remotion CI flakes in issue

remotion-devот remotion-dev★ 77 030 звёзд на GitHub

Об этом скилле

Flake

Use this skill when a Remotion CI check fails and looks flaky, or when asked to run /flake.

Tracker issue: https://github.com/remotion-dev/remotion/issues/8375

Goal

Record flaky CI failures in issue #8375 and get the affected suite running again.

For every confirmed or likely flake:

  1. Identify the PR, workflow run, job, failed step, and concise failure signature.
  2. Update issue #8375:
    • If the signature already exists, increment its Count.
    • If it is new, insert a row with count 1, workflow/job, first-seen date, and evidence URL.
    • Sort all rows by numeric Count in descending order after every addition or increment, preserving the existing order for equal counts.
  3. Rerun the flaky job or failed jobs.

Find The Failure

Prefer gh because the GitHub app may not expose all Actions logs or write permissions.

If the user gave a PR:

gh pr view <pr-number> --repo remotion-dev/remotion --json number,title,headRefName,statusCheckRollup
gh pr checks <pr-number> --repo remotion-dev/remotion --watch=false

If the user gave a workflow run or job URL:

gh run view <run-id> --repo remotion-dev/remotion --json databaseId,attempt,displayTitle,event,headBranch,headSha,status,conclusion,workflowName,createdAt,updatedAt,url,jobs
gh api repos/remotion-dev/remotion/actions/jobs/<job-id>/logs

If there is no PR context, inspect recent open PRs and recent failed runs:

gh pr list --repo remotion-dev/remotion --state open --limit 30 --json number,title,headRefName,statusCheckRollup
gh run list --repo remotion-dev/remotion --workflow "Install and Test" --status failure --limit 20 --json databaseId,displayTitle,event,headBranch,headSha,conclusion,createdAt,url,workflowName

For rerun attempts, inspect the original attempt before deciding whether a failure was flaky:

gh api repos/remotion-dev/remotion/actions/runs/<run-id>/attempts/1/jobs --paginate
gh api repos/remotion-dev/remotion/actions/jobs/<failed-job-id>/logs

Classify A Flake

Treat a failure as a flake when at least one is true:

  • The same run, job, or failed step succeeded after a rerun without code changes.
  • The failure is infrastructure/network related, such as fetch failed, connection resets, package manager download failures, cache service failures, or runner provisioning errors.
  • The test failure is a timeout, race, browser disconnect, port collision, or intermittent external service failure, and the PR changes do not plausibly touch that area.

Flakes In Tests The PR Added Or Changed

If the flaky test lives in a test file the PR added or modified (check with gh pr diff <pr-number> --name-only), the flake was introduced by the PR. Do not record it in the tracker and do not rerun to get a green check. Instead, report it as a blocker: the PR must make the test deterministic before merging. The tracker is for flakes that already affect other PRs; if this test later flakes elsewhere after merging, record it then. A green rerun does not prove the new test is stable, and merging it moves the flake onto every other PR and the merge queue.

The Web renderer flake test job runs changed web renderer test files 5 times. A failure there is never rerun away; treat it the same way.

Do not record deterministic type errors, lint errors, snapshots, or test assertions caused by changed source behavior unless there is evidence they pass on retry.

Signature Rules

Use a stable signature that groups repeats but stays specific enough to act on:

  • Include package or suite when available, for example @remotion/it-tests#testssr.
  • Include test name when available.
  • Include the root error text, stripped of timestamps, paths, random IDs, ports, line numbers, and ANSI codes.
  • Include workflow/job separately in the tracker row, not inside the signature unless needed to disambiguate.

Good examples:

  • `oven-sh/[email protected]` failed with `TypeError: fetch failed`
  • `delayRender()` timeout while running `Render video with browser instance not open` in `@remotion/it-tests#testssr`

Update The Tracker

Read the issue body:

gh issue view 8375 --repo remotion-dev/remotion --json body --jq .body

Edit the full issue body, preserving the introduction, all existing entries, and the Workflow section. Keep every flake row in one uninterrupted table under ## Flakes, before ## Workflow. Blank lines terminate Markdown tables: never put blank lines between the header, separator, or data rows, and never append rows below the Workflow section or at the end of the issue.

Write the replacement Markdown with real newline characters, not literal \n text. When using gh, always save it to a temporary file and use --body-file; do not pass multiline Markdown inline.

Table format:

| Count | Signature            | Workflow / job     | First seen | Evidence                                                  |
| ----: | -------------------- | --------------
Полный SKILL.md на GitHub

Установить flake в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл flake?

Track Remotion CI flakes in issue

Как установить скилл flake?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл flake запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить flake с