Skip to content

feat(storage): add runner config consumer - #5358

Draft
edersonbrilhante wants to merge 4 commits into
github-app-credentials-storagefrom
runner-config-consumer
Draft

feat(storage): add runner config consumer#5358
edersonbrilhante wants to merge 4 commits into
github-app-credentials-storagefrom
runner-config-consumer

Conversation

@edersonbrilhante

@edersonbrilhante edersonbrilhante commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Description

Adds the provider-neutral runner-config consumer and its AWS SSM implementation. The consumer polls the configured per-runner token path until a one-time JIT or registration configuration is available, applies bounded per-call and overall timeouts, and supports cancellation during polling and backoff.

After reading a configuration it deletes the consumed parameter with bounded retries, classifies retryable provider failures, validates the storage context and environment-derived limits, and exposes safe failure behavior to compute providers. The old environment-based factory remains as a deprecated compatibility alias while callers migrate to createRunnerConfigConsumer.

Test Plan

  • Added/updated consumer tests for polling, timeout, cancellation, retry, deletion, and error sanitization.
  • git diff --check passed.
  • Runtime Yarn tests could not be run locally because the repository's pinned Yarn launcher is unavailable in this environment; CI should provide the full test result.

Related Issues

@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@edersonbrilhante
edersonbrilhante force-pushed the runner-config-consumer branch 2 times, most recently from d1ece40 to 1c8ca59 Compare September 4, 2026 12:26
@edersonbrilhante edersonbrilhante added microvm javascript Pull requests that update Javascript code labels Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

javascript Pull requests that update Javascript code microvm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant