{"id":29624075,"url":"https://github.com/currents-dev/currents-playwright-orchestration-example","last_synced_at":"2025-09-12T08:40:16.033Z","repository":{"id":290318898,"uuid":"974021689","full_name":"currents-dev/currents-playwright-orchestration-example","owner":"currents-dev","description":"Example of speeding up Playwright in CI using Orchestration","archived":false,"fork":false,"pushed_at":"2025-05-14T01:19:19.000Z","size":98,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-17T22:32:28.989Z","etag":null,"topics":["orchestration","playwright","playwright-ci","playwright-tests"],"latest_commit_sha":null,"homepage":"https://docs.currents.dev/guides/ci-optimization/playwright-parallelization","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/currents-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-28T06:25:42.000Z","updated_at":"2025-05-14T07:24:38.000Z","dependencies_parsed_at":"2025-04-28T07:35:42.063Z","dependency_job_id":"a0d30219-0864-4744-be84-1d42cd26baf1","html_url":"https://github.com/currents-dev/currents-playwright-orchestration-example","commit_stats":null,"previous_names":["currents-dev/currents-playwright-orchestration-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/currents-dev/currents-playwright-orchestration-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/currents-dev%2Fcurrents-playwright-orchestration-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/currents-dev%2Fcurrents-playwright-orchestration-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/currents-dev%2Fcurrents-playwright-orchestration-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/currents-dev%2Fcurrents-playwright-orchestration-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/currents-dev","download_url":"https://codeload.github.com/currents-dev/currents-playwright-orchestration-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/currents-dev%2Fcurrents-playwright-orchestration-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266244491,"owners_count":23898621,"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":["orchestration","playwright","playwright-ci","playwright-tests"],"created_at":"2025-07-21T05:32:27.544Z","updated_at":"2025-07-21T05:32:28.190Z","avatar_url":"https://github.com/currents-dev.png","language":"TypeScript","readme":"# Currents Orchestration Example\n\n[Demo video](https://www.loom.com/share/e2a4ec0167d74e69b9f07d45707cf0f4?sid=b003d756-0e5d-400d-b2a8-3279b63804f2)\n\n### Configuring Batch Size\n\nIt is recommended to set `batchSize = workers`\n\n- Use `--pwc-batch-size` CLI params, e.g.: `pwc-p --pwc-batch-size=3`\n- Set environment variable `CURRENTS_BATCH_SIZE` e.g.: `CURRENTS_BATCH_SIZE=3`\n- Set the values in `currents.confg.ts`, e.g.: `orchestration.batchSize: 3`\n\n### Suite Composition\n\n- 40 long-running tests: 110-120s\n- 40 short tests: 10-30s\n\n### Playwright Sharding\n\n- workers: 2\n- machines: 5\n- overall duration: **15m 38s** 🐌\n\n![currents-2025-04-28-16 38 18@2x](https://github.com/user-attachments/assets/2ab6b34a-634d-46a3-810b-bbfa4487cd20)\n\n### Currents Batched Orchestration\n\n- batch size: 2\n- workers: 2\n- machines: 5\n- overall duration: **9m 17s** (~41% improvement) 🏎️\n\n![currents-2025-04-28-16 39 34@2x](https://github.com/user-attachments/assets/206a87f1-3f1d-4bcd-bb96-88855acd455d)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcurrents-dev%2Fcurrents-playwright-orchestration-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcurrents-dev%2Fcurrents-playwright-orchestration-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcurrents-dev%2Fcurrents-playwright-orchestration-example/lists"}