Skip to content

ci: throttle integration test parallelism to reduce server overload#2311

Merged
cmgrote merged 3 commits intomainfrom
dependencies
Mar 11, 2026
Merged

ci: throttle integration test parallelism to reduce server overload#2311
cmgrote merged 3 commits intomainfrom
dependencies

Conversation

@cmgrote
Copy link
Collaborator

@cmgrote cmgrote commented Mar 11, 2026

Summary

  • Adds max-parallel: 8 to integration-test matrix to cap concurrent jobs
  • Sequences package-test and asset-import-test as wave 2 (after integration-test completes) via needs: integration-test
  • Adds max-parallel: 5 and max-parallel: 3 to package and asset-import jobs respectively
  • Uses if: always() && needs.build.result == 'success' so wave 2 still runs even when some integration tests fail

Motivation

Without limits, ~47 jobs run simultaneously against a single dev server, causing 403 (policy propagation too slow), 500 (server overload), and context deadline timeout errors. In run 22952102612, 39/62 jobs failed — re-running with no code changes showed more passing each time, confirming server overload as root cause.

Property Before After
Peak concurrent jobs ~47 8
Integration max-parallel unlimited 8
Package max-parallel unlimited 5
Asset-import max-parallel unlimited 3

Test plan

  • Trigger workflow via workflow_dispatch and confirm jobs run in two waves
  • Confirm no more than 8 concurrent jobs at any point
  • Monitor for reduction in 403/500 errors in failed job logs
  • If failures persist, reduce integration-test max-parallel to 5–6; if all pass reliably, try increasing to 10–12

🤖 Generated with Claude Code

cmgrote and others added 2 commits March 11, 2026 15:25
Consolidates updates from the following dependency PRs:
- #2304: Bump io.swagger.parser.v3:swagger-parser from 2.1.38 to 2.1.39
- #2303: Bump org.rocksdb:rocksdbjni from 10.4.2 to 10.5.1
- #2302: Bump awssdk from 2.42.8 to 2.42.10

Co-Authored-By: Claude <noreply@anthropic.com>
Add max-parallel limits and sequence package tests after integration
tests to prevent ~47 simultaneous jobs from overwhelming the dev server.

- integration-test: max-parallel 8
- asset-import-test: max-parallel 3, runs after integration-test
- package-test: max-parallel 5, runs after integration-test

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Chris (He/Him) <cgrote@gmail.com>
Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

Signed-off-by: Chris (He/Him) <cgrote@gmail.com>
@cmgrote cmgrote enabled auto-merge March 11, 2026 17:46
@cmgrote cmgrote merged commit 58635fa into main Mar 11, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant