Skip to content

Ensure oz_worker_tasks_max_concurrent is primed at startup.#88

Merged
vorporeal merged 1 commit into
mainfrom
david/ensure-max-concurrent-metric-is-primed-at-startup
Jun 18, 2026
Merged

Ensure oz_worker_tasks_max_concurrent is primed at startup.#88
vorporeal merged 1 commit into
mainfrom
david/ensure-max-concurrent-metric-is-primed-at-startup

Conversation

@vorporeal

@vorporeal vorporeal commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Description

Prime oz_worker_tasks_max_concurrent at metrics initialization so the series is available immediately, including when the worker uses the default unlimited concurrency value of 0. Normal startup still records the resolved worker configuration afterward; this adds defense-in-depth and regression coverage for the gauge.

Testing

  • go test ./internal/metrics

Co-Authored-By: Oz oz-agent@warp.dev

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@vorporeal vorporeal requested a review from seemeroland June 18, 2026 15:37
@vorporeal vorporeal marked this pull request as ready for review June 18, 2026 15:37
@vorporeal vorporeal merged commit 6e63dce into main Jun 18, 2026
8 checks passed
@vorporeal vorporeal deleted the david/ensure-max-concurrent-metric-is-primed-at-startup branch June 18, 2026 23:01
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.

2 participants