flaker-storage-cache-on-ci
Skill by mizchi
Explains how to persist flaker's DuckDB storage across GitHub Actions runs and feed it from several report sources. Written for developers wiring @mizchi/flaker into CI or debugging lost history between runs.
Install flaker-storage-cache-on-ci
Built from the published package, never by AI.
git clone --depth 1 https://github.com/mizchi/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/flaker-storage-cache-on-ci ~/.claude/skills/flaker-storage-cache-on-ciRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install flaker-storage-cache-on-ci in Claude Code
git clone --depth 1 https://github.com/mizchi/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills/flaker-storage-cache-on-ci ~/.gemini/antigravity-cli/skills/flaker-storage-cache-on-ciAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install flaker-storage-cache-on-ci in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill is a guide for running flaker in GitHub Actions. flaker keeps its data in a DuckDB file set by the storage path in flaker.toml, and that file must persist between CI runs for flaky detection, KPI and quarantine to work. The guide uses actions/cache with a sliding key built from the run id and a restore-keys prefix, so each run saves a new entry and restores the latest one.
The skill also covers fetch-depth for deriving changed files, the placement of flaker import steps for custom adapter reports, and a split of workflows into writers and read-only PR checks. It lists common failure modes, such as a cache path that does not match flaker.toml, and diagnostic steps. It is aimed at developers adding flaker to a new repo or a new ingest source to an existing setup.
Written from the project's SKILL.md and checked against it.
What it can do
- Cache key setupShows the actions/cache configuration with a run-id key and restore-keys prefix for flaker data.
- Changed-file derivationSets fetch-depth to 0 and passes --changed from a git diff against the PR base for hybrid runs.
- Custom report importShows how to run flaker import with an adapter, commit, branch and source for a new ingest source.
- Workflow layoutDescribes which workflows should read or write the cache, keeping PR-scoped checks read-only.
- History debuggingLists checks for vanished history, including cache hit logs, storage path matching and flaker doctor.
What you need
- GitHub Actions
- pnpm
- @mizchi/flaker
Try asking
- Set up flaker data caching in my GitHub Actions workflow
- Why does my flaker history reset between CI runs?
- Add a flaker import step for my custom adapter report
Good to know
- The cache save silently does nothing from fork pull requests.
- flaker does not search parent directories for flaker.toml, so it must sit where flaker is run.
- The NODE_OPTIONS=--preserve-symlinks-main workaround makes the CLI a no-op with flaker 0.11.x.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: flaker-storage-cache-on-ci/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to flaker-storage-cache-on-ci
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
flaker-storage-cache-on-ci: common questions
Why does flaker lose its history in CI?
The cache path may not match the storage path in flaker.toml, or the restore-keys prefix may not match a saved cache. The guide suggests checking the cache hit log and running flaker doctor.
Should pull request jobs write flaker data?
The guide advises against it. PR runs happen on every commit and would dominate the population, so PR checks should be read-only or skip the cache.
Why does hybrid mode fail with a resolver error?
Hybrid mode needs a --changed list of files. Without it, flaker reports that hybrid mode requires resolver and changedFiles.
How do I install flaker-storage-cache-on-ci?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is flaker-storage-cache-on-ci free?
The code is public, but no licence file was found, so check the repository before commercial use.
Is flaker-storage-cache-on-ci safe to use?
It scores 66 of 100. Grades: maintenance A, licence F, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to flaker-storage-cache-on-ci?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
