Skip to content

Bound feature queries and make polling cancellable - #5

Draft
craffit wants to merge 2 commits into
masterfrom
otel-feature-query
Draft

craffit wants to merge 2 commits into
masterfrom
otel-feature-query

Conversation

@craffit

@craffit craffit commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Checks connection settings before use, and limits capability requests by time, retry count and response size (1 MiB). Supports rotating authentication, custom CA certificates and explicit proxies.

Feature polling waits a jittered interval, delivers successful and failed query outcomes, and cancels requests, retry waits and blocked delivery safely. The constructor and poller APIs intentionally break compatibility; hold the release until the Kubernetes RBAC agent adoption is ready.

Tracking: https://github.com/StackVista/stackstate/issues/587

Validation: focused race tests, full Go suite, gofmt and CI revive pass; revive reports warnings only in unchanged files.

@craffit

craffit commented Sep 14, 2026

Copy link
Copy Markdown
Contributor Author

Updated the description to explain the connection checks and request limits in plain language. No code changes.

@craffit craffit changed the title Add bounded Receiver feature queries Bound feature queries and make polling cancellable Sep 14, 2026
@craffit

craffit commented Sep 14, 2026

Copy link
Copy Markdown
Contributor Author

Added cancellable feature polling with delayed, jittered queries and delivery of successful and failed outcomes. Tests cover slow consumers, retry accounting, repeated stop and cancellation during HTTP, backoff, interval waits and blocked output. Focused race tests, the full Go suite and CI lint pass.

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