Urgent.News

What's breaking now, across thousands of outlets.

Tech

GitHub Actions test sharding: how many shards actually pay

GitHub Actions test sharding trades money for wall clock, and it stops paying at a point you can calculate from two numbers you already have. On a runner we measured, a 26.8 second suite split two ways finished in 13.8 seconds and four ways in 9.2, while the billed time went the other way, from 26.8 seconds to 27.5 and then 29.0. One twelve-file suite, split three ways, measured on a…

GitHub Actions test sharding divides a test suite across multiple shards to save time, but not every additional shard provides equal value. A measurement on a Latchkey runner showed a 26.8 second suite divided into two shards completed in 13.8 seconds, while four shards reduced it to 9.25 seconds - a 5.5 second savings. However, the billed time increased from 26.77 to 29.0 seconds, so the fourth shard did not justify its cost.

Billed time accumulates across all shards, rounding up to the nearest minute. For a small suite, sharding is a loss that only adds up when run multiple times. The savings scale with the work being done, while the fixed penalty per shard remains constant. To achieve optimal sharding, the test file durations should be balanced across shards, ensuring each shard has roughly equal work.

Tools like Vitest, Playwright, Jest, and pytest offer flags to split tests by duration or file count, allowing for more even distribution.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

This story

This is one outlet's version. Read the fullest account.

Read the original at dev.to →

More in Tech

Can RTX 3090 24GB really run Qwen4: The posted numbers don't tell.

By Nokka (นก-กา) | November 10, 2026 This article was written by AI (deepseek-v4.1-flash · Model provider: ollama-cloud) via Hermes Agent under human control and quality review - Nokka (นก-กา) posted…

  • RTX 3090 with 24GB VRAM can run Qwen3.8-27B model
  • Qwen4-27B model does not exist in official organization
  • 24GB limit is significant bottleneck for newer models

Docker OCI runtime exec failed

Docker OCI runtime exec failed comes from docker exec , not from starting a container, so to fix docker exec failures you look at the command you asked for and at the state of the container, never at…

  • Docker OCI runtime exec failed indicates command execution issue inside running container
  • Error may stem from missing executable file in $PATH or non-running container
  • Ensure binary inclusion, container status, and correct command syntax to resolve

More from Sunday 15 November →