Skip to content

Commit fbbd9a4

Browse files
committed
ensure only one can run at a time
1 parent f80a98e commit fbbd9a4

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/scaling.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ name: Netcode Scaling Benchmark
66
# count are comparable across netcodes. Finally renders the cross-netcode tables and report.
77
#
88
# Runner budget per session: 1 server + measured_clients + ceil((size - measured) / loadgen_procs)
9-
# loadgen runners, e.g. size 100 = 1 + 10 + 4 = 15 runners. Every runner joins the tailnet as an
10-
# ephemeral device, so max_parallel x 15 must stay under the Tailscale device limit.
9+
# loadgen runners, e.g. size 100 = 1 + 10 + 8 = 19 runners. Every runner joins the tailnet as an
10+
# ephemeral device, so max_parallel x 19 must stay under the Tailscale device limit.
1111
#
1212
# Fusion's client count is capped by fusion_max_clients (Photon CCU plan). If Photon refuses a
1313
# connection the server proceeds with the clients it has after -connectTimeout, and the summary
@@ -70,6 +70,13 @@ on:
7070
required: false
7171
default: "1"
7272

73+
# The dedicated bench-server takes one session at a time: a second dispatch waits for the running
74+
# one to finish instead of starting alongside it. GitHub keeps one waiting run per group, so a third
75+
# dispatch replaces the waiting one.
76+
concurrency:
77+
group: netcode-scaling-bench
78+
cancel-in-progress: false
79+
7380
jobs:
7481
prep:
7582
name: Plan runs

0 commit comments

Comments
 (0)