Skip to content

refactor(storage): extract runner group cache store - #5355

Merged
edersonbrilhante merged 5 commits into
mainfrom
runner-group-cache-storage
Sep 8, 2026
Merged

refactor(storage): extract runner group cache store#5355
edersonbrilhante merged 5 commits into
mainfrom
runner-group-cache-storage

Conversation

@edersonbrilhante

@edersonbrilhante edersonbrilhante commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Description

Extracts runner-group cache access into the provider-neutral RunnerGroupCacheStore capability and adds the AWS SSM adapter. The control plane now asks the store to read or create the cached runner-group ID instead of importing SSM directly; SSM-specific parameter paths, tags, and AWS calls remain inside the adapter.

The adapter returns undefined only when the cache parameter is missing, propagates other AWS failures, preserves cache creation behavior and metadata, and rejects malformed cached IDs before they are used. Focused tests cover the not-found, AWS-error, invalid-ID, and tag paths.

Test Plan

  • Added SSM group-cache tests for not-found, AWS error, invalid ID, and tag behavior.
  • 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-group-cache-storage branch 4 times, most recently from 2e1cbeb to 5205369 Compare September 4, 2026 11:46
@edersonbrilhante
edersonbrilhante marked this pull request as ready for review September 7, 2026 13:53
@edersonbrilhante
edersonbrilhante requested a review from a team as a code owner September 7, 2026 13:53
guicaulada
guicaulada previously approved these changes Sep 8, 2026
Base automatically changed from refactor-runner-config-storage-provider to main September 8, 2026 14:29
@edersonbrilhante
edersonbrilhante force-pushed the runner-group-cache-storage branch from dbdc14c to fc0d3f6 Compare September 8, 2026 14:29
@edersonbrilhante
edersonbrilhante force-pushed the runner-group-cache-storage branch from fc0d3f6 to 13a4a21 Compare September 8, 2026 17:29
@edersonbrilhante
edersonbrilhante merged commit 7f09309 into main Sep 8, 2026
12 checks passed
@edersonbrilhante
edersonbrilhante deleted the runner-group-cache-storage branch September 8, 2026 19:42
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants