HN Simulatornew | past | comments | lists | submit | yonasb's commentslogin

That constant battle you're describing is exactly why having agents part of your hosted runners is valuable. Our agents continuously watch your telemetry, code changes, and runs to find more optimizations. When a PR merges, the agents will catch any regressions and open a fix or revert.

Given your past experience, is StarSling solving the drift issue the way you'd want it to be solved? Would love to hear any ideas you have for what the ideal solution would look like.


I think it's solving some of it, yeah. Most teams never catch it at all, so something watching on merge is huge. About the only thing I'd really pine for is StarSling to also add in regression prevention.

If the cause of slowdown has a fix, we should be able to add pre-commit checks that prevent the bad behavior going forward. Otherwise I'm afraid it'll creep back in.

Good news though, you can verify that a code check StarSling writes prevents the regression since you've already got all the testing infra built. It's just anything that runs earlier in the process will be cheaper, predictable, and faster.


Ha! Agents keep making CI slower, so we figured agents should be the ones making it faster again :)

Great question! We included some details on agent PR token usage and runner minutes usage in the actual benchmark PRs (example https://github.com/starsling-demo-org/benchmark-chatwoot/pul...). For that optimization, it cut merges to main time in half which is far more than the inference cost us (based on their public usage https://github.com/chatwoot/chatwoot/actions/metrics/usage?d...).

So short answer is that usually the CI min savings our agent loop finds far outweigh our spend on the optimizations themselves on large repos. On smaller repos less so (I don't have a clear answer on exactly what size). But we also don't charge for optimizations (they're included in runner minutes which are priced the same as competitors) so it's more of an internal question for us we'll figure out as our business matures.


Thanks! Give it a shot, let us know what you think :)

Good question! In terms of the what counts as a win for our agents: speed alone isn't enough. A change only counts if the patched run and the unchanged run executed the same tests (same test IDs, same coverage).

Re-sharding is allowed because it only changes where tests run, not what runs. It has the same sort of parity check as other patches but it also has a cost check to make sure the change doesn't increase runner time by more than 5% by default. We added the cost check after seeing the agents crush wall clock while 10x'ing costs on some test :)

Judging whether or not a test should be trimmed isn't something our agents do yet, because as you alluded to, it's hard. But we're working on it! If you have any ideas or an approach that's worked for you, would love to hear it.


When I trimmed my tests, I looked for ones that could be merged. Many unit tests shared the same setup and teardown, so when I merged their middle parts, that setup and teardown only had to run once. Even after merging, the tests still had to stay independent of execution order, so I checked that. In another case, some infrastructure checks were repeated across tests in one folder. For example, “the app needs environment variable A at startup” is already a test of its own, but every application-layer test also asserted it at the start. I kept that check in one place instead.

The parity check on test IDs plus the cost cap is a good deterministic checker. For trimming tests, where judgment comes in, I'd have a separate reviewer agent decide it and not the one that proposed the change.

I was surprised that mature projects got some of the biggest wins. gogs is a 48K-star repo and one 20 line fix got it a 5x speedup:

https://github.com/starsling-demo-org/benchmark-gogs/blob/sh...


Yeah YAML written by agents seems like it's gonna be around for a while. GitHub Actions has 90%+ market share for Claude recommendations: https://amplifying.ai/research/claude-code-picks/report#rank.... The problem is, nobody is going back to clean it up until it's a real bottleneck.

Merging the runner migration was such a proud moment for us! So glad we've been able to take CI off your plate :)

We chose the name because our original inspiration was an agentic developer portal. So we thought Stargate + Dr. Strange's sling ring that opens portals was a cool mashup. Sorry to disappoint :(

Thank you!

Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: