{"id":19442284,"url":"https://github.com/treebeardtech/get-flakes","last_synced_at":"2025-04-25T00:31:39.045Z","repository":{"id":49645913,"uuid":"341183338","full_name":"treebeardtech/get-flakes","owner":"treebeardtech","description":"A CI tool that alerts teams when flaky tests are slowing down development","archived":false,"fork":false,"pushed_at":"2021-06-11T13:17:00.000Z","size":1602,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-17T14:19:01.741Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/treebeardtech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-22T11:52:06.000Z","updated_at":"2023-01-12T15:59:18.000Z","dependencies_parsed_at":"2022-09-17T04:21:45.641Z","dependency_job_id":null,"html_url":"https://github.com/treebeardtech/get-flakes","commit_stats":null,"previous_names":["treebeardtech/deeptest"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/treebeardtech%2Fget-flakes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/treebeardtech%2Fget-flakes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/treebeardtech%2Fget-flakes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/treebeardtech%2Fget-flakes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/treebeardtech","download_url":"https://codeload.github.com/treebeardtech/get-flakes/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250732933,"owners_count":21478256,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T15:38:53.600Z","updated_at":"2025-04-25T00:31:38.684Z","avatar_url":"https://github.com/treebeardtech.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# get-flakes 🍦\n\n**under construction, do not attempt to use.**\n\n**A CI tool that finds flaky GitHub Actions checks on recent pull requests**\n\n---\n\nget-flakes lets you automatically alert the team when flaky tests are hurting productivity.\n\nIt does this by querying your GitHub repo's recent GitHub Actions. When an action has been restarted and gives a different result, get-flakes marks this as flaky.\n\nExcessive test retrying slows delivery, wastes resources, and hides real bugs.\n\n## Quickstart\n\nCreate this file in your repo so you can manually trigger get-flakes and have it run periodically.\n\nIf more than 5% of commits in pull requests exhibit flakiness then the check fails.\n\n```yaml\n# .github/workflows/get-flakes.yml\non:\n  push: # remove this once you are setup\n  workflow_dispatch:\n    inputs:\n      tags:\n        description: 'Run get-flakes'\n  schedule:\n    - cron: 0 0 * * */7\njobs:\n  get-flakes:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/setup-python@v2\n      - run: pip install get-flakes\n      - run: |\n          get-flakes \\\n            --days 8 \\\n            --alarm-threshold-percentage=5\n            --token='${{ secrets.GITHUB_TOKEN }}'\n```\n\nThis will write a markdown report which can be published back to GitHub:\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"700\" src=\"docs/report.png\"\u003e\n\u003c/p\u003e\n\n\n## Use outside of GitHub Actions\n\nGet-Flakes currently only works for GitHub Action results for GitHub repos. You can run this locally though to try it out.\n\n```sh\npip install get-flakes\n```\n\n```sh\nget-flakes report \\\n--days=9 \\\n--github_token=\u003c...\u003e \\\n--repo=treebeardtech/get-flakes \\\n--check_sha=\u003c...\u003e # The commit where the report goes, default is HEAD commit\n```\n\n## Contribute to this Design\n\nThis project is not yet ready for consumption but is available for ideation/feedback.\n\nFeature requests and feedback welcome via email and issues.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftreebeardtech%2Fget-flakes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftreebeardtech%2Fget-flakes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftreebeardtech%2Fget-flakes/lists"}