• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

99designs / gqlgen / 29413990978
0%
master: 0%

Build:
Build:
LAST BUILD BRANCH: runtime-configurable-worker-limit
DEFAULT BRANCH: master
Ran 15 Jul 2026 12:58PM UTC
Jobs 1
Files 0
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

15 Jul 2026 12:05PM UTC coverage: 0.0%. Remained the same
29413990978

Pull #4270

github

grzn
feat: make worker_limit configurable at runtime (startup and per-request)

exec.worker_limit was baked into generated code as a compile-time literal,
so the slice-marshalling concurrency limit could only be changed by editing
gqlgen.yml and regenerating. This adds runtime configuration.

Precedence: per-request override > server-wide default > codegen worker_limit.

- graphql.OperationContext gains a WorkerLimit *int64 field plus
  EffectiveWorkerLimit(codegenDefault) and SetWorkerLimit(limit) helpers.
- Executor/Server gain SetWorkerLimit(int64) for a server-wide default,
  copied into each OperationContext in CreateOperationContext.
- Per-request overrides can be set from an extension/middleware via
  graphql.GetOperationContext(ctx).SetWorkerLimit(n).
- codegen emits ec.EffectiveWorkerLimit(<worker_limit>) instead of the raw
  literal, keeping the YAML value as the fallback default.

Fully backward compatible: with nothing set EffectiveWorkerLimit returns the
codegen default, so behaviour is unchanged. MarshalSliceConcurrently's
signature is untouched.
Pull Request #4270: Make worker_limit configurable at runtime (startup and per-request)

0 of 0 relevant lines covered (NaN%)

0.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29413990978.1 15 Jul 2026 12:58PM UTC 0
0.0
GitHub Action Run
Source Files on build 29413990978
Detailed source file information is not available for this build.
  • Back to Repo
  • Pull Request #4270
  • PR Base - master (#29266267932)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc